3

I would like to use ARIMAResults class for ARIMA modeling. Can anyone cite the differences between the normal ARIMA class and the ARIMAResults class? Also, can someone help me in doing ARIMAResults by giving an example? I have a set of data and have to fit the ARIMA model and predict the values.

1 Answer 1

5

The ARIMAResults class is not directly for users. The results classes are returned by the fit method and hold the relevant results and tests. These are ARMA models, but the same workflow applies.

http://statsmodels.sourceforge.net/devel/examples/notebooks/generated/tsa_arma_0.html http://statsmodels.sourceforge.net/devel/examples/notebooks/generated/tsa_arma_1.html

Sign up to request clarification or add additional context in comments.

4 Comments

yeah i understand this. But where do i possibly include ARIMAResults class. Is it after fitting the model using ARIMA.fit()?? should i give the fitted values as input to the ARIMAResults class ??
I'm not sure you do understand, or perhaps I'm not being clear. You don't do anything with the ARIMAResults class. You get it automatically back when you call the fit method of the model. See the examples I posted. Look at the returned type of the object returned from fit.
Got it.. thank u so much.. I thought we can explicitely use the ARIMAResults class. Only now understood that it automatically gets called by the fit method, (if i am right). Thank a lot again..
Yes, you could do this. It might be better to assign the result returned to fit to a variable, so you can re-use it though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.