Skip to content

Instantly share code, notes, and snippets.

@KhyatiMahendru
Created June 20, 2019 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KhyatiMahendru/10a7d39b3d7b448a889578df0ae46be2 to your computer and use it in GitHub Desktop.
Save KhyatiMahendru/10a7d39b3d7b448a889578df0ae46be2 to your computer and use it in GitHub Desktop.
import statsmodels.api as sm
model = sm.OLS(y, X[:, 4]).fit()
model.summary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment