Manipulate the backshift operator \(B\) to express non-seasonal and seasonal differences concisely.
Write and expand the general multiplicative \(\text{SARIMA}(p, d, q)(P, D, Q)_m\) equation, including all multiplicative cross-terms.
Distinguish how the constant term \(c\) acts as an intercept (\(d + D = 0\)), a deterministic linear drift (\(d + D = 1\)), or a polynomial trend (\(d + D \ge 2\)).
Match algebraic backshift equations to fable::ARIMA() parameter estimates and sign conventions.
1. Backshift Operator Rules
The backshift (lag) operator \(B\) shifts a time series backward by one period: \(B y_t = y_{t-1}\). Applying \(B\) repeatedly satisfies ordinary polynomial algebra:
Powers of \(B\):\(B^k y_t = y_{t-k}\) and \(B^j (B^k y_t) = B^{j+k} y_t\), while \(B c = c\) for any constant \(c\).
First difference:\(\nabla y_t = (1 - B) y_t = y_t - y_{t-1}\).
This algebraic shorthand lets us build arbitrarily rich non-stationary and seasonal models simply by multiplying polynomials in \(B\).
2. The General Multiplicative SARIMA Model
A multiplicative seasonal ARIMA model, denoted \(\text{SARIMA}(p, d, q)(P, D, Q)_m\), couples a non-seasonal \(\text{ARIMA}(p, d, q)\) structure with a seasonal \(\text{ARIMA}(P, D, Q)_m\) structure at period \(m\) (such as \(m = 4\) for quarterly or \(m = 12\) for monthly data):
Watch the signs carefully: AR terms carry minus signs inside \(\phi(B)\) and \(\Phi(B^m)\) so they move to the right-hand side with plus signs, whereas MA terms carry plus signs inside \(\theta(B)\) and \(\Theta(B^m)\).
Worked Algebraic Expansions
Example A: \(\text{ARIMA}(1, 1, 1)\) with constant \(c\).
\[
(1 - \phi_1 B)(1 - B) y_t = c + (1 + \theta_1 B)\varepsilon_t.
\]
Expanding \((1 - \phi_1 B)(1 - B) = 1 - (1 + \phi_1)B + \phi_1 B^2\) and solving for \(y_t\) gives:
Notice that the coefficient on \(\varepsilon_{t-5}\) is the product\(\theta_1 \Theta_1\), not zero. Multiplicative SARIMA captures seasonal-by-short-run interaction without estimating an extra free parameter.
Example C: The Airline Model, \(\text{SARIMA}(0, 1, 1)(0, 1, 1)_{12}\) (\(c = 0\)).
3. Intercept vs. Drift: The Role of the Constant \(c\)
The meaning of \(c\) in \(\phi(B)\Phi(B^m)(1 - B)^d(1 - B^m)^D y_t = c + \theta(B)\Theta(B^m)\varepsilon_t\) changes fundamentally with the total differencing order \(d + D\):
Table 1: Interpretation of the constant \(c\) by total differencing order \(d + D\).
Total Differencing
Role of Constant \(c\)
Long-Run Forecast Path
Default in fable::ARIMA()
\(d + D = 0\)
Sets stationary mean \(\mu = \dfrac{c}{\phi(1)\Phi(1)}\)
Flat mean reversion to \(\mu\)
Included (1) by default
\(d + D = 1\)
Generates a linear drift with slope \(\delta = \dfrac{c}{\phi(1)\Phi(1)}\) per period (\(d=1\)) or per season (\(D=1\))
Linear trend
Tested automatically (include 1 or 0 to force)
\(d + D \ge 2\)
Generates a quadratic or higher-degree polynomial trend
Explosive curvature
Omitted (0) by default to avoid risky extrapolation
In fable::ARIMA(), the reported constant term is directly \(c\) from the backshift equation above (unlike base R stats::arima(), which reports the unconditional mean \(\mu\) under the label intercept when \(d = D = 0\)).
4. Verifying Backshift Equations Against fable::ARIMA()
We fit both the classic Airline Model (\(d + D = 2\), so \(c = 0\)) and a seasonal-difference model with drift (\(d = 0, D = 1\), \(c \neq 0\)) to log(AirPassengers) and verify the exact numerical equations.
ap <-as_tsibble(AirPassengers)fit_ap <- ap |>model(airline =ARIMA(log(value) ~0+pdq(0, 1, 1) +PDQ(0, 1, 1)),ar1ma1_drft =ARIMA(log(value) ~1+pdq(1, 0, 1) +PDQ(0, 1, 1)) )tidy(fit_ap) |>select(.model, term, estimate, std.error, p.value) |>fmt_tbl(digits =4, caption ="Estimated parameters for two SARIMA models on log(AirPassengers).")
Estimated parameters for two SARIMA models on log(AirPassengers).
.model
term
estimate
std.error
p.value
airline
ma1
-0.4018
0.0896
0.0000
airline
sma1
-0.5569
0.0731
0.0000
ar1ma1_drft
ar1
0.9017
0.0469
0.0000
ar1ma1_drft
ma1
-0.3324
0.1039
0.0017
ar1ma1_drft
sma1
-0.5561
0.0754
0.0000
ar1ma1_drft
constant
0.0116
0.0010
0.0000
For the Airline Model, \(\hat{\theta}_1 = -0.4018\) and \(\hat{\Theta}_1 = -0.5569\), so the multiplicative cross-term is \(\hat{\theta}_1 \hat{\Theta}_1 = (-0.4018)(-0.5569) = +0.2238\). Substituting into the expanded equation gives:
For ar1ma1_drft (\(d = 0, D = 1\)), the estimated constant is \(\hat{c} = 0.0116\) and \(\hat{\phi}_1 = 0.9016\), implying an average annual log-growth drift of \(\hat{\delta} = \hat{c} / (1 - \hat{\phi}_1) = 0.0116 / (1 - 0.9016) \approx 0.118\) (roughly 12% per year), matching the observed year-over-year growth rate! We confirm this numerically and compare the 36-month forecasts of both models.
fit_ap |>forecast(h ="3 years") |>anchor_fc(ap) |>autoplot(ap, level =80) +labs(title ="AirPassengers: Airline Model vs. Seasonal Difference with Drift",subtitle =TeX(r"(80% intervals: wider long-run uncertainty under $d + D = 2$ than $d + D = 1$)"),x =NULL, y ="Monthly passengers (thousands)",color ="Model", fill ="Model" )
Figure 1: Three-year forecasts of AirPassengers from the Airline Model (d+D=2, stochastic trend) and SARIMA(1,0,1)(0,1,1)_12 with deterministic drift (d+D=1, c != 0).
Notice how airline (\(d + D = 2\)) produces visibly wider 80% prediction intervals at longer horizons than ar1ma1_drft (\(d + D = 1\)), because integrating white noise twice allows the forecast slope itself to evolve randomly rather than staying fixed at a constant drift.
Practice Exercises
Exercise 1. Expand each model completely in terms of \(y_t\), its lags, \(\varepsilon_t\), and its lags, identifying every cross-term:
\(\text{SARIMA}(1, 1, 0)(1, 0, 0)_4\) with \(c = 0\)
\(\text{SARIMA}(0, 0, 1)(0, 1, 1)_{12}\) with constant \(c \neq 0\)
Solution
\((1 - \phi_1 B)(1 - \Phi_1 B^4)(1 - B) y_t = \varepsilon_t\). First expand \((1 - \phi_1 B)(1 - B) = 1 - (1 + \phi_1)B + \phi_1 B^2\), then multiply by \((1 - \Phi_1 B^4)\):
Here \(d + D = 1\), so \(c\) acts as a deterministic annual drift (increasing each month’s level by \(c\) per year), and the multiplicative MA cross-term appears at lag 13 with coefficient \(\theta_1 \Theta_1\).
Exercise 2. Fit ARIMA(log(value) ~ 1 + pdq(0, 0, 1) + PDQ(0, 1, 1)) to as_tsibble(AirPassengers). Count the estimated dynamic parameters, verify that constant equals the average annual log-difference, and check what happens when you fit ARIMA(log(value) ~ 1 + pdq(0, 1, 1) + PDQ(0, 1, 1)) (\(d + D = 2\) with a forced constant).
In D1_drift (\(p = P = 0\)), \(\phi(1)\Phi(1) = 1\), so constant = 0.1204 closely matches the sample mean annual log-difference (0.1198), alongside 2 dynamic MA parameters (ma1, sma1). In D2_const (\(d + D = 2\)), forcing 1 estimates a quadratic-trend constant (-0.0002, \(p = 0.868\)) that is statistically indistinguishable from zero while triggering a fable warning against polynomial extrapolation.
Key Takeaways
Backshift algebra turns differencing and seasonal lags into polynomial multiplication: \((1 - B)(1 - B^m) = 1 - B - B^m + B^{m+1}\) and \((1 - B)^2 = 1 - 2B + B^2\).
Multiplicative \(\text{SARIMA}(p, d, q)(P, D, Q)_m\) naturally generates lag cross-terms (such as \(\theta_1 \Theta_1 \varepsilon_{t-m-1}\)) using only \(p + q + P + Q\) dynamic parameters.
In fable::ARIMA(), AR polynomials carry minus signs (\(\phi(B) = 1 - \phi_1 B - \dots\)), MA polynomials carry plus signs (\(\theta(B) = 1 + \theta_1 B + \dots\)), and constant is the exact equation constant \(c\).
The constant \(c\) determines the stationary mean when \(d + D = 0\), a linear drift when \(d + D = 1\), and is omitted by default when \(d + D \ge 2\).