modifications to the stock time series to fix r-squared