Using regression to predict the future prices of a stock