Time Series Analysis Using e Views
Time Series Analysis Using e Views
Starting EVIEWS
Applied Regression Analysis
Linear regression, Dynamics, Dummy variables,
Causality analysis, VARs.
Nonstationary Models
Unit roots, Cointegration, Vector error correction
modelling (VECM).
Model Evaluation
3
STARTING EVIEWS
What is EViews?
4
Start Eviews
Select File/New/Workfile
Defining the Workfile
6
Defining the Workfile
7
Start Eviews
Select File/New/Workfile
Enter the frequency and the range
Entering Frequency and Range
8
APPLIED REGRESSION
ANALYSIS
30 Linear regression
Linear Regression with One Regressor
31
50
Heteroskedasticity test
51
Heteroskedasticity test
52
53 System Equation
System Equation
54
55
56
57
58 Dynamics Linear regression
Dynamics Linear regression
59
ADL Model
60
ADL Model
61
62 Causality analysis
Causality analysis
63
Causality analysis
64
65 VARs
Vector autoregression VAR
66
The VAR(1) model
67
68
VAR Estimate
69
VAR Estimate
70
VAR Estimate
71
VAR Lag Order
72
Impulse Response function (IRF)
73
Impulse Response function (IRF)
74
Variance Decomposition
75
Variance Decomposition
76
77
NONSTATIONARY
MODELS
The Procedure to Analysis
78
Economic
Economic or
or Financial
Financial Theory
Theory
Summary
Summary Statistics
Statistics of
of Data
Data
If reject
not reject
Linear
Linear Model
Model Nonlinear
Nonlinear Model
Model
Basic Advanced
Econometric Econometric
The Procedure to Analysis
79
Time
Time Series
Series Data
Data
Unit
Unit Root
Root Test
Test
Non-Stationarity Staionaruty
Dickey-Fuller
Augmented DF
Orders of Integration H0: Yt ~ I(1)
The same Difference H1: Yt ~ I(0)
Phillips-Perron
VAR in
E-G DF-GLS, NP
Level
J-J ARDL
Bounding H0: Yt ~ I(0)
H-I KPSS
KPSS
Test
H1: Yt ~ I(1)
Cointegration Test
The Procedure to Analysis
80
Unit
Unit Root
Root Test
Test
Staionaruty
Cointegration
Cointegration Test
Test
Yes No
UECM
(Pesaran et
VECM al., 2001) VAR in
VAR in
Level
differ
Model
Model Specification
Specification
The Procedure to Analysis
81
Model
Model Estimation
Estimation
Economic or Finance
Implication
Heteroskedastic Goodness-of-fit
ACH-LM Teat R square
Series autocorrelation
sationarity
Ljung-Box Q, Q 2
CUSUM (square)
83 Unit roots
Stationary Time Series
Time Series modeling
A series is modeled only in terms of its own past values and
some disturbance.
Autoregressive, AR (1)
yt 0 1 yt u t ut ~ WN (0, ) 2
84
Stationary Time Series
Box-Jenkins (1976) ARMA (p, q) model
yt 0 1 yt 1 p yt p ut 1ut 1 q ut q
p q
0 i yt i i u1i
i 1 i 0
i 1
i 1
85
Stationary Time Series
The determination of the order of an ARMA process
Autocorrelation function (ACF)
cov( yt , yt por q )
( por q)
var( yt )
i2 p
Q( p
Ljung-Box T (T 2)
Q) statistic ~ p2
i 1 T - i 86
Stationary Time Series
87
e series is AR(1)
P* = 1
Non-stationary Time Series
88
• Yt ~ I(2) = D d 2 y y y 2 y
t t t 1 t
yt 0 1t t ŷt
Non-stationary Time Series
iid
Yt t rt t t ~ N (0, 2 )
KPSS
89
Non-stationary Time Series
90
k parameters
T observations
SSR sum of squared residuals
Non-stationary Time Series
91
Reject H0
Non-stationary Time Series
t u
uerror term
Step 2:
t 1 t ADF Unit Root Test
H0 : 0
Hypothesis
H1 : 0
If reject H0, u
t~I(0
)
We support PPP
92
93 Cointegration
Cointegration
94
Cointegration
95
96 Vector error correction modelling (VECM).
Vector error correction modelling (VECM).
97
Vector error correction modelling (VECM).
98
99
MODEL
Model
100
Model
101
Model/variable
102
Solve the model
103
Extended the range
104
Solution sample
105
Forecast variables
106
GDP forecast
107
25
20
15
10
0
1980 1985 1990 1995 2000 2005 2010 2015 2020
In sample forecast
108
50,000
40,000
30,000
20,000
10,000
0
1980 1985 1990 1995 2000 2005 2010 2015 2020
SEASONAL
ADJUSTMENT
110
111
112
113
114
115
116
Log Transformations
117
additive relationships
Increases/decreases can be thought of in terms
of percentages
Problem: Extreme Values
118
Solution:
These effects can be estimated also, but they can be
difficult to estimate when seasonality and trend are
present
119
120
121
Multiplicative model:
Yt = St´ × Tt × It Additive model:
Yt = St´ + Tt + It
= St ´ × N t
= St´ + Nt
where
where
St´ = St × TDt × Ht
St´ = St + TDt + Ht
Hodric-prescott filter
123
124
125
2,500
2,000
300
200 1,500
100 1,000
0
500
-100
-200
-300
92 94 96 98 00 02 04 06 08 10 12
2,800
2,400
2,000
1,600
1,200
800
92 94 96 98 00 02 04 06 08 10 12 14 16 18 20
GDP_SA
GDP_TC
Real Gross Domestic Product At Market Prices
Tramo-filter
130
131
50,000
40,000
30,000
20,000
10,000
0
92 94 96 98 00 02 04 06 08 10 12 14 16 18 20