Импорт statsmodels.api как sm
import statsmodels.api as sm
model = OLS(X,y)
Cruel Copperhead
import statsmodels.api as sm
model = OLS(X,y)