1 min readJul 24, 2020
more details: A rolling forecast is required given the dependence on observations in prior time steps for differencing and the AR model. A crude way to perform this rolling forecast is to re-create the ARIMA model after each new observation is received.
We manually keep track of all observations in a list called history that is seeded with the training data and to which new observations are appended each iteration.