Skip to content

epow2018/Python-Stepwise-Regression

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Python-Stepwise-Regression

Currently Statmodels package in python doesn't have stepwise regression, so i thought why not we create it. I have implemented using AIC and BIC and it has been motivated from http://trevor-smith.github.io/stepwise-post/.

Idea is to build like R-Stepwise having null and full models formula.

I have also added complete example in code.py using test_data.csv . Here dependent variable is "OS_MONTHS" and we can change it based on dataset.

About

R-Like Stepwise Regression

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%