Module Time Series Analysis - The Classical
Module Time Series Analysis - The Classical
1 / 27
Development Team
2 / 27
Analysis in the Time Domain
3 / 27
Analysis in the Time Domain
3 / 27
Analysis in the Time Domain
Of course, these models are not mutually exclusive and for a given
time series more than one of these models my be applied to study
its different components.
4 / 27
Analysis in the Time Domain
Of course, these models are not mutually exclusive and for a given
time series more than one of these models my be applied to study
its different components.
4 / 27
Analysis in the Time Domain
Of course, these models are not mutually exclusive and for a given
time series more than one of these models my be applied to study
its different components.
4 / 27
Analysis in the Time Domain
Of course, these models are not mutually exclusive and for a given
time series more than one of these models my be applied to study
its different components.
4 / 27
The Models
I The classical models are usually used to study the trend and
the seasonal pattern of a series.
I The Box-Jenkins models are primarily focussed on the
stationary component of a series.
Although these models also do account for trend and
seasonality, very often a better undersatnding of these
components can be had from the classical model.
I Volatility models are designed to capture the changing
variability or heteroscedasticity in the data and often comes as
a follow-up to the Box-Jenkins models.
5 / 27
The Models
I The classical models are usually used to study the trend and
the seasonal pattern of a series.
I The Box-Jenkins models are primarily focussed on the
stationary component of a series.
Although these models also do account for trend and
seasonality, very often a better undersatnding of these
components can be had from the classical model.
I Volatility models are designed to capture the changing
variability or heteroscedasticity in the data and often comes as
a follow-up to the Box-Jenkins models.
5 / 27
The Models
I The classical models are usually used to study the trend and
the seasonal pattern of a series.
I The Box-Jenkins models are primarily focussed on the
stationary component of a series.
Although these models also do account for trend and
seasonality, very often a better undersatnding of these
components can be had from the classical model.
I Volatility models are designed to capture the changing
variability or heteroscedasticity in the data and often comes as
a follow-up to the Box-Jenkins models.
5 / 27
Components of a Time Series
Evolutionary component
A time series (Et ) whose mean and variance evolve over time is
said to be evolutionary. Such series look different during different
periods.
6 / 27
Components of a Time Series
Evolutionary component
A time series (Et ) whose mean and variance evolve over time is
said to be evolutionary. Such series look different during different
periods.
6 / 27
Evolutionary Component
7 / 27
Evolutionary Component
7 / 27
Evolutionary Component
7 / 27
Evolutionary Component
7 / 27
Trend
8 / 27
Seasonality
9 / 27
Structure
or as a
Multiplicative model
Yt = Et × Xt = Tt × St × Xt
10 / 27
Structure
or as a
Multiplicative model
Yt = Et × Xt = Tt × St × Xt
10 / 27
Structure
11 / 27
Trend
12 / 27
Trend
12 / 27
Trend
12 / 27
Trend
12 / 27
Trend
12 / 27
Trend
12 / 27
An Increasing Trend
13 / 27
Method of Curve Fitting
I Tt = α + βt,
I Tt = α + βt + γt2 ,
I More generally, Tt = β0 + β1 t + β2 t2 + · · · + βm tm ,
I log Tt = α + βγ t , γ > 0,
I Tt = α/ β + exp(−γt) .
I Tt = α + βt,
I Tt = α + βt + γt2 ,
I More generally, Tt = β0 + β1 t + β2 t2 + · · · + βm tm ,
I log Tt = α + βγ t , γ > 0,
I Tt = α/ β + exp(−γt) .
I Tt = α + βt,
I Tt = α + βt + γt2 ,
I More generally, Tt = β0 + β1 t + β2 t2 + · · · + βm tm ,
I log Tt = α + βγ t , γ > 0,
I Tt = α/ β + exp(−γt) .
I Tt = α + βt,
I Tt = α + βt + γt2 ,
I More generally, Tt = β0 + β1 t + β2 t2 + · · · + βm tm ,
I log Tt = α + βγ t , γ > 0,
I Tt = α/ β + exp(−γt) .
I Tt = α + βt,
I Tt = α + βt + γt2 ,
I More generally, Tt = β0 + β1 t + β2 t2 + · · · + βm tm ,
I log Tt = α + βγ t , γ > 0,
I Tt = α/ β + exp(−γt) .
I Tt = α + βt,
I Tt = α + βt + γt2 ,
I More generally, Tt = β0 + β1 t + β2 t2 + · · · + βm tm ,
I log Tt = α + βγ t , γ > 0,
I Tt = α/ β + exp(−γt) .
I Tt = α + βt,
I Tt = α + βt + γt2 ,
I More generally, Tt = β0 + β1 t + β2 t2 + · · · + βm tm ,
I log Tt = α + βγ t , γ > 0,
I Tt = α/ β + exp(−γt) .
Consider
Tt = α + βt + γt2 ,
Solving the three equations in the three unknowns gives the trend
as T̂t = α̂ + β̂t + γ̂t2 ,
15 / 27
Example
Consider
Tt = α + βt + γt2 ,
Solving the three equations in the three unknowns gives the trend
as T̂t = α̂ + β̂t + γ̂t2 ,
15 / 27
Example
Consider
Tt = α + βt + γt2 ,
Solving the three equations in the three unknowns gives the trend
as T̂t = α̂ + β̂t + γ̂t2 ,
15 / 27
Example
Consider
Tt = α + βt + γt2 ,
Solving the three equations in the three unknowns gives the trend
as T̂t = α̂ + β̂t + γ̂t2 ,
15 / 27
Example
Consider
Tt = α + βt + γt2 ,
Solving the three equations in the three unknowns gives the trend
as T̂t = α̂ + β̂t + γ̂t2 ,
15 / 27
Method of Moving Averages
16 / 27
Simple Moving Averages
17 / 27
Detrending
DTt = Yt − Tt = St + Xt ,
18 / 27
Detrending
DTt = Yt − Tt = St + Xt ,
18 / 27
Detrending
DTt = Yt − Tt = St + Xt ,
18 / 27
Seasonality
19 / 27
Seasonality
19 / 27
Seasonality
19 / 27
Seasonality
19 / 27
Seasonality
19 / 27
A Seasonal Pattern
20 / 27
Estimating Seasonality
If the original series Xt has a trend, find it and use the detrended
series
DTt = Yt − Tt = St + Xt .
21 / 27
Estimating Seasonality (contd.)
For each season, there is a single seasonal value, i.e., if there are h
seasons,
22 / 27
Estimating Seasonality (contd.)
23 / 27
Estimating Seasonality (contd.)
23 / 27
Estimating Seasonality (contd.)
23 / 27
Estimating Seasonality (contd.)
23 / 27
Estimating Seasonality (contd.)
23 / 27
Estimating Seasonality (contd.)
23 / 27
Deseasonalized, Detrended Series
I Removing both the trend and the seasonal effect from the model.
I In an additive model, Dt = DTt − St = Yt − Tt − St = Xt .
I Xt or, eqivalently, Dt is a series without trend and seasonality.
I Can expect a detrended, deseasonalized series to be mean
stationary .
24 / 27
Deseasonalized, Detrended Series
I Removing both the trend and the seasonal effect from the model.
I In an additive model, Dt = DTt − St = Yt − Tt − St = Xt .
I Xt or, eqivalently, Dt is a series without trend and seasonality.
I Can expect a detrended, deseasonalized series to be mean
stationary .
24 / 27
Deseasonalized, Detrended Series
I Removing both the trend and the seasonal effect from the model.
I In an additive model, Dt = DTt − St = Yt − Tt − St = Xt .
I Xt or, eqivalently, Dt is a series without trend and seasonality.
I Can expect a detrended, deseasonalized series to be mean
stationary .
24 / 27
Deseasonalized, Detrended Series
I Removing both the trend and the seasonal effect from the model.
I In an additive model, Dt = DTt − St = Yt − Tt − St = Xt .
I Xt or, eqivalently, Dt is a series without trend and seasonality.
I Can expect a detrended, deseasonalized series to be mean
stationary .
24 / 27
Alternative Method of Deseasonalizing
I Differencing:
I first, difference to remove trend
∆Yt = Yt − Yt−1
25 / 27
Alternative Method of Deseasonalizing
I Differencing:
I first, difference to remove trend
∆Yt = Yt − Yt−1
25 / 27
Alternative Method of Deseasonalizing
I Differencing:
I first, difference to remove trend
∆Yt = Yt − Yt−1
25 / 27
Alternative Method of Deseasonalizing
I Differencing:
I first, difference to remove trend
∆Yt = Yt − Yt−1
25 / 27
Summary
26 / 27
Summary
26 / 27
Summary
26 / 27
Thank You
27 / 27