- Introduced by
- Box & Jenkins (seasonal extension of ARIMA)
- Year
- 2015
- Type
- Seasonal time-series model
What does it do?
SARIMA is a seasonal extension of the Box-Jenkins ARIMA model.
It adds seasonal differencing and seasonal autoregressive and moving-average terms to the ordinary ones, so it can forecast series whose pattern repeats over a fixed period, such as yearly, monthly or weekly. The standard exposition of the framework is in Box, Jenkins, Reinsel and Ljung (5th edition, 2015).
The intuition behind the method
Many time series do two things at once: they drift along a trend and they repeat a pattern every season. Sales peak each December, and electricity demand swings each summer. SARIMA is built to handle both. It first differences the series at the ordinary lag, to remove trend, and at the seasonal lag, to remove the repeating pattern, which leaves a series that is roughly stationary. The model then lets recent values and the value from the same point in the previous season predict the present, combining short-term momentum with the seasonal rhythm.
History
SARIMA is the seasonal generalisation of the ARIMA models associated with Box and Jenkins. The approach is set out in the reference Time Series Analysis: Forecasting and Control (Box, Jenkins, Reinsel & Ljung, 5th edition, 2015), and Hyndman and Athanasopoulos's Forecasting: Principles and Practice also covers it. The 2015 date refers to that edition rather than to the origin of the model.
When to use it
Use SARIMA for a single continuous time series that shows a clear seasonal cycle of known period (for example 12 for monthly data with yearly seasonality, or 7 for daily data with weekly seasonality), and when the goal is forecasting or prediction. It needs a reasonably long history spanning several complete seasons so that the seasonal structure can be estimated. As a rough guide, about 48 observations or more is preferable, but this is a rule of thumb rather than a hard cut-off. The series must be made stationary, which seasonal and ordinary differencing usually achieve, the seasonal period must be known in advance, and the model residuals should behave like independent noise. It is not the right tool when there is no seasonality, when external predictors drive the series (use SARIMAX), or when the history is too short to reveal a stable seasonal pattern.
Limitations and considerations
- Seasonal terms are estimated from how the series behaves across whole seasons, so the history must cover several complete seasons for stable estimates. As a rough guide, about 48 observations or more is preferable, but this is a rule of thumb rather than a hard cut-off.
- The seasonal period s is fixed in advance and the model assumes the seasonal pattern is roughly constant over the sample; a pattern that drifts or changes shape is not captured.
- The space of orders (p, d, q)(P, D, Q) is large, and choosing among candidates requires judgement. Residual autocorrelation after fitting indicates that the chosen orders do not capture the dependence in the series, which means the forecasts and their intervals should be treated with caution.
- Prediction intervals are derived under distributional assumptions: the innovations are assumed to be approximately normal and uncorrelated. Before relying on the intervals, check the residuals for normality and remaining autocorrelation. If these assumptions fail, interval coverage can be poor, and the intervals may be too narrow or too wide.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- The seasonal differencing and the seasonal AR and MA terms sit at lag s, so a few seasonal parameters can capture a repeating cycle that a non-seasonal ARIMA would only partly absorb.
- The multiplicative form combines short-run dependence and seasonal dependence in one model, so both can be estimated jointly rather than through separate ad hoc adjustments.
- For a single series with no external regressors, it produces forecasts with prediction intervals from a fitted probability model, so the forecast uncertainty can be quantified, provided the distributional assumptions noted under limitations are reasonably met.
Applications
- Forecasting monthly or quarterly economic and business series with strong yearly seasonality, such as retail sales or tourism demand.
- Predicting utility and energy demand that cycles with the season or week.
- Modelling and forecasting any single continuous series whose pattern repeats over a known period.
How it works
How it works
The series is written with non-seasonal autoregressive and moving-average polynomials (orders p and q) and seasonal polynomials at lag s (orders P and Q). Ordinary differencing (order d) and seasonal differencing (order D) are applied through the backshift operator B. Differencing removes the trend and the recurring seasonal pattern so that the transformed series is stationary. The AR and MA polynomials then describe how each value depends on its recent neighbours and on the values at the same position in previous seasons.
Formula
\Phi_P(B^s)\,\phi_p(B)\,(1-B)^d(1-B^s)^D\,y_t = \Theta_Q(B^s)\,\theta_q(B)\,\varepsilon_t
Once the orders (p, d, q)(P, D, Q) with seasonal period s are chosen, the autoregressive and moving-average parameters are estimated. When MA terms are present, the estimates are obtained by maximum likelihood, that is, as the parameter values that maximise the log-likelihood of the observed series. Maximum likelihood is needed in this case because the lagged innovations are unobservable, so no explicit estimating formula exists. For purely autoregressive specifications, ordinary least squares is a possible alternative. Candidate orders are compared with information criteria, and the residuals are checked for remaining autocorrelation before the fitted model is used for forecasting.
Formula
\hat{\theta} = \arg\max_{\theta}\; \log L(\theta \mid y_1,\dots,y_T)Common pitfalls
- Fitting SARIMA to a series that is too short to show a stable seasonal cycle, which yields unreliable seasonal estimates.
- Over-differencing by applying both ordinary and seasonal differences when fewer are needed, which inflates the variance of the forecasts.
- Skipping residual diagnostics such as the Ljung-Box test and using forecasts while autocorrelation remains in the residuals.
- Applying SARIMA to a series whose movements are driven mainly by external variables, where SARIMAX, which adds regressors, would be the more suitable model.
Frequently asked questions
How is SARIMA different from ARIMA?
ARIMA models trend and short-term dependence but not recurring seasonal patterns. SARIMA adds seasonal differencing and seasonal AR/MA terms at the seasonal lag s, so it can capture cycles that repeat every year, month, or week on top of the ordinary dynamics.
What is the seasonal period s and how do I choose it?
s is the number of steps in one full seasonal cycle: 12 for monthly data with yearly seasonality, 4 for quarterly data, or 7 for daily data with a weekly cycle. It must be known and specified in advance from the nature of the data.
How much data does SARIMA need?
The history should cover several complete seasons, because the seasonal terms are estimated from how the series behaves across whole cycles. As a rough rule of thumb, about 48 observations or more is preferable, but this is a guide rather than a strict minimum. Shorter series give unstable seasonal estimates.
When should I use SARIMAX instead?
Use SARIMAX when external (exogenous) variables — holidays, economic indicators, or policy changes — help explain the series. SARIMAX adds those regressors to the SARIMA structure; plain SARIMA models the series from its own past alone.
Related methods
Sources
Box, G.E.P., Jenkins, G.M., Reinsel, G.C. & Ljung, G.M. (2015). Time Series Analysis: Forecasting and Control (5th ed.). Wiley.
ISBN: 978-1118675021Hyndman, R.J. & Athanasopoulos, G. (2021). Forecasting: Principles and Practice (3rd ed.). OTexts.
ISBN: 978-0987507136Computer-Aided Introduction to Econometrics, p. 257-258