Skip to content

Instantly share code, notes, and snippets.

@khyatimahendru
Created June 20, 2019 10:56
Show Gist options
  • Select an option

  • Save khyatimahendru/10a7d39b3d7b448a889578df0ae46be2 to your computer and use it in GitHub Desktop.

Select an option

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