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

Statsmodels Poisson Glm Different Than R

I am trying to fit some models (Spatial interaction models) according to some code which is provide… Read more Statsmodels Poisson Glm Different Than R

Anova Test For Glm In Python

I am trying to get the F-statistic and p-value for each of the covariates in GLM. In Python I am us… Read more Anova Test For Glm In Python

Evaluate Slope And Error For Specific Category For Statsmodels Ols Fit

I have a dataframe df with the following fields: weight, length, and animal. The first 2 are contin… Read more Evaluate Slope And Error For Specific Category For Statsmodels Ols Fit

Statsmodels -- Weights In Robust Linear Regression

I was looking at the robust linear regression in statsmodels and I couldn't find a way to speci… Read more Statsmodels -- Weights In Robust Linear Regression

Statsmodels Raises Typeerror: Ufunc 'isfinite' Not Supported For The Input Types

I am applying backward elimination using statsmodels.api and the code gives this error `TypeError: … Read more Statsmodels Raises Typeerror: Ufunc 'isfinite' Not Supported For The Input Types

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