Professional Documents
Culture Documents
Forecasting
Introduction
A time
sequentially in time
Continuous
The
Introduction (cont.)
Discrete
Characteristics
of time series
r a n d o m (e r ro r ) c o m p o n e n t
tre n d p a tte rn
s e a s o n a l p a tte rn
c y c lic p a t t e r n
s ta tis tic a l p a tte r n
x =F +x
Areas of application
Forecasting
Determination
Design
control schemes
Forecasting
Applications
Lead
of sophistication
Simple ideas
Moving averages
Simple regression techniques
Box-Jenkins methodology
Approaches to forecasting
Self-projecting
approach
Cause-and-effect
approach
approach
Advantages
Cause-and-effect
Advantages
Disadvantages
Disadvantages
approach
trend models
Trendt = A + Bt
Smoothing
models
Ft
Notes
z t Az t 1Time
MA(4030)Prepared
(Series
1 Analysis
A)FLecture
at
tBy
1 TMJA
Cooray
models
Very common
Most seasonal time series also contain long- and short-
models
ARIMA models
Autoregressive
Integrated Moving-average
Can represent a wide range of time series
A stochastic
stochastic modeling approach that can be used
to calculate the probability of a future value lying
between two specified limits
Gwilym M. Jenkins
Often
Yt
= (B)Xt where
(B) = 0 + 1B + 2B2 + ..
B
BmXt = Xt - m
Time Series Analysis Lecture Notes
MA(4030)Prepared By TMJA
Cooray
Better control
Improved design
Methods
Classical methods
Statistical methods
Process control
Feed-forward
control
Feedback
control
Deviation from
target output
Nt
Nt
( B)(B)B
1
1
L (B) L 2 (B)B
f 1
Compensating
variable Xt+
zt
Control equation
L 11 (B) L 2 ( B)B f
Compensating
variable Xt+
Control equation
u n m e a su r ed
fe e d -fo r w a r d c o n to l
fe e d b a c k c o n tr o l
Model estimation
No
Modify
model
Is model
adequate ?
Yes
Forecasts
Model identification
Model estimation
Model validation
Autocorrelations
Partial-autocorrelations
Model forecasting
Important Fundamentals
A Normal
process
Stationarity
Regular differencing
Autocorrelations (ACs)
The white noise process
The linear filter model
Invertibility
Time Series Analysis Lecture Notes
MA(4030)Prepared By TMJA
Cooray
Most
Achieving stationarity
Regular
differencing (RD)
(1st order)
(2nd order)
xt = (1 B)xt = xt xt-1
Autocorrelations (ACs)
Autocorrelations are
The
Autocorrelations (cont.)
The
The
sample autocorrelation
N k
rk
(z
t 1
z )(z t k z )
2
(
z
z
)
t
t 1
k 0,1,2,...k
Autocorrelations (cont.)
A graph
A correlogram of a nonstationary
time seies
After one RD
After two RD
k0
k0
Such
Linear filter
xt
et
A linear filter
filter
j 0
x t 1x t 1 2 x t 2 ... e t
x
j
j1
This
t j
et
( B) x t e t
( B) 1
jB j
z t (B)at
(B)z t at
jTime
1 Series Analysis Lecture
( BNotes
)
MA(4030)Prepared By TMJA
Cooray
1 (B)
a linear process
to be stationary,
stationary
If
For
a linear process to be
invertible,
invertible (B) must converge
for B 1
(AR) models
Moving-average (MA) models
Mixed ARMA models
Non stationary models (ARIMA models)
The mean parameter
The trend parameter
x t 1x t 1 2 x t 2 ... p x t p e t
(B) x t e t
(B) 1 1B 2 B 2 ... p B p
The
The
Cooray
model of order q
x t e t 1e t 1 2 e t 2 ... q e t q
x t (B)e t
2
(B) 1 1B 2 B ... q B
The
The
Cooray
written as
1
zt a t
(1 1B)
(1 1B 12 B 2 13 B3 ...) x t e t
x t 1x t 1 12 x t 2 13 x t 3 ... e t
Hence,
Hence
(B)
Model
estimation
Model validation
Certain diagnostics are used to check the validity of the
model
Model
forecasting
Time Series Analysis Lecture Notes
MA(4030)Prepared By TMJA
Cooray
Partial-autocorrelations (PACs)
Partial-autocorrelations are
PAC
Partial-autocorrelations (cont.)
PACs
PAC
at lag k is denoted by kk
Model identification
The
a linear process
to be stationary,
stationary
For
a linear process to be
invertible,
invertible
for B 1
for B 1
-1 < 1 < 1
i.e., the roots of the characteristic
equation 1 - 1B = 0 lie outside
the unit circle
the solution
k = 1k
k>0
i.e., for a stationary AR(1) model,
the theoretical autocorrelation
function decays exponentially to
zero, however, the theoretical
partial-autocorrelation function has
a cut off after the 1st lag
Time Series Analysis Lecture Notes
MA(4030)Prepared By TMJA
Cooray
a MA(1) to be invertible:
-1 < 1 < 1
For
k 1
0
12
k 1
k 1
Model identification
Model estimation
Model verification