By default, step-wise selection is used for the model search. You can see what models that auto.arima()
tried using trace=TRUE
. The models are selected on AICc by default.
forecast::auto.arima(anchovy, trace=TRUE)
##
## ARIMA(2,1,2) with drift : 4.765453
## ARIMA(0,1,0) with drift : 0.01359746
## ARIMA(1,1,0) with drift : -0.1662165
## ARIMA(0,1,1) with drift : -3.647076
## ARIMA(0,1,0) : -1.554413
## ARIMA(1,1,1) with drift : Inf
## ARIMA(0,1,2) with drift : Inf
## ARIMA(1,1,2) with drift : 1.653078
## ARIMA(0,1,1) : -1.372929
##
## Best model: ARIMA(0,1,1) with drift
## Series: anchovy
## ARIMA(0,1,1) with drift
##
## Coefficients:
## ma1 drift
## -0.6685 0.0542
## s.e. 0.1977 0.0142
##
## sigma^2 estimated as 0.04037: log likelihood=5.39
## AIC=-4.79 AICc=-3.65 BIC=-1.13