Time Series: Trend and Seasonality

Lesson 9 of 213 min6 practice questionsFree

Start by identifying the time pattern

A time series lists observations in time order. A trend is the underlying direction over a longer period. Seasonality repeats at a regular calendar interval, such as higher demand each December. A cycle can rise and fall over several years without a fixed calendar pattern. An irregular movement is a short fluctuation with no regular pattern, such as disruption after a one-off closure. Several components can appear in the same series.

Place a moving average at the right time

A moving average smooths short fluctuations by averaging successive windows. For an odd window there is a middle observation. For an even window the first average falls between two periods. Center it by averaging two adjacent window averages.

Period    1   2   3   4   5
Value    12  18  15  21  24

The first 3-period average is (12 + 18 + 15)/3 = 15, placed at period 2. Using a 4-period window, the first two averages are 16.5 at time 2.5 and 19.5 at time 3.5. Their average is 18, the centered 4-period average at period 3. A centered average uses values on both sides, so it leaves blank positions at the ends when there are too few observations.

Estimate a linear trend by least squares

For equally spaced periods with time scores t chosen so Σt = 0, fit the trend line ŷ = a + bt with a = Σy/n and b = Σty/Σt². Suppose t is −1, 0 and 1 and y is 18, 21 and 27. Then a = 66/3 = 22 and b = (−18 + 27)/(1 + 0 + 1) = 4.5. A one-period increase in t adds 4.5 to the fitted trend. At t = 2 the line gives 31. Treat that as an extrapolation from the fitted model.

Calculate and read seasonal indices

For a simple seasonal-average method with no meaningful trend and equally represented seasons, divide the mean for each season by the overall mean and multiply by 100. If quarterly means are 90, 120, 150 and 120, the overall mean is 120 and the indices are 75, 100, 125 and 100. An index of 125 means 25% above the reference level.

For a multiplicative model with trend, the ratio-to-moving-average method divides each available observation by its corresponding centered moving-average trend, then multiplies by 100. Group the ratios by season and average within each season. Rescale the provisional indices so they average 100. For four quarters with provisional indices adding to 420, multiply every index by 400/420. When reading a question, check whether its model calls for a ratio or a difference.

NIST Engineering Statistics Handbook, centered moving averages

Practise this lesson6 questions · 6 marks · +1 a question · every answer explained
Start practice: Time Series Trend and Seasonality Practice

Sign in to keep your progress. Sign in