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

Patsy Formula When Variable Has A Hypthen

I am trying to use the statsmodel linear regression functions with formulas. My sample data is comi… Read more Patsy Formula When Variable Has A Hypthen

Calculating Scale/dispersion Of Gamma Glm Using Statsmodels

I'm having trouble obtaining the dispersion parameter of simulated data using statsmodels' … Read more Calculating Scale/dispersion Of Gamma Glm Using Statsmodels

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?

Armax Model Forecasting Leads To "valueerror: Matrices Are Not Aligned" When Passing Exog Values

I'm struggling with forecasting out of sample values with an ARMAX model. Fitting the model wor… Read more Armax Model Forecasting Leads To "valueerror: Matrices Are Not Aligned" When Passing Exog Values

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

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?

Python Out Of Sample Forecasting Arima Predict()

Does statsmodels.api.tsa.ARIMA(mylist, (p,d,q)).fit().predict(start, end) only work for d=0?... myL… Read more Python Out Of Sample Forecasting Arima Predict()

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