Top "Statsmodels" questions

Statsmodels is a Python module that allows users to explore data, estimate statistical models, and perform statistical tests.

How to get the P Value in a Variable from OLSResults in Python?

The OLSResults of df2 = pd.read_csv("MultipleRegression.csv") X = df2[['Distance', 'CarrierNum', 'Day', 'DayOfBooking']] Y = df2['Price'] X = add_…

python linear-regression statsmodels
AttributeError: module 'statsmodels.formula.api' has no attribute 'OLS'

I am trying to use Ordinary Least Squares for multivariable regression. But it says that there is no attribute 'OLS' …

python machine-learning linear-regression statsmodels
ValueError: endog must be in the unit interval

While using statsmodels, I am getting this weird error: ValueError: endog must be in the unit interval. Can someone give …

python regression statsmodels
ValueError: You must specify a freq or x must be a pandas object with a timeseries index

I have two numpy arrays light_points and time_points and would like to use some time series analysis methods …

python python-2.7 datetime pandas statsmodels
Pandas Dataframe AttributeError: 'DataFrame' object has no attribute 'design_info'

I am trying to use the predict() function of the statsmodels.formula.api OLS implementation. When I pass a new …

python pandas scipy pickle statsmodels
Predicting on new data using locally weighted regression (LOESS/LOWESS)

How to fit a locally weighted regression in python so that it can be used to predict on new data? …

python python-3.x pandas statsmodels
What statistics module for python supports one way ANOVA with post hoc tests (Tukey, Scheffe or other)?

I have tried looking through multiple statistics modules for Python but can't seem to find any that support one-way ANOVA …

python statistics scipy ipython statsmodels
ValueWarning: No frequency information was provided, so inferred frequency MS will be used

I try to fit Autoregression by sm.tsa.statespace.SARIMAX. But I meet a warning, then I want to set …

python pandas frequency statsmodels
Python 2.7 - statsmodels - formatting and writing summary output

I'm doing logistic regression using pandas 0.11.0(data handling) and statsmodels 0.4.3 to do the actual regression, on Mac OSX Lion. I'm …

python python-2.7 pandas statsmodels
Converting statsmodels summary object to Pandas Dataframe

I am doing multiple linear regression with statsmodels.formula.api (ver 0.9.0) on Windows 10. After fitting the model and getting the …

python pandas statsmodels