statsmodels Questions

1

Solved

I'm struggling with forecasting out of sample values with an ARMAX model. Fitting the model works fine. armax_mod31 = sm.tsa.ARMA(endog = sales, order = (3,1), exog = media).fit() armax_mod31.fi...
Gorham asked 10/9, 2013 at 14:24

1

Solved

I tried to calculate logical regression. I have the data as csv file. it looks like node_id,second_major,gender,major_index,year,dorm,high_school,student_fac 0,0,2,257,2007,111,2849,1 1,0,2,271,2...
Newberry asked 14/6, 2013 at 9:19

2

Solved

I am trying to learn an ordinary least squares model using Python's statsmodels library, as described here. sm.OLS.fit() returns the learned model. Is there a way to save it to the file and reload...
Buhrstone asked 7/5, 2013 at 8:53

2

Solved

I'm not sure why I'm getting slightly different results for a simple OLS, depending on whether I go through panda's experimental rpy interface to do the regression in R or whether I use statsmodels...
Nashner asked 15/7, 2012 at 19:44

3

Solved

I need some advice on selecting statistics package for Python, I've done quite some search, but not sure if I get everything right, specifically on the differences between statsmodels and sci...
Consummate asked 29/1, 2013 at 0:28

2

Solved

I'm building a WLS (statsmodels.formula.api.wls) model using the statsmodels formulas API (from patsy) and I'm using interactions between factors. Some of these are predictive whereas others are no...
Aphasic asked 21/12, 2012 at 16:37

1

Solved

I have been using ECDF (empirical cumulative distribution function) from statsmodels.distributions to plot a CDF of some data. However, ECDF uses a step function and as a consequence I get jagged-l...
Durfee asked 22/12, 2012 at 20:56

1

I am trying to use python to compute multiple linear regression and multiple correlation between a response array and a set of arrays of predictors. I saw the very simple example to compute multipl...
Schwinn asked 19/11, 2012 at 10:56

1

Solved

I've been learning Python for several months but now finding some problems with my 2.7 installation as I've looked into modules such as nltk. However, when I want to list modules using help ("...
Maize asked 9/10, 2012 at 7:24

1

I want to forecast timeseries data. I read in previous posts that module statsmodels has the required tool for using ARMA method for forecasting which is exactly the one I have been looking for. In...
Lassa asked 9/9, 2012 at 20:23

1

I am trying to run a Augmented Dickey-Fuller test in statsmodels in Python, but I seem to be missing something. This is the code that I am trying: import numpy as np import statsmodels.tsa.statto...
Queston asked 29/6, 2012 at 16:25

© 2022 - 2024 — McMap. All rights reserved.