You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

9.1 Seasonal differencing and SARIMA models

3 min readjuly 22, 2024

and SARIMA models are powerful tools for handling time series data with recurring patterns. They remove seasonal components, making data more stationary and easier to analyze. This technique is crucial for accurate forecasting and understanding underlying trends.

SARIMA models extend ARIMA by incorporating seasonal elements. They capture both short-term and long-term patterns in data, making them ideal for complex time series. Understanding these models helps in making better predictions and decisions based on seasonal data.

Seasonal Differencing and SARIMA Models

Seasonal differencing in time series

Top images from around the web for Seasonal differencing in time series
Top images from around the web for Seasonal differencing in time series
  • Technique to remove seasonal patterns from time series data by computing the difference between observations separated by a seasonal period (12 months, 4 quarters)
  • Denoted as s[D](https://www.fiveableKeyTerm:d)Xt=(1B[s](https://www.fiveableKeyTerm:s))DXt\nabla_s^[D](https://www.fiveableKeyTerm:d) X_t = (1 - B^[s](https://www.fiveableKeyTerm:s))^D X_t, where ss is the seasonal period and DD is the order of seasonal differencing
  • Helps achieve stationarity, a key assumption for many time series models including SARIMA, by removing the seasonal component and leaving only trend and irregular components
  • The order of seasonal differencing (DD) depends on the strength and persistence of the , with higher values necessary for strong and persistent patterns

Structure of SARIMA models

  • Extend the ARIMA framework to incorporate seasonal components, denoted as SARIMA([p](https://www.fiveableKeyTerm:p),d,[q](https://www.fiveableKeyTerm:q)[p](https://www.fiveableKeyTerm:p),d,[q](https://www.fiveableKeyTerm:q))(P,D,QP,D,Q)s_s
    • pp: Non- order
    • dd: Non-seasonal differencing order
    • qq: Non- order
    • PP: Seasonal autoregressive order
    • DD: Seasonal differencing order
    • QQ: Seasonal moving average order
    • ss: Seasonal period
  • Seasonal autoregressive (SAR) component captures dependency between observations separated by seasonal periods, denoted as ΦP(Bs)=1Φ1BsΦ2B2s...ΦPBPs\Phi_P(B^s) = 1 - \Phi_1 B^s - \Phi_2 B^{2s} - ... - \Phi_P B^{Ps}
  • Seasonal moving average (SMA) component captures dependency between error terms separated by seasonal periods, denoted as ΘQ(Bs)=1Θ1BsΘ2B2s...ΘQBQs\Theta_Q(B^s) = 1 - \Theta_1 B^s - \Theta_2 B^{2s} - ... - \Theta_Q B^{Qs}

Order of seasonal differencing

  • Determined by examining the seasonal pattern in the time series
    • D=0D=0 (no seasonal differencing) if the seasonal pattern is constant over time
    • D=1D=1 (first-order seasonal differencing) if the seasonal pattern varies proportionally to the level of the series
    • Higher-order seasonal differencing (D>1D>1) may be necessary in rare cases
  • Visual inspection of the time series plot helps identify the need for seasonal differencing
    • Constant seasonal patterns over time suggest D=0D=0
    • Seasonal patterns that increase or decrease with the level of the series suggest D=1D=1
  • Autocorrelation function (ACF) and partial autocorrelation function (PACF) can also help determine the order of seasonal differencing, with significant spikes at seasonal lags suggesting the need for seasonal differencing

Interpretation of seasonal ARIMA terms

  • Seasonal autoregressive (SAR) terms capture the relationship between observations separated by seasonal periods
    • The order of the SAR term (PP) indicates the number of seasonal lags influencing the current observation
    • Coefficients of the SAR terms (Φ1,Φ2,...,ΦP\Phi_1, \Phi_2, ..., \Phi_P) represent the strength and direction of the seasonal autocorrelation
  • Seasonal moving average (SMA) terms capture the relationship between error terms separated by seasonal periods
    • The order of the SMA term (QQ) indicates the number of seasonal lags of error terms influencing the current observation
    • Coefficients of the SMA terms (Θ1,Θ2,...,ΘQ\Theta_1, \Theta_2, ..., \Theta_Q) represent the strength and direction of the seasonal correlation between error terms
  • Significance of SAR and SMA coefficients assessed using statistical tests (t-tests, confidence intervals)
    • Significant coefficients suggest presence of seasonal patterns in the time series
    • Non-significant coefficients may indicate the corresponding seasonal terms can be removed from the model
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary