Beruflich Dokumente
Kultur Dokumente
An Introduction
WHAT IS A TIME SERIES?
Series of observations recorded sequentially
over a period of time (i.e. a collection of
observations recorded along with the time
stamp)
Represented as
Yt : may be univariate (single variable) or
multivariate (collection of variables)
Frequency of observations:
yearly, quarterly, monthly, weekly, daily or tick
(i.e. as and when data changes)
5000
0
7/1/1997
8/5/2017
1/1/1998
7/1/1998
1/1/1999
7/1/1999
1/1/2000
7/1/2000
1/1/2001
7/1/2001
1/1/2002
7/1/2002
1/1/2003
BSE SENSEX: Daily Series
Amit Mitra
7/1/2003
1/1/2004
7/1/2004
1/1/2005
7/1/2005
1/1/2006
7/1/2006
1/1/2007
7/1/2007
SOME REAL LIFE TIME SERIES
1/1/2008
7/1/2008
1/1/2009
5
7/1/2009
SOME REAL LIFE TIME SERIES
NSE: Daily Return Series
46
FOREIGN EXCHANGE RATES
42
38
46
INR/EURO Daily
42
INR/USD Daily
250000
200000
150000
100000
50000
0
0 5 10 15 20
Positions of cycle:
Prosperity/Peak, recession, depression/ trough, recovery
Extensions
Weighted MA
Exponential Weighted MA
yt= + t
Unknown constants estimated using least
squares
Amit Mitra
21
Linear Trend Using the Least Squares Method
0.25
0.2
0.15
0.1
0.05
-0.05
-0.1
-0.15
-0.2
-0.25
0 10 20 30 40 50 60 70
White Noise
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
.7
2.25
2 .65
1.75 .6
Exchange Rate
Share Price
1.5
.55
1.25
.5
1
.45
.75
.4
.5
.25 .35
0 50 100 150 200 250 300 350 400 450 0 50 100 150 200 250
9.3
9.2
GNP
9.1
8.9
8.8
8.7
6 3.5
4 3
2 2.5
0 2
-2 1.5
-4 1
-6 0.5
-8
0 20 40 60 80 100 120 140 160 180 200 0
4
10
3.5
5 3
2.5
0
2
-5 1.5
1
-10
0.5
-15
0 50 100 150 200 250 300 350 400 450 500 0
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
VAR, VMA
THRESHOLD AR (TAR)
SELF EXCITED TAR (SETAR)
AUTOREGRESSIVE CONDITIONAL
HETEROSKADASTIC (ARCH)
GENERALIZED ARCH (GARCH)
Error Error
0 0
0 0
T T
Random errors Cyclical effects not accounted for
e e
0 0
T T
Trend not accounted for Seasonal effects not accounted for
Principal of Parsimony
Suppose two or more models provide
good fit for data
Select the Simplest Model
Simplest model types:
least-squares linear
least-square quadratic
1st order AR
More complex types:
higher order AR/ARMA
Non-linear models
MODELING OF TIME SERIES
350
300
250
200
150
100
50
0
May-83
May-85
May-87
May-89
May-91
May-93
May-95
May-97
May-99
May-01
May-03
May-05
May-07
ACTUAL MONTHLY INDEX FOR INDUSTRIAL
PRODUCTION (IIP) AND FITTED SEASONAL-ARIMA
MODEL
8/5/2017 Amit Mitra 48
FITTING OF ECG SIGNAL
Fitted Against Observed
500
400
300
200
100
-100
-200
0 100 200 300 400 500 600
1300
Index
1100
900
700
-10
20
30
8/5/2017
Aug-82
Feb-83
Aug-83
Feb-84
Aug-84
Feb-85
Aug-85
Feb-86
Aug-86
Feb-87
Aug-87
Feb-88
Aug-88
Feb-89
Actual
Aug-89
Feb-90
Amit Mitra
Aug-90
Feb-91
Aug-91
Predicted
Feb-92
Aug-92
IIP (growth rate)
Feb-93
Aug-93
Feb-94
Aug-94
Feb-95
Aug-95
Feb-96
Neuro-Genetic forecasting model of
Aug-96
Feb-97
52
Some Text Books
Introduction to Time Series and Forecasting-
P.J.Brockwell & R.A.Davies