SECTION 1
Historical Context & Motivation
The systematic analysis of data ordered by time is one of the oldest quantitative pursuits in human history. Long before the term time series analysis was coined, merchants, astronomers, and government officials recorded sequences of observations—crop yields, tidal patterns, commodity prices—hoping to detect regularities that would improve future decisions. In the business world, the ability to anticipate demand, revenue fluctuations, and economic cycles has always conferred a competitive advantage. The formalization of time series methods transformed this intuitive practice into a rigorous discipline, providing managers and analysts with a shared mathematical language for extracting trend, seasonality, and cyclical behavior from temporal data.
1927 • Yule's Autoregressive Model
1937 • Slutzky's Moving-Average Insight
1970 • Box–Jenkins ARIMA Framework
1982 • ARCH/GARCH for Volatility
2017 • Deep Learning & Prophet
Throughout this evolution, the central question has remained the same: given a sequence of observations collected over time, how can we decompose and model the underlying structure to generate reliable forecasts? This lesson introduces the foundational vocabulary, decomposition techniques, and mathematical building blocks that every business analyst needs before diving into more advanced predictive models.
SECTION 2
Core Principles & Definitions
A time series is a sequence of data points indexed in time order, typically at uniform intervals such as daily, monthly, or quarterly. Unlike cross-sectional data—where each observation is independent—time series observations are inherently correlated because adjacent values share common influences. This temporal dependence is not a nuisance to be removed; it is the very structure that makes forecasting possible. Understanding a few foundational concepts allows analysts to break any business time series into interpretable components and select appropriate modeling strategies.
Trend
Seasonality
Cyclical Variation
Irregular (Noise)
Stationarity
KEY TAKEAWAY
SECTION 3
Visual Explanation — Decomposing a Time Series
The diagram below illustrates a classical additive decomposition of quarterly retail sales data over four years. The observed series (top panel) is separated into its constituent components: a linear upward trend, a repeating seasonal pattern, and an irregular residual. By visually inspecting each layer, an analyst can quickly judge whether a simple trend-plus-seasonality model might suffice or whether more sophisticated approaches are warranted.
In the diagram, the observed series (cyan line) clearly rises over time while oscillating. Stripping away the trend reveals a symmetric seasonal wave (pink), and once both are removed, only small, random residuals (amber) remain. When the residuals show no remaining pattern, the decomposition has captured the series' systematic structure. If instead the residuals still exhibit autocorrelation or heteroscedasticity, the analyst knows that a more flexible model—perhaps incorporating cyclical terms or time-varying variance—is needed.
SECTION 4
Mathematical Framework
The mathematics underlying time series analysis begins with two decomposition models—additive and multiplicative—and then extends into autocorrelation, which quantifies how strongly a series is related to its own lagged values. Mastering these building blocks is essential before applying models such as ARIMA or exponential smoothing.
ADDITIVE DECOMPOSITION
Where Yₜ is the observed value at time t, Tₜ is the trend component, Sₜ is the seasonal component, and εₜ is the irregular residual. Use this model when seasonal fluctuations are roughly constant in absolute magnitude regardless of the level of the series.
MULTIPLICATIVE DECOMPOSITION
In a multiplicative model, seasonal swings grow proportionally with the trend level. This is common in revenue data—a 10% holiday uplift on $1M in sales is far larger in absolute terms than a 10% uplift on $100K. Taking the natural log converts a multiplicative model into an additive one: ln(Yₜ) = ln(Tₜ) + ln(Sₜ) + ln(εₜ).
AUTOCORRELATION FUNCTION (ACF)
The autocorrelation at lag k (ρₖ) measures the linear correlation between Yₜ and Yₜ₋ₖ. Values close to +1 or −1 indicate strong dependence; values near 0 indicate that observations separated by k periods are effectively uncorrelated. A slowly decaying ACF suggests a non-stationary trend; sharp spikes at regular lags suggest seasonality.
SIMPLE MOVING AVERAGE (TREND ESTIMATION)
A centered simple moving average of order m smooths out short-term fluctuations to reveal the trend. For quarterly data, a 4-period moving average (often 2 × 4 to keep it centered) removes the seasonal component. Choosing m = period length ensures that exactly one full cycle is averaged away.
Additive vs. Multiplicative: A Quick Decision Rule
SECTION 5
Stationarity & the ACF Plot
Most forecasting models, from ARIMA to exponential smoothing state-space forms, rest on the assumption of stationarity—the idea that the statistical properties of the series do not change over time. A stationary series has a constant mean, constant variance, and an autocovariance that depends only on the lag, not on the specific time at which it is computed. In practice, raw business data—quarterly revenue, daily stock prices, monthly website visits—is almost never stationary because it contains trends and seasonal patterns. The analyst's first task is therefore to transform the data into a stationary form, usually through differencing or log-transformation.
In the left panel, the ACF bars decay slowly—lag 1 is very high, lag 2 slightly lower, and so on. This pattern is the hallmark of a non-stationary series driven by a trend or a unit root. After computing the first difference (Yₜ − Yₜ₋₁), the right panel shows that only lag 1 remains significant, with subsequent lags falling well within the 95% confidence band. This sharp cutoff confirms that the differenced series is stationary and suggests that a simple MA(1) process may describe the remaining autocorrelation—a direct clue for model selection in the Box–Jenkins framework.
The Augmented Dickey–Fuller Test
SECTION 6
Worked Example — Decomposing Monthly Revenue
Suppose you are a business analyst at a retail company and you have 24 months of revenue data. You suspect an upward trend and a seasonal Q4 holiday spike. The goal is to perform an additive decomposition and estimate the deseasonalized (trend-adjusted) revenue for the most recent quarter.
Additive Decomposition of Monthly Revenue
- 1
Step 1 — Organize the Data
Arrange the 24 monthly observations in chronological order. Suppose the most recent 12 months of revenue (in $000s) are: 120, 115, 118, 130, 125, 122, 128, 140, 135, 130, 138, 155. The first 12 months show a similar pattern but shifted down by roughly $10K each month. - 2
Step 2 — Estimate the Trend via Moving Average
Compute a 12-month centered moving average to remove the seasonal component. For each interior month t, calculate T̂ₜ = (1/12) × Σᵢ₌₋₅⁶ Yₜ₊ᵢ. Because a 12-month MA is even-ordered, apply a 2 × 12 centered average to align the estimate with integer months. For month 13 (the first month of Year 2), T̂₁₃ ≈ (sum of months 7–18) / 12 = (118 + 130 + 125 + 122 + 128 + 140 + 120 + 115 + 118 + 130 + 125 + 122) / 12.T̂₁₃ ≈ $124.4K - 3
Step 3 — Isolate the Seasonal + Residual
Subtract the trend from the observed value: Yₜ − T̂ₜ = Sₜ + εₜ. For month 13: 120 − 124.4 = −4.4. Repeat this for every month where the MA estimate exists.Y₁₃ − T̂₁₃ = −4.4 - 4
Step 4 — Compute Seasonal Indices
Group the detrended values by calendar month and compute the average for each month across the available years. Suppose the average deviation for December (month 12) is +18.2 and for January (month 1) is −5.1. Adjust so all twelve indices sum to zero. These twelve values form the seasonal indices Ŝ₁, Ŝ₂, …, Ŝ₁₂.Ŝ_Dec = +18.2, Ŝ_Jan = −5.1 - 5
Step 5 — Deseasonalize and Forecast
Subtract the seasonal index from the observed data to obtain the seasonally adjusted series: Y*ₜ = Yₜ − Ŝₜ. For the most recent December (Y₂₄ = 155), the deseasonalized value is 155 − 18.2 = 136.8. This tells management that underlying demand is about $136.8K after stripping out the holiday effect. To forecast January of Year 3, project the trend forward one month (say T̂₂₅ ≈ 138 via linear extrapolation) and add the January seasonal index: Ŷ₂₅ = 138 + (−5.1).Ŷ₂₅ = $132.9K
SECTION 7
Strengths & Limitations of Classical Methods
Classical time series decomposition and moving-average techniques offer intuitive transparency and computational simplicity, making them excellent starting points for business forecasting. However, they come with well-known trade-offs that analysts should weigh before committing to a model for production use.
| Dimension | Strengths | Limitations |
|---|---|---|
| Interpretability | Trend, seasonal, and residual components are directly visible and easily communicated to non-technical stakeholders. | Cannot capture complex, nonlinear interactions between components without extensions (e.g., STL decomposition). |
| Data Requirements | Work reasonably well with as few as 2–3 complete seasonal cycles (e.g., 2–3 years of monthly data). | Sensitive to outliers; a single anomalous quarter can distort the moving average and seasonal indices. |
| Forecast Horizon | Reliable for short-to-medium horizons (1–4 periods ahead) when the trend is linear and seasonality is stable. | Accuracy degrades rapidly for long horizons; assumes future patterns replicate the past exactly. |
| Adaptability | Simple to recalculate as new data arrives; no iterative optimization required. | Does not adapt to structural breaks (e.g., a pandemic, a new competitor) without manual intervention. |
| Uncertainty Quantification | Residual analysis provides a rough gauge of forecast variability. | No built-in prediction intervals; formal confidence bands require additional distributional assumptions. |
Classical decomposition methods: strengths versus limitations
KEY TAKEAWAY
SECTION 8
Connection to Advanced Models
The concepts introduced in this lesson—decomposition, stationarity, and autocorrelation—are not stand-alone techniques but rather the diagnostic foundation upon which every advanced time series model is built. Understanding where classical methods end and modern methods begin helps you choose the right tool for each forecasting problem you encounter in a business setting.
| Classical Concept | Advanced Extension |
|---|---|
| Moving-average trend estimation | Exponential Smoothing (ETS) — assigns exponentially decreasing weights to older observations, adapting the trend estimate more quickly to recent changes. |
| ACF / stationarity testing | ARIMA(p,d,q) — the Box–Jenkins methodology uses the ACF and PACF to select the order of autoregressive and moving-average terms after d-th order differencing. |
| Fixed seasonal indices | SARIMA / STL — Seasonal ARIMA adds seasonal AR and MA terms; STL decomposition (Seasonal and Trend decomposition using Loess) allows the seasonal pattern to evolve over time. |
| Residual variance assumed constant | GARCH — models time-varying volatility, essential for financial risk management where periods of high and low variance cluster together. |
| Linear trend extrapolation | Prophet / LSTM / Transformers — capture nonlinear trends, multiple seasonalities, holiday effects, and complex dependencies via additive regression (Prophet) or deep neural architectures. |
From classical building blocks to advanced forecasting models
As you progress through your predictive modeling coursework, you will notice that every advanced method essentially automates or generalizes a step you have already learned here. ARIMA automates differencing and lag selection; exponential smoothing generalizes the moving average with adaptive weights; and machine learning models learn nonlinear versions of the trend and seasonal functions directly from data. The diagnostic tools—ACF plots, residual analysis, stationarity tests—remain indispensable regardless of model complexity, making this foundational knowledge deeply durable.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Time Series Basics — Summary
Summary
A time series is a sequence of observations indexed by time, and its power for business forecasting lies in the temporal dependence among consecutive values. Every series can be decomposed into a trend (long-run direction), seasonality (fixed-period oscillations), cyclical variation (irregular oscillations not tied to a fixed period), and noise. The decomposition may be additive (Yₜ = Tₜ + Sₜ + εₜ) when seasonal amplitude is constant, or multiplicative (Yₜ = Tₜ × Sₜ × εₜ) when seasonal swings scale with the level.
Before fitting any forecasting model, analysts must verify stationarity—the requirement that the series' mean, variance, and autocorrelation structure remain constant over time. The autocorrelation function (ACF) is the primary diagnostic tool: a slowly decaying ACF signals non-stationarity, typically resolved through differencing. These foundational ideas—decomposition, stationarity, and autocorrelation—underpin every advanced model from ARIMA and exponential smoothing to modern deep-learning architectures, making them essential knowledge for any business analytics professional.