Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

A time series is a set of data values recorded in time order, such as daily temperature, monthly sales, or yearly population. Many time series contain patterns that are easier to understand when separated into parts. Trend shows the long-term direction, seasonality shows repeating patterns, and residuals show what is left over.

This matters because good forecasts depend on knowing which changes are systematic and which are mostly noise.

A common model is Observed Time Series = Trend + Seasonality + Residual, which is called an additive decomposition. Statisticians estimate the trend using smoothing or regression, estimate seasonal effects by comparing similar time periods, and then calculate residuals as the difference from the model. Recognizing seasonality helps avoid confusing predictable cycles with unusual events.

In forecasting, decomposition lets you project the trend forward, add the expected seasonal effect, and account for uncertainty from residual variation.

Key Facts

  • Additive model: y(t) = T(t) + S(t) + R(t), where T is trend, S is seasonality, and R is residual.
  • Residual formula: R(t) = y(t) - T(t) - S(t).
  • Trend is the long-term increase, decrease, or stable movement in a time series.
  • Seasonality is a repeating pattern with a fixed period, such as 7 days, 12 months, or 4 quarters.
  • A seasonal index measures how much a time period is typically above or below the trend.
  • Forecasting with decomposition often uses Forecast = projected trend + expected seasonal effect.

Vocabulary

Time series
A time series is a sequence of data values measured at regular or ordered points in time.
Trend
Trend is the long-term direction or general movement of a data set over time.
Seasonality
Seasonality is a pattern that repeats at a regular time interval because of calendar, weather, or behavior cycles.
Residual
A residual is the leftover part of an observation after the trend and seasonal components have been accounted for.
Forecast
A forecast is a prediction of future values based on patterns found in past data.

Common Mistakes to Avoid

  • Calling every up-and-down movement seasonality is wrong because seasonality must repeat with a consistent period.
  • Ignoring the trend before measuring seasonal effects is wrong because a rising or falling baseline can make seasonal highs and lows look larger or smaller than they really are.
  • Treating residuals as useless noise is wrong because large residuals can reveal outliers, unusual events, or model problems.
  • Using an additive model when seasonal swings grow with the level is often wrong because a multiplicative model may fit better when variation increases as the series rises.

Practice Questions

  1. 1 A monthly time series has observed value y = 240, estimated trend T = 210, and seasonal effect S = 18. Using y = T + S + R, find the residual R.
  2. 2 A store's projected trend for next December is 500 sales, and the December seasonal effect is +80 sales. Using an additive decomposition forecast, what is the forecasted December sales value?
  3. 3 A data set rises steadily for five years and also has peaks every summer. Explain which part is trend and which part is seasonality, and why separating them would improve a forecast.