- Import
arima_model
fromstatsmodels
- Use
pmdarima
to run crossvaliation
Delevop model using the following steps:
- Run an augmented Dickey-Fuller test
- Run
autoarima
to select the what model to use (i.e. order of each ARIMA terms) - Train the model
- Call
model.summary()
to check for training summary - Forecast into the future
- Here recall that the model will predict well the mean but not the noise