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