# Warning message in auto.arima

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

• can you supply the data? Mar 9 '14 at 1:36

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?

[I think this question should be placed on stackexchange]

You should try:

auto.arima(forecast_data_ts, approximation=FALSE,trace=FALSE)

• Does it work now? Mar 9 '14 at 14:07