STAT 101
M10 · L01
Module 10 — after a gap

Time Series Basics

Data indexed by time. Understanding the patterns hidden in sequences of observations — from stock prices to climate records to network traffic.

Coming from Module 7?
Modules 8 and 9 are not published yet. Nothing is missing from your background — Module 10 does not depend on them.
01 / 13
STAT 101
M10 · L01
Definition

What is a Time Series?

A sequence of observations indexed by time. Unlike cross-sectional data, each observation is correlated with its neighbors — yesterday's value tells us something about today's.

Key difference
Time series ≠ i.i.d. samples. Temporal order and autocorrelation are the signal.
02 / 13
STAT 101
M10 · L01
Component 1

Trend

The long-run direction of the series. Is it rising, falling, or flat? GDP trends upward. Sea levels trend upward. Landline subscriptions trend downward.

Rising Trend
GDP, Temp
Falling Trend
Landlines
03 / 13
STAT 101
M10 · L01
Component 2

Seasonality

Periodic, predictable fluctuations tied to the calendar or natural cycles. Regular intervals, known length.

Daily — electricity demand peaks at morning and evening
Weekly — website traffic drops on weekends
Annual — retail sales spike every December
04 / 13
STAT 101
M10 · L01
Components 3 & 4

Cycles & Noise

Two more pieces of the puzzle:

  • Cyclicality — longer, irregular waves (business cycles, 3–10 years); not tied to the calendar
  • Noise — random, unpredictable variation; what remains after trend + season + cycle are removed
05 / 13
STAT 101
M10 · L01
Decomposition

Additive Model

When seasonal swings stay roughly constant in size regardless of the trend level, we add the components:

Additive
Y_t = T_t + S_t + C_t + \varepsilon_t
06 / 13
STAT 101
M10 · L01
Decomposition

Multiplicative Model

When seasonal swings grow in proportion to the trend (common in economic data), multiply the components. Log-transforming converts multiplicative to additive.

Multiplicative
Y_t = T_t \cdot S_t \cdot C_t \cdot \varepsilon_t
07 / 13
STAT 101
M10 · L01
Key Property

Stationarity

Most models require the series to be stationary — statistical properties that don't change over time:

  • Constant mean
  • Constant variance
  • Autocovariance depends only on lag, not time
08 / 13
STAT 101
M10 · L01
Making it stationary

Differencing

A series with trend is not stationary. Differencing removes the trend by computing changes between consecutive observations:

First Difference
\nabla Y_t = Y_t - Y_{t-1}
09 / 13
STAT 101
M10 · L01
Diagnostic Tool

ACF — Autocorrelation

The Autocorrelation Function measures how similar the series is to a lagged copy of itself. ρ(k) = correlation at lag k.

What to look for
Slow decay → non-stationary  |  Sharp cutoff at lag q → MA(q)  |  Sine wave → seasonality
10 / 13
STAT 101
M10 · L01
Diagnostic Tool

PACF — Partial ACF

Measures the direct correlation at lag k, controlling for shorter lags. Together with ACF, it identifies the right ARIMA model order:

  • AR(p): ACF decays, PACF cuts off after lag p
  • MA(q): ACF cuts off after lag q, PACF decays
  • ARMA: both decay gradually
11 / 13
STAT 101
Knowledge Check

Check what stuck

Four questions from this lesson. Answer to see why — the explanation appears whether you were right or wrong. Nothing is scored or saved.

Question 1 of 0
Score 0/0

12 / 13
STAT 101
Summary
Recap

What you learned

Time series data has structure: trend, seasonality, cycles, and noise. Stationarity is the key property for modeling. ACF and PACF are your diagnostic compass for identifying the right model.

Next Lesson
13 / 13