Time Series
Plots
Learn to read, interpret, and analyze data collected over time: identify trends, seasonal patterns, and irregular fluctuations in biostatistics.
What Is a Time Series?
A time series is a sequence of data points collected or recorded at successive, equally spaced points in time. In biostatistics, we track variables such as patient heart rate, weekly flu cases, or annual mortality rates.
Anatomy of a Time Series Plot
Why Time Series Matter in Biostatistics
Health data is inherently temporal. Tracking how measurements change over time lets researchers detect outbreaks, evaluate treatments, and forecast future health outcomes.
Four Components of a Time Series
Every time series can be decomposed into four fundamental components. The classical additive model is:
Identifying the Trend
The trend is the overall direction of the data over time. Here, vaccination rates show a clear downward trend. You can estimate the trend by mentally drawing a straight line through the center of the data, or by computing a moving average.
Recognizing Seasonality
Seasonality is a repeating pattern with a fixed, known period. Flu cases, for instance, peak every winter and trough every summer. The pattern repeats each year with roughly the same shape.
Seasonal vs Cyclical
Students often confuse these two components. The critical difference is whether the period is fixed and predictable.
| Seasonal | Cyclical | |
|---|---|---|
| Period | Fixed (e.g., 12 months, 7 days) | Variable, not predetermined |
| Predictability | Highly predictable | Difficult to predict |
| Duration | < 1 year typically | Usually > 1 year |
| Example | Flu peaks every January | Multi-year disease outbreaks |
| Cause | Calendar-driven (weather, holidays) | Economic, ecological factors |
How to Read a Time Series Plot
Example 1: Hospital Admissions
Example 2: Blood Glucose Monitoring
Example 3: Spotting an Outlier
Smoothing with Moving Averages
A moving average smooths out short-term fluctuations to reveal the underlying trend. For a \( k \)-point moving average:
What the Slope Tells You
The slope between two points on a time series plot represents the rate of change. Between times \( t_1 \) and \( t_2 \):
Common Mistakes
Quick Reference Summary
| Feature | What to Look For | Example |
|---|---|---|
| Trend | Overall upward, downward, or flat direction | Rising vaccination rates over years |
| Seasonality | Regular peaks/troughs at fixed intervals | Flu cases peaking every winter |
| Cyclical | Longer waves, variable period | Multi-year disease outbreaks |
| Irregular | Sudden spikes or drops breaking pattern | Post-surgery heart rate spike |
| Rate of Change | Steepness of the line between points | Cases doubling per week |
Question 1 of 5
A time series of monthly hospital admissions shows values rising steadily from 200 to 600 over 5 years with no repeating pattern. Which component is most prominent?
Question 2 of 5
A researcher plots daily COVID-19 cases over 2 years and observes peaks every December-January. This pattern is best described as:
Question 3 of 5
In the additive decomposition model \( Y_t = T_t + S_t + C_t + I_t \), which component represents unpredictable, random variation?
Question 4 of 5
A patient's blood pressure readings over 10 days are mostly stable around 120 mmHg, but on Day 6 the reading jumps to 180 mmHg before returning to 120. What should you suspect?
Question 5 of 5
A time series graph shows the \( y \)-axis starting at 95 instead of 0. Between January and June, the value rises from 97 to 103. How should you interpret this?