7
$\begingroup$

I am using auto.arima() for prediction, and getting the following warning message. I want to know if I can ignore this warning message or if I should be worried.

Warning message:
In auto.arima(forecast_data_ts) :
Unable to fit final model using maximum likelihood. AIC value approximated

$\endgroup$
1
  • $\begingroup$ can you supply the data? $\endgroup$
    – DatamineR
    Commented Mar 9, 2014 at 1:36

2 Answers 2

6
$\begingroup$

It looks fine, auto.arima() tries many candidate models. One of them may have been dodgy.

The auto.arima() algorithm follows Hyndman & Khandakar (2008) Automatic time series forecasting (pdf), although the OCSB test is a new development. The algorithm tries different versions of p, q, P and Q and chooses the one with the smallest AIC, AICc or BIC. The choice of criterion depends on the which parameters you pass to the function. For some versions of p, q, P and Q, it may not be able to fit a model and hence you get that warning. However, a "good one" is selected.

You should also make sure that you have enough data, at least four years.

Some important checks:

  1. Does the model make sense? For example, if you have monthly retails sales, you will probably expect a seasonal model to be fit.
  2. How well does it forecast out of sample?
$\endgroup$
0
4
$\begingroup$

[I think this question should be placed on stackexchange]

You should try:

auto.arima(forecast_data_ts, approximation=FALSE,trace=FALSE)
$\endgroup$
1
  • $\begingroup$ Does it work now? $\endgroup$
    – DatamineR
    Commented Mar 9, 2014 at 14:07

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.