Closed robjhyndman closed 5 years ago
The roots of the 'best' model are too close to the boundary, giving an infinite ic
in the auto.arima
model selection procedure.
library(forecast)
fit <- auto.arima(fma::condmilk, stepwise = FALSE, approximation = FALSE)
fit %>% autoplot()
min(abs(forecast:::arroots(fit)$roots))
#> [1] 1.287523
min(abs(forecast:::maroots(fit)$roots)) # Only just passes the >1.01 threshold
#> [1] 1.013105
fit <- Arima(fma::condmilk, order=c(1,0,0), seasonal=c(0,1,1))
fit %>% autoplot()
min(abs(forecast:::arroots(fit)$roots))
#> [1] 1.282132
min(abs(forecast:::maroots(fit)$roots)) # Fails the >1.01 threshold
#> [1] 1.00732
Created on 2019-05-15 by the reprex package (v0.2.1)
Created on 2019-05-15 by the reprex package (v0.2.1)