# NOT RUN {
# Manual ARIMA specification
USAccDeaths %>% as_tsibble %>%
model(arima = ARIMA(log(value) ~ pdq(0,1,1) + PDQ(0,1,1)))
# Automatic ARIMA specification
tsibbledata::UKLungDeaths %>%
model(arima = ARIMA(log(mdeaths) ~ pdq(0,1,1) + PDQ(0,0,1) +
fdeaths + fourier(K=4)))
# }
Run the code above in your browser using DataLab