Stepwise Regression in Python

后端 未结 7 970
青春惊慌失措
青春惊慌失措 2020-12-24 14:26

How to perform stepwise regression in python? There are methods for OLS in SCIPY but I am not able to do stepwise. Any help in this regard

7条回答
  •  盖世英雄少女心
    2020-12-24 14:47

    Statsmodels has additional methods for regression: http://statsmodels.sourceforge.net/devel/examples/generated/example_ols.html. I think it will help you to implement stepwise regression.

提交回复
热议问题