But after running the code from above, I tried a loop with map.
I defined the arima models in a list.
When I run map using seas and arima model, It fails.
As you can check, I can run the seas command using regresion_list[[1]] or regresion_list[[2]].
But using map and the whole list regresion_list crashes.
...map.poly(database, regions, exact, xlim_tmp, ylim, boundary, :
no recognized region names
One exist is writing a loop, but I try to avoid them:
for (i in 1:2){
m_d<-seas(datos, arima.model = regresion_list[[i]])
print(m_d)
}
See {fpp3}, which has a complete set of tidy-friendly time series packages, including generating multiple models on the same data set. There’s also an accompanying online text. See Sec 5.1 for how to run multiple time series in the same model.
The book doesn't discuss about X13 and SEATS with many examples.
It shows how to perform a sarima model like I'd like, but not using X13 or X11.
Very good book by the way.