Predicting the Behavior of the Universe with Statistical Mechanics