Is there some python packages that helps to do statistical linear regression? For example, I hope such program could do something like automatically performing different types of statistical tests (t-test, F-test etc.) and then automatically removes redundant variable etc., correct for heteroskedasticity etc.. Or is LASSO just the best?
Asked
Active
Viewed 158 times
0
-
1Scikit-learn and scipy should be good places to start. – R Balasubramanian Jun 25 '18 at 14:05
1 Answers
1
You can perform and visualize linear regression in Python with a wide array of packages like: scipy, statsmodels and seaborn. LASSO is available through statsmodels as described here. When it comes to automated approches to linear regresssion analysis you could start with Forward Selection with statsmodels that was described in an answer in the post Stepwise Regression in Python.

vestland
- 55,229
- 37
- 187
- 305