Using the past to predict the future