SECTION 1: LEARNING OBJECTIVES
By the end of this lesson, you will be able to:
-
Distinguish time series data from crossâsectional data and understand its unique properties.
-
Decompose a time series into trend, seasonality, cyclical, and irregular components.
-
Understand the concept of stationarity and why it is critical for financial modelling.
-
Apply the Augmented DickeyâFuller (ADF) test to check for stationarity.
-
Interpret autocorrelation and partial autocorrelation functions (ACF/PACF).
-
Apply smoothing techniques (moving averages, exponential smoothing) for trend estimation.
-
Recognise common time series patterns in banking data (e.g., deposit growth, loan defaults, market returns).
-
Understand the business implications of time series analysis for forecasting and risk management.
SECTION 2: WHAT IS TIME SERIES DATA?
A time series is a sequence of data points recorded at successive equally spaced points in time. In finance and banking, almost every key metric is observed over time:
-
Daily closing prices of a stock
-
Monthly unemployment rates
-
Quarterly bank profits
-
Hourly transaction volumes
-
Daily ValueâatâRisk (VaR) estimates
Key distinction: Unlike crossâsectional data (where observations are independent), time series data are serially dependent â the value today is related to the value yesterday. This autocorrelation violates the independence assumption of standard regression and requires specialised techniques.
SECTION 3: COMPONENTS OF A TIME SERIES
Classical time series decomposition breaks a series into four components:
| Component | Description | Financial Example |
|---|---|---|
| Trend (T) | Longâterm upward or downward movement | Gradual increase in bank lending over decades |
| Seasonality (S) | Regular, predictable patterns within a fixed period | Higher credit card spending in December; lower trading volumes in August |
| Cyclical (C) | Fluctuations around the trend lasting more than a year (often linked to the business cycle) | Expansion and contraction phases of the economy affecting loan loss provisions |
| Irregular (I) | Random, unpredictable noise | Unexpected market shock (e.g., geopolitical event, flash crash) |
The additive model is:Â Y = T + S + C + I
The multiplicative model is:Â Y = T Ă S Ă C Ă IÂ (common when seasonal amplitude grows with trend)
Business relevance:Â Decomposing a series helps banks separate genuine growth from seasonal blips and cyclical swings, enabling better budgeting and capacity planning.
SECTION 4: STATIONARITY â THE FOUNDATION OF TIME SERIES MODELLING
A time series is stationary if its statistical properties (mean, variance, autocorrelation) do not change over time.
Why stationarity matters:
-
Most time series models (ARIMA, GARCH) assume stationarity.
-
Nonâstationary data produce spurious regression results â you may find strong relationships that are purely due to common trends (e.g., both sunspots and stock prices increase over time, but they are unrelated).
Two types of stationarity:
-
Strict stationarity:Â The joint distribution of any set of observations is invariant to time shifts (very restrictive).
-
Weak stationarity (covarianceâstationary):Â Mean and variance are constant, and autocovariance depends only on the lag, not on time. This is the standard requirement.
How to check for stationarity:
-
Visual inspection:Â Plot the series. A clear upward or downward trend or changing variance suggests nonâstationarity.
-
Augmented DickeyâFuller (ADF) test:Â A formal statistical test.
-
Null hypothesis (Hâ):Â The series has a unit root (i.e., it is nonâstationary).
-
Alternative (Hâ):Â The series is stationary.
-
If pâvalue < 0.05, reject Hâ and conclude the series is stationary.
-
What to do when a series is nonâstationary:
-
Differencing: Subtract the previous observation: YtâČ=YtâYtâ1. Repeat until stationarity is achieved.
-
Log transformation:Â Stabilises variance and makes multiplicative patterns additive.
-
Detrending:Â Fit a trend line and analyse the residuals.
Financial example:Â Stock prices are generally nonâstationary (they trend upward). Returns (percentage changes) are usually stationary â this is why we model returns, not prices.
SECTION 5: AUTOCORRELATION AND PARTIAL AUTOCORRELATION
5.1 Autocorrelation (ACF)
Autocorrelation measures the correlation between a series and its own lagged values.
For lag *k*, it is the correlation between Yt and Ytâk.
-
ACF plots are used to identify the order of moving average (MA) components.
-
In finance, we often see significant positive autocorrelation at lag 1 in daily returns (though usually weak) and strong autocorrelation in volatility (absolute returns).
5.2 Partial Autocorrelation (PACF)
PACF measures the correlation between Yt and Ytâk after removing the influence of intermediate lags (1, 2, âŠ, kâ1).
-
PACF plots help identify the order of autoregressive (AR) components.
Business application:Â Understanding autocorrelation is crucial for risk models. If daily trading volumes are highly autocorrelated, we can use todayâs volume to predict tomorrowâs, improving liquidity forecasts.
SECTION 6: SMOOTHING TECHNIQUES FOR TREND ESTIMATION
Smoothing methods reduce noise to reveal the underlying trend â useful for identifying turning points.
6.1 Moving Average (MA)
-
The simple kâperiod moving average at time t is the average of the last k observations.
-
Pros:Â Easy to understand and implement.
-
Cons:Â All observations get equal weight; it lags behind sudden changes.
6.2 Exponential Smoothing (EWMA â Exponentially Weighted Moving Average)
-
This assigns exponentially decreasing weights to older observations.
St=αYt+(1âα)Stâ1, where α is the smoothing factor (0 < α < 1). -
A higher α gives more weight to recent observations, making the series more responsive.
-
Pros:Â More reactive to recent changes; widely used in volatility forecasting (e.g., RiskMetrics uses EWMA for VaR).
Financial insight:Â Banks use smoothing to estimate core deposit growth, excluding oneâoff large withdrawals or seasonal tax payments.
SECTION 7: BUSINESS APPLICATIONS IN BANKING AND FINANCE
| Application | Time Series Technique | Purpose |
|---|---|---|
| Forecasting loan demand | Decomposition + exponential smoothing | Plan funding and liquidity requirements |
| Market risk (VaR) | EWMA volatility forecasting | Estimate daily risk exposure |
| Macroeconomic scenario analysis | Trend and cyclical decomposition | Stressâtest portfolios under different GDP paths |
| Fraud detection | Autocorrelation analysis | Detect anomalous spikes in transaction flows |
| Credit default prediction | Lagged variables in regression | Incorporate past payment behaviour |
Realâworld example â Interest Rate Forecasting:
Central bank policy rates are influenced by inflation and employment. Analysts decompose these series into trend and cyclical components to anticipate rate changes. If the cyclical component is rising, it may signal an upcoming rate hike â vital for fixedâincome portfolio managers.
SECTION 8: SUMMARY FOR THE DATA PRACTITIONER
-
Time series data are not independent â autocorrelation is both a feature and a challenge.
-
Stationarity is a prerequisite for most models; use the ADF test and apply differencing if needed.
-
Decomposition helps separate trend, seasonality, and cycles to reveal true signals.
-
ACF and PACFÂ identify temporal dependencies and guide model selection.
-
Smoothing (moving averages, EWMA) provides quick trend estimates and volatility forecasts.
-
In banking, time series methods are indispensable for risk measurement, liquidity planning, and economic forecasting.
[END OF LESSON 6]