Autoregressive and Distributed
Download
Report
Transcript Autoregressive and Distributed
Agung Harjaya Buana
Budi Suhendar
Krismiyati
Yogi Sugiawan
Yusuf Wicaksono
Static Models
β’ A time series model where only
contemporaneous explanatory variables affect
the dependent variable
β’ Relate a time series variable to other time series
variables
β’ The effect is assumed to operate within a same
period
Dynamic Models
β’ A time series model where the lagged value of
explanatory variables and/or dependent variable
affect the present value of dependent variable
ππ‘ = πΌ + π½0 ππ‘ + π½1 ππ‘β1 + π½2 ππ‘β2 + π’π‘
ππ‘ = πΌ + π½ππ‘ + πΎππ‘β1 + π’π‘
What is the role of lags in economics?
ο What are the reasons for the lags?
ο Is there any theoretical justification for the
commonly used lagged models in empirical
econometrics?
ο What is the relationship, if any, between
autoregressive and distributed lag models? Can
one be derived from the other?
ο What are some of the statistical problems
involved in estimating such models?
ο Does a lead-lag relationship between variables
imply causality? If so, how does one measure it?
ο
DistributedLag Model
OLS
Almon
Aproach (PDL)
LAG
Autoregressive
Model
Koyck
Approach
Instrumental
Variable
Causality
Adaptive
Expectations
Granger
Causality Test
PAM
ππ‘ = πΌ + π½0 ππ‘ + π½1 ππ‘β1 + π½2 ππ‘β2 + β― + π½2 ππ‘βπ + π’π‘
Examples
β’ The consumption function
β’ Demand deposit (creation of bank
money)
β’ Link between money and prices
β’ Lag between R&D expenditure and
productivity
β’ The J curve of international economic
β’ The accelerator model of investment
Psychological
Technological
Institutional
Lags
ππ‘ = πΌ + π½0 ππ‘ + π½1 ππ‘β1 + π½2 ππ‘β2 + β― + π’π‘
ππ‘ = 8.37 + 0.171 ππ‘
ππ‘ = 8.27 + 0.111 ππ‘ + 0.064ππ‘β1
ππ‘ = 8.27 + 0.109 ππ‘ + 0.071ππ‘β1 β 0.055ππ‘β2
ππ‘ = 8.32 + 0.108 ππ‘ + 0.063ππ‘β1 + 0.022ππ‘β2 β 0.020ππ‘β3
π½π = π½0 ππ
π = 0,1, β¦
β
π½π = π½0
π=0
1
1βπ
ππ‘ = πΌ + π½0 ππ‘ + π½0 πππ‘β1 + π½0 π2 ππ‘β2 + β― + π’π‘
ππ‘β1 = πΌ + π½0 ππ‘β1 + π½0 πππ‘β2 + π½0 π2 ππ‘β3 + β― + π’π‘β1
πππ‘β1 = ππΌ + ππ½0 ππ‘β1 + π½0 π2 ππ‘β2 + π½0 π3 ππ‘β3 + β― + ππ’π‘β1
ππ‘ β πππ‘β1 = πΌ 1 β π + π½0 ππ‘ + (π’π‘ β ππ’π‘β1 )
ππ‘ = πΌ 1 β π + π½0 ππ‘ + πππ‘β1 + [π’π‘ β ππ’π‘β1 ]
log 2
ππππππ πΏππ = β
log π
ππππ πΏππ =
π
1 βπ
ππ‘ = π½0 + π½1 π β π‘ + π’π‘
π β π‘ β π β π‘β1 = πΎ (ππ‘ β π β π‘β1 )
ππ‘ = π½0 + π½1 πΎππ‘ + 1 β πΎ π β π‘β1 ) + π’π‘
ππ‘ = πΎπ½0 + πΎπ½1 ππ‘ + 1 β πΎ ππ‘β1 + [π’π‘ β 1 β πΎ π’π‘β1 ]
π β π‘ = π½0 + π½1 ππ‘ + π’π‘
ππ‘ β ππ‘β1 = πΏ (π β π‘ β ππ‘β1 )
ππ‘ = πΏπ β π‘ + (1 β πΏ)ππ‘β1
ππ‘ = πΏπ½0 + πΏπ½1 ππ‘ + 1 β πΏ ππ‘β1 + πΏπ’π‘
Comments
β’ The PAM model resembles
both the Koyck and the AE
model in that it is
autoregressive
β’ Its disturbance term is
simpler
PAM vs AE Model
The gradual adjustment due to rigidities
β’ AE model is based on
uncertainty of the future
(interest rate, prices, etc)
β’ PAM model is based on
technical or institutional
rigidities
Koyck and AEM
ππ‘ = πΌ 1 β π + π½0 ππ‘ + πππ‘β1 + [π’π‘ β ππ’π‘β1 ]
ππ‘ = πΎπ½0 + πΎπ½1 ππ‘ + 1 β πΎ ππ‘β1 + [π’π‘ β 1 β πΎ π’π‘β1 ]
β’ Presence of stochastic explanatory
variables and possibility of serial
correlation.
β’ Cannot be estimated by using OLS
Partial Adjustment
β’ OLS estimation of PAM yield consistent
estimates although tend to bias.
ππ‘ = πΏπ½0 + πΏπ½1 ππ‘ + 1 β πΏ ππ‘β1 + πΏπ’π‘
ππ‘ = πΌ0 + πΌ1 ππ‘ + πΌ2 ππ‘β1 + π£π‘
Comments
β’ Although PAM provides consstent
estimation, one should not assume that it
applies rather than the Koyck or adaptive
expectations model.
β’ A model should be chosen on the basis of
strong theoretical considerations.
OLS for Koyck and AEM
β’Cannot be used because the explanatory variable tends to be
correlated with error term
β’Can be used if the correlation can be removed
How to Remove It?
β’Use a proxy called Instrumental Variable (IV)
β’Based on Liviatan suggestion, Xt-1 is the instrumental variable for Yt-1
Does It Solve the Problem?
β’No, a problem with multicollinearity occurs
β’Thus, although Liviatan procedure yields consistent estimates, the
estimator are likely to be inefficient
How to Find a Good Proxy?
β’Refer to the previous presentation
Can we use d stat?
β’ No, we cannot, because the computed d value in
such model generally tends toward 2
How to detect it?
β’ Durbin propose the h statistic test
π
β= π
1 β π[π£ππ πΌ2 ]
β’ where
π
πβ1β
2
Features of the h statistic
β’ To compute h, we need consider only the
variance of the coefficient of the lagged
Yt-1
β’ The test is not applicable if [nvar(a2)]
exceeds 1
β’ Since the test is a large-sample test, its
application in small samples is not strictly
justified (Inder and Kiviet). It has been
suggested to use the more powerful test,
the BG test.
Koyck Scheme
Almon Polynomial-Lag Scheme
1st Step
β’ Rewrite the finite distributed-lag model into a more compact
form:
π
ππ‘ = πΌ +
π½π ππ‘βπ + π’π‘
π=0
2nd Step
β’ By following the Weierstrassβ theorem, Almon assumes that Ξ²i
can be approximated by:
π½π = π0 + π1 π + π2 π 2 + β― + ππ π π
3rd Step
β’ Substitutes the equation from the second step to the first step
we get:
π
(π0 + π1 π + π2 π 2 + β― + ππ π π )ππ‘βπ + π’π‘
ππ‘ = πΌ +
π=0
4th Step
β’ Defines new variables Zβs:
π
π
π0π‘ =
ππ‘βπ ;
π=0
π1π‘ =
π
πππ‘βπ ; β¦ β¦ ;
π=0
π π ππ‘βπ
πππ‘ =
π=0
5th Step
β’ Rewrite the equation in the third step by using the
new variables
ππ‘ = πΌ + π0 π0π‘ + π1 π1π‘ + β― + ππ πππ‘ + π’π‘
6th Step
β’ Estimates the equation on the fifth
step by using OLS
β’ Satisfies the CLRM assumption
β’ Estimates Ξ² from aβs:
π½0 = π0
π½1 = π0 + π1 + π2
π½2 = π0 + 2π1 + 4π2
π½3 = π0 + 3π1 + 9π2
π·π = ππ + πππ + ππ ππ
Determine the Length of Lag (AIC or SIC)
Omission of relevant variable
bias
Inclusion of irrelevant variable
bias
Degree of Polynomial
Number of turning points
the choose of m is subjective
Constructing Zβs
π
π π ππ‘βπ
πππ‘ =
π=0
Imply Causality
β’ . . . time does not run backward. That is, if event A
happens before event B, then it is possible that A is
causing B. However, it is not possible that B is causing
A. In other words, events in the past can cause events
to happen today. Future events cannot β¦
Predictive Causality
β’ . . . the statement βyi causes yjβ is just shorthand for
the more precise, but longwinded, statement, βyi
contains useful information for predicting yj (in the
linear least squares sense), over and above the past
histories of the other variables in the system.β To save
space, we simply say that yi causes yj
GDP and Money Supply
π
πΊπ·ππ‘ =
π
πΌπ ππ‘β1 +
π=1
π
ππ‘ =
π½π πΊπ·ππ‘β1 + π’1π‘
π=1
π
ππ ππ‘β1 +
π=1
πΏπ πΊπ·ππ‘β1 + π’2π‘
π=1
β’ Assumes that u1t and u2t are uncorrelated
Four Possible Cases from F-test
β’ Unidirectional causality from GDP to M
β’ Unidirectional causality from M to GDP
β’ Feedback, or bilateral causality
β’ Independence
1st Step
β’ Regress current GDP on all lagged GDP terms and
other variables (if any)
β’ Calculate the restricted residual sum of squares, RSSR
2nd Step
β’ Regress all variables including the lagged M terms
β’ Calculate the unrestricted residual sum of squares,
RSSUR
3rd Step
β’ The null hypothesis is H0: Ξ±i = 0, i = 1,2,β¦, n, that is
lagged M terms do not belong in the regression
4th Step
5th Step
6th Step
β’.
(π
πππ
β π
ππππ
)/π
πΉ=
π
ππππ
/(π β π)
β’ If the computed F value exceeds the critical F value at
the chosen level of significance, we reject the null
hypothesis
β’ M causes GDP
β’ Repeat steps 1 to 5 to test whether GDP causes M
Stationarity
β’ We have to be sure that all variables are stationary, if
they are not, make them stationary
β’ Beware of spurious causality
Number of Lag
β’ AIC or SIC
β’ The direction of causality may depend critically on
the number of lagged terms included
No Autocorrelation
β’ Make sure that the error terms entering the causality
test are uncorrelated
Exogeneity
Weak
Estimating
and Testing
Strong
Forecasting
Super
Policy
Analysis
Koyck, AEM and PAM
β’ The Koyck is developed based on a purely algebraic
approach, meanwhile the AEM and PAM are built based on
economic principles
β’ A unique feature of all of those model is that they all are
autoregressive in nature
β’ Bias and inconsistency are the case with the Koyck and
AEM. To overcome them, we can use the instrument
variable
Almon PDL
β’ Avoid the estimation problems associated with
autoregressive model
β’ Problems in determining the lag length and the degree of
the polynomial