Skip to content Skip to sidebar Skip to footer
Showing posts with the label Statsmodels

Ols Of Statsmodels Does Not Work With Inversely Proportional Data?

I'm trying to perform a Ordinary Least Squares Regression with some inversely proportional data… Read more Ols Of Statsmodels Does Not Work With Inversely Proportional Data?

Why I Get Memoryerror When I Run Adf Test?

This is my Timeseries: data z_data zp_data time … Read more Why I Get Memoryerror When I Run Adf Test?

Ols Import Broken In Pandas; Easy_install Finds The Right Package But Fails For Some Reason

this may be a followup question from pandas ols import broken? I am on Python 2.7 and have the exac… Read more Ols Import Broken In Pandas; Easy_install Finds The Right Package But Fails For Some Reason

Statsmodels Arima: Constant Value For Each Forecast

I'm trying to use statsmodels' ARIMA to forecast a time series. I'm using sklearn'… Read more Statsmodels Arima: Constant Value For Each Forecast

How To Get R-squared For Robust Regression (rlm) In Statsmodels?

When it comes to measuring goodness of fit - R-Squared seems to be a commonly understood (and accep… Read more How To Get R-squared For Robust Regression (rlm) In Statsmodels?

Python Negative Binomial Regression - Results Don't Match Those From R

I'm experimenting with negative binomial regression using Python. I found this example using R,… Read more Python Negative Binomial Regression - Results Don't Match Those From R

Statsmodel Predict Start And End Indices

I am trying to implement the prediction function from statsmodel package prediction = results.predi… Read more Statsmodel Predict Start And End Indices

Why Can't I Import Statsmodels Directly?

I'm certainly missing something very obvious here, but why does this work: a = [0.2635,0.654654… Read more Why Can't I Import Statsmodels Directly?

Best Model For Variable Selection With Big Data?

I posted a question earlier about some code but now I realize I should be more broad with the gener… Read more Best Model For Variable Selection With Big Data?

Statsmodels With Partly Identified Model

I am trying to run a regression where only some of the coefficients can be identified: data = np.ar… Read more Statsmodels With Partly Identified Model

Non Invertible Of A Arima Model

I am trying to write a code to generate a series of arima model and compare different models.The co… Read more Non Invertible Of A Arima Model

Python Error: Len() Of Unsized Object While Using Statsmodels With One Row Of Data

I'm able to use the statsmodel's WLS (weighted least squares regression) fine when I have l… Read more Python Error: Len() Of Unsized Object While Using Statsmodels With One Row Of Data

Statsmodels Linear Regression - Patsy Formula To Include All Predictors In Model

Say I have a dataframe (let's call it DF) where y is the dependent variable and x1, x2, x3 are … Read more Statsmodels Linear Regression - Patsy Formula To Include All Predictors In Model

Python Statsmodel Arima Start [stationarity]

I just began working on time series analysis using statsmodels. I have a dataset with dates and val… Read more Python Statsmodel Arima Start [stationarity]

Weekday As Dummy / Factor Variable In A Linear Regression Model Using Statsmodels

The question: How can I add a dummy / factor variable to a model using sm.OLS()? The details: Data … Read more Weekday As Dummy / Factor Variable In A Linear Regression Model Using Statsmodels