Time Series Analysis With Eviews
Time Series Analysis With Eviews
1
References
by Damodar N. Gujarati
by
Chris Brooks
by Walter
Enders
•Econometrics by Examples by Damodar
Gujarati
2
Types of Data
•Cross Sectional data: Data on one or more
variables from more than one units collected at the
same point in time.
•Time Series data: Data on one/more variable/s
ordered chronologically from one unit.
•Panel data: Combines features of both cross-
section and time series data
3
Examples of issues addressed by analysing time series data
5
Basic Requirements Before
Analysing Time Series
•Graphically Present the data to detect outliers.
•Check for stationarity : A time series is strictly
stationary if all the moments of its probability
distribution are invariant over time. In most of
the practical situations weakly stationary
suffices. In weakly stationary mean and variance
and auto-covariance(at various lags) remain
constant over time.
6
Graphical Presentation of data to detect outliers
7
Why Stationary Time Series
•Spurious Regression- example Regression
between salary of bank employees in India and
death rate in Iraq.
8
Diagnostic Tools for Stationary Time
Series
• Time Series Plot: If the time series is not stationary, it will not
hover around the mean
• Autocorrelation Function (ACF) and Correlogram
The ACF at lag k is defined as:
k
k
0
FUTURES
4,800
4,400
4,000
3,600
3,200
2,800
2,400
2,000
1,600
0 09 0 10 0 11 0 12 0 13 0 14
2 /2 /2 /2 /2 /2
1/ /1 /1 /2 /1 /1
1/ 1 1 1 1 1
10
Stationary: Other names- Non-explosive, mean reversion
FUTURESRETURN
.06
.04
.02
.00
-.02
-.04
-.06
9
4
0
1
20
20
20
20
20
20
1/
1/
1/
2/
1/
1/
1/
1/
1/
1/
1/
1/
11
Correlogram of a non stationary Time Series
12
Correlogram of a stationary time series.
13
Regression equation for The Augmented Dickey-Fuller
(ADF)
m
Yt 1 2t Yt 1 iY t 1 t
i 1
14
Transforming Non Stationary
Time Series:
A non stationary time series may be difference
stationary or trend stationary, if it is differenced
stationary, it may be transformed to make it stationary
by any of the following two ways:
X t X t Xt 1
or
15
Null Hypothesis: FUTURES has a unit root
Exogenous: Constant, Linear Trend
Lag Length: 0 (Automatic - based on SIC, maxlag=24)
t-Statistic Prob.*
16
Null Hypothesis: FUTURESRETURN has a unit root
Exogenous: None
Lag Length: 0 (Automatic - based on SIC, maxlag=24)
t-Statistic Prob.*
17
Models applied on stationary and
non stationary time series
Stationary Series Non Stationary Series
• OLS •Cointegration Test
• ARMA ARIMA •Error Correction Model
• Granger Causality Test
• VAR
• ARCH family of models
18
19