Overview
As a final step in the analysis, we will use Regression Analysis to try to estimate the realtionship between the difference between the price and the moving average, and the next days return.
The following script uses the ols regression library to run the regression.
Regression App
The OLS Regression app can also be used to run the regression within a graphical user environment.