How to use linear regression to predict returns

The notebook linear_regression.ipynb contains examples for the prediction of stock prices using OLS with statsmodels and sklearn, as well as ridge and lasso models. It is designed to run as a notebook on the Quantopian research platform and relies on the factor_library introduced in Chapter 4Alpha Factors Research.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.191.22