Mathwords logoMathwords

Seasonality — Definition, Formula & Example

Seasonality is a pattern in data collected over time that repeats at the same point in every calendar cycle. Examples include ice cream sales rising each summer and electricity use climbing each winter.

Seasonality is the component StS_t of a time series that repeats with a fixed, known period mm tied to the calendar, such as m=4m = 4 quarters, m=12m = 12 months, or m=7m = 7 days. In an additive model it satisfies St+m=StS_{t+m} = S_t, and the mm seasonal effects in one period sum to zero.

Key Formula

yt=Tt+St+εt,St+m=St,∑j=1mSj=0y_t = T_t + S_t + \varepsilon_t, \qquad S_{t+m} = S_t, \qquad \sum_{j=1}^{m} S_j = 0
Where:
  • yty_t = Observed value at time period t
  • TtT_t = Trend: the long-run level of the series at time t
  • StS_t = Seasonal effect: how far above or below the trend period t typically falls
  • εt\varepsilon_t = Random (irregular) variation left over
  • mm = Length of the seasonal period, such as 4 for quarterly data

Worked Example

Problem: An ice cream shop recorded quarterly sales (in thousands of dollars) for two years. Year 1: Q1 = 20, Q2 = 50, Q3 = 70, Q4 = 20. Year 2: Q1 = 23, Q2 = 57, Q3 = 73, Q4 = 27. Estimate the additive seasonal effect for each quarter.
Step 1: Find each year's mean. This mean serves as a simple estimate of the level for that year.
yˉ1=20+50+70+204=40,yˉ2=23+57+73+274=45\bar{y}_1 = \frac{20+50+70+20}{4} = 40, \qquad \bar{y}_2 = \frac{23+57+73+27}{4} = 45
Step 2: Subtract each year's mean from its quarterly values. This removes the change in level between years.
Year 1: −20, 10, 30, −20Year 2: −22, 12, 28, −18\text{Year 1: } -20,\ 10,\ 30,\ -20 \qquad \text{Year 2: } -22,\ 12,\ 28,\ -18
Step 3: Average the two deviations for each quarter to get the seasonal effects. Then check that the effects sum to zero.
S1=−20+(−22)2=−21,S2=10+122=11,S3=30+282=29,S4=−20+(−18)2=−19S_1 = \frac{-20 + (-22)}{2} = -21,\quad S_2 = \frac{10+12}{2} = 11,\quad S_3 = \frac{30+28}{2} = 29,\quad S_4 = \frac{-20+(-18)}{2} = -19
Answer: The seasonal effects are Q1: −21, Q2: +11, Q3: +29, Q4: −19 (thousands of dollars), and they sum to 0. The pattern repeats every 4 quarters. Q3 typically runs about $29,000 above the yearly level. The rise in the yearly mean from 40 to 45 is trend, not seasonality.

Visualization

Why It Matters

In statistics and economics courses, you often describe a time plot by its trend and its seasonal pattern. Utility companies use monthly seasonal effects to plan for winter heating demand. Retailers use them to schedule holiday staffing.

Common Mistakes

Mistake: Calling any rise-and-fall in a time plot seasonal, including multi-year business booms and busts.
Correction: Seasonality has a fixed period set by the calendar, such as every 12 months. Swings with irregular lengths, like recessions, are cycles. Check whether the peaks land at the same calendar position every time.

Related Terms

  • Time Series — The type of data that seasonality is a component of
  • Scatterplot — Time plots are scatterplots with time on the x-axis
  • Bivariate Data — Time and measured value form a paired data set
  • Pattern — Exact repeating rules, unlike seasonality's noisy statistical repetition
  • Bar Graph — Common display for comparing seasonal effects across quarters
  • Quarterly — Common time period for measuring seasonal patterns