When to use it
You have a single variable observed in time order (equally spaced) and want to model its autocorrelation structure and forecast future values.
When not to: The series is dominated by a clean trend and/or seasonal cycle with little other structure (exponential smoothing is often simpler and just as accurate), you only want to see the trend/seasonal components themselves rather than a forecast (use STL decomposition), or you have not yet checked how well this kind of model actually forecasts out-of-sample (use the rolling-origin backtest before trusting the numbers here).
Step by step
Open it from the menu
Click Time Series in the menu bar; under Forecasting choose ARIMA Forecast.
Fill in the form
Choose the columns: Series over time, Dates or periods (optional). The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: AR order (p), Differencing (d), MA order (q), Forecast steps. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| Series over time Series required | One numeric column. The time-ordered numeric series to model |
|---|---|
| Dates or periods (optional) Period | One temporal or categorical or ordered categorical or numeric column. Optional date or period column (a date, 2023-01, Jan 2023, 2023Q1 or a year) that gives the series its calendar: used for the spacing check and the plot axis; it never changes the numbers. |
| AR order (p) | Number of autoregressive terms Default: 1. |
| Differencing (d) | Number of nonseasonal differences Default: 1. |
| MA order (q) | Number of moving-average terms Default: 1. |
| Forecast steps | How many future periods to forecast Default: 10. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Stationarity
If it does not hold: A non-stationary series (a trend or drifting variance that differencing has not removed) produces spurious-looking coefficients, an unreliable AIC/BIC comparison, and forecasts that can drift arbitrarily far from reality.
How to check: Not directly checked by KernelStats; only the degenerate extreme (an exactly constant series after d differences) is caught and refused; ordinary non-stationarity after the chosen d is left to the analyst to judge, typically by inspecting the series and its ACF/PACF before fitting.
- No (residual) autocorrelation
If it does not hold: Leftover autocorrelation in the residuals means the chosen (p,d,q) order hasn't captured all of the series' structure, which biases the forecast and understates its true uncertainty.
How to check: The Ljung-Box test on the post-startup residuals, reported directly on the card and matching R's Box.test to 4 decimals on a well-identified fit.
A worked example
90 months of sales data, fit with ARIMA(1,1,1) after one difference to remove a linear trend.
Result: AR(1) coefficient = 0.392, MA(1) coefficient = 0.428, sigma-squared = 0.999; AIC = 259.17, BIC = 266.64. The 10-step forecast starts at 88.92 (95% CI [86.96, 90.88]) and widens at longer horizons; Ljung-Box on the residuals gives chi-square(10) = 10.87, p = .368.
The Ljung-Box p-value is comfortably above .05, so this check finds no leftover autocorrelation the model failed to capture, a reassuring sign, but not proof the model is exactly right, and not a statement about forecast accuracy on new data. Before relying on the 10-step forecast, the honest next step is Forecast Backtest (Rolling-Origin) to see how this model actually performed out-of-sample historically.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- What will monthly sales look like over the next 10 periods?
- Explain the ARIMA forecast in plain words.
- What does stationarity mean?
Last reviewed November 16, 2026.
