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

Namespace Issues When Calling Patsy Within A Function

I am attempting to write a wrapper for the statsmodels formula API (this is a simplified version, t… Read more Namespace Issues When Calling Patsy Within A Function

How Exactly Bic In Augmented Dickey–fuller Test Work In Python?

This question is on Augmented Dickey–Fuller test implementation in statsmodels.tsa.stattools python… Read more How Exactly Bic In Augmented Dickey–fuller Test Work In Python?

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?

How To Add Regression Functions In Python, Or Create A New Regression Function From Given Coefficients?

I have one regression function, g1(x) = 5x - 1 for one data point. I have another regression functi… Read more How To Add Regression Functions In Python, Or Create A New Regression Function From Given Coefficients?

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

Automatically Select Lags For Autoregression Model Statsmodels

In statsmodels v0.10.1 there was no need to choose the number of lags in Autoregressive AR(p) model… Read more Automatically Select Lags For Autoregression Model Statsmodels

Predict Statsmodel Argument Error

I am trying to predict outofsample values for an array. Python code: import pandas as pd import nu… Read more Predict Statsmodel Argument Error

Plot Mixed Effect Model Results By Group In Python

I'm using a Mixed effect model with statsmodel in python and I cannot find a way to plot the re… Read more Plot Mixed Effect Model Results By Group In Python