Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sm.tsa.ARMA(..., order=(p,q)) gives "__init__() got an unexpected keyword argument 'order'" error #869

Closed
ssstuvz opened this issue Jun 14, 2013 · 2 comments

Comments

@ssstuvz
Copy link

ssstuvz commented Jun 14, 2013

Hi, I have just installed statsmodels from macports.
The version is 0.4.3 according to the sm.version.full_version
I was trying to run the example of ARMA from "http://statsmodels.sourceforge.net/devel/examples/generated/ex_arma2.html" and got an error
"init() got an unexpected keyword argument 'order'" when trying to use sm.tsa.ARMA(y, order=(2,2))

@josef-pkt
Copy link
Member

The order keyword requires a recent master of statsmodels, this was changed after the release of 0.4.3

The documentation is for devel not for stable
http://statsmodels.sourceforge.net/stable/examples/generated/ex_arma2.html

It's better to install current master, since there were some changes to ARMA, and some bug fixes related to time index handling and forecasting.

@ssstuvz
Copy link
Author

ssstuvz commented Jun 16, 2013

Hi Josef, thanks for reply,

Ok, now everything works.
However, INSTALL.txt is still a bit confusing. As discussed in #821 would be nice to add a line about "setup.py build_ext --inplace"

@ssstuvz ssstuvz closed this as completed Jun 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants