Factor Out Common Terms In Statistics