Overview
The typical way to use regression to analyze an indicator, is to run a regression of the next periods return against the value of the indicator in today's period. For this, we build a simple script that will calculate the forward looking and backward looking returns and append them to the dataset.
Next Steps
Finally, we will run a regression of the forward return against the indicator.