ARIMA Models in R
David Stoffer
Professor of Statistics at the University of Pittsburgh
The model describes how the dynamics of the time series behave over time
Forecasting simply continues the model dynamics into the future
Use sarima.for()
to forecast in the astsa-package
oil <- window(astsa::oil, end = 2006) oilf <- window(astsa::oil, end = 2007) sarima.for(oil, n.ahead = 52, 1, 1, 1)
lines(oilf)
ARIMA Models in R