Vector Autogregression and Impulse Response Functions
|
|
- Rosemary Hubbard
- 5 years ago
- Views:
Transcription
1 Chapter 8 Vector Autogregression and Impulse Response Functions 8.1 Vector Autogregressions Consider two sequences {y t } and {z t }, where the time path of {y t } is affected by current and past realizations of the {z t } sequence. Moreover, the time path of the {z t } sequence is also affected by current and past realizations of the {y t } sequence. Assuming that both variables are stationary we model them symmetrically, for example, in the following system: y t = b 10 + b 12 z t + γ 11 y t 1 + γ 12 z t 1 + ε yt (8.1) z t = b 20 + b 21 y t + γ 21 y t 1 + γ 22 z t 1 + ε zt (8.2) where {ε yt } and {ε zt } are uncorrelated white-noise disturbances, and the standard deviations of ε yt and ε zt are σ y and σ z, respectively. We say that Equations 8.1 and 8.2 are first-order vector autoregression (VAR) because the longest lag is equal to one. These are not reduced-form equations because of the existence of contemporaneous effects. Using matrix algebra we can write the system in its compact form or where 1 b12 b 21 1 B= yt z t = b10 b 20 γ11 γ + 12 γ 21 γ 22 yt 1 z t 1 + εyt Bx t = Γ 0 +Γ 1 x t 1 + ε t (8.3) 1 b12, x b 21 1 t = yt z t γ11 γ Γ 1 = 12, ε γ 21 γ t = 22, Γ 0 = εyt ε zt b10 b 20 ε zt 89
2 90 8 Vector Autogregression and Impulse Response Functions An also familiar form to express the VAR is in its standard from x t = A 0 + A 1 x t 1 + e t (8.4) which is obtained by premultiplying the compact form by B 1, and where A 0 = B 1 Γ 0, A 1 = B 1 Γ 1, and e t = B 1 ε t. This last equation can also be written as: y t = a 10 + a 11 y t 1 + a 12 z t 1 + e 1t (8.5) z t = a 20 + a 21 y t 1 + a 22 z t 1 + e 2t (8.6) where each a i0 is the element i of the vector A 0, a i j is the element in row i and column j of the matrix A 1, and e it is element i of vector e t. These equations 8.5 and 8.6 are called VAR standard form, while equations 8.1 and 8.2 are the referred to as the structural VAR. The variance/covariance matrix of the shocks e 1t and e 2t is defined as var(e1t ) cov(e Σ = 1t,e 2t ) cov(e 1t,e 2t ) var(e 2t ) and because the elements in Σ do not depend on time, we can also write matrix Σ as σ 2 Σ = 1 σ 12 σ 21 σ2 2 where obviously σ 2 1 = var(e 1t), σ 2 2 = var(e 2t), and σ 21 = σ 21 = cov(e 1t,e 2t ). Recall that in the multivariate GARCH we were modeling this matrix Σ = H to depend on time, without focusing on the mean equations of y t and z t Stationarity Conditions For the same reason that in the simple first-order autoregressive model we needed that the autoregressive term be less than one, the VAR processes also need to some stationarity conditions to hold. Let s use the lag operators to rewrite Equations 8.5 and 8.6 as or y t = a 10 + a 11 Ly t + a 12 Lz t + e 1t (8.7) z t = a 20 + a 21 Ly t + a 22 Lz t + e 2t (8.8) (1 a 11 L)y t = a 10 + a 12 Lz t + e 1t (8.9) (1 a 22 L)z t = a 20 + a 21 Ly t + e 2t (8.10)
3 8.1 Vector Autogregressions 91 Solving for y t and z t we obtain 1 y t = a 10(1 a 22 )+a 12 a 20 +(1 a 22 L)e 1t + a 12 e 2t 1 (1 a 11 L)(1 a 22 L) a 12 a 21 L 2 (8.11) z t = a 20(1 a 11 )+a 21 a 10 +(1 a 11 L)e 2t + a 21 e 1t 1 (1 a 11 L)(1 a 22 L) a 12 a 21 L 2 (8.12) where as long as a 12 and a 21 are not both equal to zero, Equations 8.11 and 8.12 both have the same characteristic equation. Convergence requires that the root of the polynomial(1 a 11 L)(1 a 22 L) a 12 a 21 L 2 must lie outside the unit circle. For a formal treatment for the stability conditions see Appendix 6.1 in Enders (2010) Dynamics in Simulated VAR Models To obtain an intuition of the dynamics of VAR models, we will simulate four different sequences y t and z t for different values of a i j (i = 1,2, j = 0,1,2) in Equations 8.5 and 8.6. The first two are stationary, while the last two are not stationary. 1. The processes y1 t and z1 t are generated with y1 t = 0.7y1 t z1 t 1 + e 1t (8.13) z1 t = 0.2y1 t z1 t 1 + e 2t (8.14) where the roots of the polynomial (1 a 11 L)(1 a 22 L) a 12 a 21 L 2 are 1.11 and 2.0. Because both lie outside the unit circle, the system is stationary. 2. The processes y2 t and z2 t are generated with y2 t = 0.5y2 t 1 0.2z2 t 1 + e 1t (8.15) z2 t = 0.2y2 t z2 t 1 + e 2t (8.16) where the roots of the polynomial(1 a 11 L)(1 a 22 L) a 12 a 21 L 2 are and Again, because both lie outside the unit circle, this system is also stationary. The upper panel in Figure 8.1 illustrates the first two processes (y1 t and z1 1 ), while the lower panel illustrates the other two (y2 t and z2 t ). The Stata code to generate the processes and the graphs is: clear set obs 150 set seed gen time=_n tsset time gen white1=invnorm(uniform()) set seed gen white2=invnorm(uniform()) gen y1 = 0 1 For the details, see Enders (2010) page 301.
4 92 8 Vector Autogregression and Impulse Response Functions Simulated Stationary VAR Processes y1 and z time y1 z1 y2 and z time y2 z2 Fig. 8.1 Simulated Stationary VAR Processes gen z1 = 0 forvalues iter=2/150 { replace y1 = 0.7*l.y *l.z1 + white1 if time == iter replace z1 = 0.2*l.y *l.z1 + white2 if time == iter } twoway line y1 z1 time, m(o) c(l) scheme(sj) /// ytitle( "y1 and z1" ) saving(one, replace) gen y2 = 0 gen z2 = 0 forvalues iter=2/150 { replace y2 = + 0.5*l.y2-0.2*l.z2 + white1 if time == iter replace z2 = - 0.2*l.y *l.z2 + white2 if time == iter } twoway line y2 z2 time, m(o) c(l) scheme(sj) /// ytitle( "y2 and z2" ) saving(two, replace) gr combine one.gph two.gph, col(1) /// iscale(0.7) fysize(100) /// title( "Simulated Stationary VAR Processes" ) The upper panel of the figure shows that there is a tendency for the sequences to move together. Because a 21 is positive, large realizations of y1 t induce a large realization of z t+1. Likewise, because a 12 is positive, a large realization of z t induce a large a large realization of y t+1. Here the two series are positively correlated,
5 8.1 Vector Autogregressions 93 Cross-correlations of y1 and z Cross-correlogram Lag Fig. 8.2 Cross correlogram for the simulated processes y1 t and z1 t which can be easily checked by looking at the cross correlogram in Figure 8.2 obtained using Equation In the lower panel a 21 and a 12 are both negative, so positive realizations of y t can be associated with negative realizations of z t+1 and vise versa. In this case the two series are negatively correlated The processes y3 t and z3 t are generated with 4. The processes y4 t and z4 t are generated with The Stata code to obtain cases 3 and 4 is: y3 t = 0.5y3 t z3 t 1 + e 1t (8.17) z3 t = 0.5y3 t z3 t 1 + e 2t (8.18) y4 t = 0.5y4 t z4 t 1 + e 1t (8.19) z4 t = y4 t z4 t 1 + e 2t (8.20) gen y3 = 0 gen z3 = 0 forvalues iter=2/150 { replace y3 = + 0.5*l.y *l.z3 + white1 if time == iter 2 Please see at the end of the chapter for the Stata codes to generate the cross correlogram in Figure 8.2.
6 94 8 Vector Autogregression and Impulse Response Functions Simulated Nonstationary VAR Processes y3 and z time y3 z3 y4 and z time y4 z4 Fig. 8.3 Simulated Nonstationary VAR Processes replace z3 = + 0.5*l.y *l.z3 + white2 if time == iter } twoway line y3 z3 time, m(o) c(l) scheme(sj) /// ytitle( "y3 and z3" ) saving(three, replace) gen y4 = 0 gen z4 = 0 forvalues iter=2/150 { replace y4 = *l.y *l.z4 + white1 if time == iter replace z4 = *l.y *l.z4 + white2 if time == iter } twoway line y4 z4 time, m(o) c(l) scheme(sj) /// ytitle( "y4 and z4" ) saving(four, replace) gr combine three.gph four.gph, col(1) /// iscale(0.7) fysize(100) /// title( "Simulated Nonstationary VAR Processes" ) Figure 8.3 shows two processes with unit root. There is little tendency in these series (upper and lower panels) to revert to a constant long-run value. The upper panel shows a multivariate generalization of the random walk model. The lower panel shows how the value of a 10 = 0.5 acts as a drift for both of the series. The drift appears as a deterministic trend that makes these series nonstationary, along with the generalized random walk process.
7 8.1 Vector Autogregressions Estimation Forecasting Consider the simple first-order model presented in Equation 8.4 and reproduced here x t = A 0 + A 1 x t 1 + e t. (8.21) Once the coefficients A 0 and A 1 are estimated using data until period T, it is easy to obtain the one-step ahead forecast as: E T x T+1 = A 0 + A 1 x T. (8.22) Likewise, the two-step ahead forecast can be obtain recursively using: E T x T+2 = A 0 + A 1 E T x T+1 = A 0 + A 1 A 0 + A 1 x T. (8.23) However, because usually VAR models are overparameterized, this forecast may be unreliable. One alternative is to drop statistically significant coefficients and estimate the remaining model using Seemingly Unrelated Regressions (SUR) Identification There are basically two representations for the VAR. The structural VAR as presented in Equations 8.1 and 8.2 and the standard form VAR, as presented in Equations 8.5 and 8.6. Because of the feedback in the VAR process, the structural VAR cannot be directly estimated. Notice that z t is correlated with the error term ε yt and that y t is correlated with the error term ε zt. This is a problem because standard estimation techniques require the regressors to the uncorrelated with the error term. However, this problem does not arise in the standard form VAR, where OLS can be used to obtain estimates of A 0 and A 1. Then the key question is whether we can use the OLS estimated of A 0 and A 1 to retrieve the structural VAR estimates. The short answer is no, unless we are willing to impose restrictions on the structural VAR equations. The reason is simple, in the structural VAR we need to estimate eight coefficients (b 10, b 20, b 12, b 21, γ 11, γ 12, γ 21, and γ 22 ) and there are two standard deviations (σ y and σ z ), while in the standard form VAR there are only six coefficient estimates (a 10, a 20, a 11, a 12, a 21, and a 2 ) and we calculate three additional values (var(e 1t ), var(e 2t ), cov(e 1t,e 2t )). That is, the standard form has 9 parameters and the structural needs 10. Hence, we say that the structural VAR is underidentified. A simple identification strategy is to impose a restriction such as b 21 = 0, so that the structural VAR becomes y t = b 10 + b 12 z t + γ 11 y t 1 + γ 12 z t 1 + ε yt (8.24) z t = b 20 + γ 21 y t 1 + γ 22 z t 1 + ε zt (8.25)
8 96 8 Vector Autogregression and Impulse Response Functions This means that z t has a contemporaneous effect on y t, but y t can only affect the {z t } sequence with one lag. The resulting system is exactly identified. B 1 is 1 b12 B= 0 1 Premultiplying the structural VAR system by B 1 yields yt 1 b12 b10 1 b12 γ11 γ = + 12 z t γ 21 γ 22 or yt z t = b12 b 12 b 20 b 20 b 20 yt 1 γ11 + b + 12 γ 21 γ 12 b 12 γ 22 γ 21 γ 22 z t 1 1 b yt 1 z t 1 After estimating A 0 and A 1 we have the following nine equations: εyt ε zt εyt b + 12 ε zt a 10 = b 12 b 12 b 20 (8.26) a 20 = b 20 (8.27) a 11 = γ 11 + b 12 γ 21 (8.28) a 12 = γ 12 b 12 γ 22 (8.29) a 21 = γ 21 (8.30) a 22 = γ 22 (8.31) e 1t = ε yt b 12 ε zt (8.32) e 2t = ε zt (8.33) var(e 1 ) = σ 2 y + b 2 12σ 2 z (8.34) var(e 2 ) = σ 2 z (8.35) cov(e 1,e2) = b 12 σ 2 z (8.36) that can be used to obtain b 10, b 12, γ 11, γ 12, b 20, γ 21, γ 22, σ 2 y, and σ 2 z. ε zt 8.2 The Impulse Response Function Is we write the standard form VAR in matrix form we have yt a10 a11 a = + 12 yt 1 + z t a 21 a 22 z t 1 a 20 Recall that every autoregressive process has a moving-average representation. The same is true for VAR, where the moving-average representation is called the vector moving average (VMA). The idea in the moving average representations is to write the current values of y t and z t in terms of the current and past values of the shocks. e1t e 2t
9 8.2 The Impulse Response Function 97 The moving-average representation of the above system is: 3 yt z t = ȳt + z t i=0 i a11 a 12 e1t i a 21 a 22 e 2t i While these VMA are written in terms of e 1t i and e 2t i, we can use e t = B 1 ε t to write the VMA in terms of ε yt and ε zt : yt z t = ȳt z t b 12 b 21 i=0 a11 a 12 a 21 a 22 i 1 b12 b 21 1 A simplified way of writing this moving-average representation is: yt ȳt φ11 (i) φ = + z t 12 (i) εyt i φ 21 (i) φ 22 (i) z t i=0 where φ jk (i) are just elements of the φ i matrix: φ i = A i 1 1 b 12 b 21 1 b12 b 21 1 ε zt i εyt The moving-average representation is important because it allows examining the interaction between the {y t } and {z t } sequences. The coefficients φ i are used to generate the effects of shocks ε yt and ε zt on the entire time paths of the{y t } and{z t } sequences. The impact multipliers are the four elements φ jk (0). Likewise, φ ik (1) are the one-period responses and so on. The impulse response functions are the four sets of coefficients φ 11 (i), φ 12 (i), φ 21 (i), and φ 22 (i). They are usually presented using a plot of φ jk (i) against i. To illustrate the impulse response functions, we will use the same simulated sequences as before. That is, the processes y1 t and z1 t generated with ( y1t z1 t ) = ( ) ( y1t 1 and the processes y2 t and z2 t are generated with ( ) ( ) y2t = z2 t z1 t 1 ( y2t 1 z2 t 1 ) + ) + ( e1t e 2t ) ( e1t To keeps things simple we impose the restrictions b 12 = b 21 = 0, such that the structural VAR is the same as the standard form VAR. Figure 8.4 shows the responses of the sequences {y1 t } and {z1 t } to e 1t and e 2t. Likewise, Figure 8.5 shows the responses of the sequences{y2 t } and{z2 t } to e 1t and e 2t. Notice the symmetry in the impulse response functions. This is just coming from the symmetry in the VARs. e 2t ) ε zt 3 This one is obtained by backward iteration and assuming that the stability conditions are met.
10 98 8 Vector Autogregression and Impulse Response Functions Impulse Response Functions Response to e1t shock Response to e2t shock time y1 z time y1 z1 Fig. 8.4 Impulse Response Functions for the Simulated Processes y1 and z1 8.3 Estimation in Stata Vector Autoregressions Models Estimation of VAR models in Stata is initially a simple task, but you have to make sure you understand the options because Stata may impose different identifying restrictions in the structural VAR. Consider the following example use clear tsset var dln_inv dln_inc if qtr>=tq(1961q2), lags(1/2) Vector autoregression Sample: 1961q2-1982q4 No. of obs = 87 Log likelihood = AIC = FPE = 2.80e-07 HQIC = Det(Sigma_ml) = 2.23e-07 SBIC = Equation Parms RMSE R-sq chi2 P>chi dln_inv dln_inc Coef. Std. Err. z P> z 95% Conf. Interval dln_inv dln_inv L
11 8.3 Estimation in Stata 99 Impulse Response Functions Response to e1t shock Response to e2t shock time time y2 z2 y2 z2 Fig. 8.5 Impulse Response Functions for the Simulated Processes y2 and z2 L dln_inc L L _cons dln_inc dln_inv L L dln_inc L L _cons There is a number of selection-order statistics to assist in fitting the VAR of the correct order. A useful command in Stata is varsoc, which computes the following four information criteria: the final prediction error (FPE), the Akaike s information criterion (AIC), the Hannan and Quinn information criterion (HQIC), and the Schwarzs Bayesian information criterion(sbic). varsoc dln_inv dln_inc Selection-order criteria Sample: 1961q2-1982q4 Number of obs = lag LL LR df p FPE AIC HQIC SBIC e * * * e-07* *
12 100 8 Vector Autogregression and Impulse Response Functions.06 varbasic, dln_inc, dln_inc varbasic, dln_inc, dln_inv varbasic, dln_inv, dln_inc varbasic, dln_inv, dln_inv step 95% CI orthogonalized irf Graphs by irfname, impulse variable, and response variable Fig. 8.6 Impulse Response Functions e e e Endogenous: dln_inv dln_inc Exogenous: _cons Impulse Response Function Note that Stata reports the standard form VAR and will not be able to obtain the impulse response function (IRF) without further assumptions. The following command will estimate the same VAR and will provide the orthogonalized IRF: set scheme sj varbasic dln_inv dln_inc, lags(1/2) The orthogonalized impulse-response functions is imposing the cholesky decomposition in the structure of the errors. In simple words, it is setting b 21 = 0 when going from the standard form VAR to the structural VAR. Notice that the order in which you place the variables in the varbasic command is important because a different order will impose a different restriction on the structure of the errors. Try estimating: varbasic dln_inc dln_inv, lags(1/2) and you will see that the standard form VAR as reported in the output is exactly the same as before, however, the IFR are different because of the different restriction. If you are willing to impose b 21 = b 12 = 0, then the IRF can be obtained using: irf graph irf
13 8.3 Estimation in Stata varbasic, dln_inc, dln_inc varbasic, dln_inc, dln_inv varbasic, dln_inv, dln_inc varbasic, dln_inv, dln_inv step 95% CI impulse response function (irf) Graphs by irfname, impulse variable, and response variable Fig. 8.7 Impulse Response Functions The resulting IRF is presented in Figure 8.7. Obviously, in this case the order is not important and by construction the size on the shock is one. Stata can estimate different structural VAR depending on the restrictions you are willing to impose, please see the manual for more details Stability Conditions If you want to test whether the stability conditions hold, Stata has the command varstable that will calculate the eigenvalues for the stability conditions. Consider the following example using the stationary processes {y1 t } and {z1 t } that we simulated before var y1 z1, lags(1/2) (output omitted) varstable Eigenvalue stability condition Eigenvalue Modulus All the eigenvalues lie inside the unit circle. VAR satisfies stability condition.
14 102 8 Vector Autogregression and Impulse Response Functions Now, consider the nonstationary processes{y4 t } and{z4 t } that we simulated earlier var y4 z4, lags(1/2) (output omitted) varstable Eigenvalue stability condition Eigenvalue Modulus At least one eigenvalue is at least 1.0. VAR does not satisfy stability condition. Note that when the system is not stationary, the IRF will not dissipate over time because by definition shocks will have a permanent effect on the series. Finally, including exogenous variables in the estimation is simple. var dln_inc dln_inv, lags(1/2) exog(dln_consump) (output omitted) The key assumptions are: (1) We know the exact form in which the exogenous variable enters the system. (2) We role out any feedback from the endogenous variable to the exogenous variable Granger Causality Consider the following model: y t = a 10 + z t = a 20 + p i=1 p i=1 a 11 (i)l i y t + a 21 (i)l i y t + p i=1 p i=1 a 12 (i)l i z t + e 1t (8.37) a 22 (i)l i z t + e 2t (8.38) One causality test is whether the lags of one variable enter into the equation for another variable. In the two-equation model above we say that {y t } does not Granger cause {z t } if and only if all the coefficients of the lags of y t on the z t equation are equal to zero. Hence, if {y t } does not improve the forecasting performance of {z t }, then{y t } does not Granger cause{z t }. Under the assumption that all the VAR variables are stationary, a direct way to test Granger causality is use the standard F-test of the restriction a 21 (1)=a 21 (2)=a 21 (3)= =a 21 (p)=0 (8.39) Consider the following example in Stata: use var dln_inv dln_inc dln_consump
15 8.4 Supporting.do files 103 (output omitted) vargranger Granger causality Wald tests Equation Excluded chi2 df Prob > chi dln_inv dln_inc dln_inv dln_consump dln_inv ALL dln_inc dln_inv dln_inc dln_consump dln_inc ALL dln_consump dln_inv dln_consump dln_inc dln_consump ALL which can also be carried out using a simple F-test: test dln_invl.dln_inc dln_invl2.dln_inc ( 1) dln_invl.dln_inc = 0 ( 2) dln_invl2.dln_inc = 0 chi2( 2) = 0.56 Prob > chi2 = A large p-value is evidence against the null. 8.4 Supporting.do files For Figures 8.3 and 8.4: clear set obs set seed gen time=_n tsset time gen white1=invnorm(uniform()) set seed gen white2=invnorm(uniform()) gen y1 = 0 gen z1 = 0 forvalues iter=2/ { replace y1 = 0.7*l.y *l.z1 + white1 if time == iter replace z1 = 0.2*l.y *l.z1 + white2 if time == iter } xcorr y1 z1, lags(40) gen y2 = 0 gen z2 = 0 forvalues iter=2/ { replace y2 = + 0.5*l.y2-0.2*l.z2 + white1 if time == iter replace z2 = - 0.2*l.y *l.z2 + white2 if time == iter } xcorr y2 z2, lags(40) Figure 8.8 presents the cross correlogram for the simulated processes y2 t and z2 t.
16 104 8 Vector Autogregression and Impulse Response Functions Cross-correlations of y2 and z Cross-correlogram Lag Fig. 8.8 Cross correlogram for the simulated processes y2 t and z2 t
Cointegration and Error-Correction
Chapter 9 Cointegration and Error-Correction In this chapter we will estimate structural VAR models that include nonstationary variables. This exploits the possibility that there could be a linear combination
More informationLecture#17. Time series III
Lecture#17 Time series III 1 Dynamic causal effects Think of macroeconomic data. Difficult to think of an RCT. Substitute: different treatments to the same (observation unit) at different points in time.
More informationAutoregressive and Moving-Average Models
Chapter 3 Autoregressive and Moving-Average Models 3.1 Introduction Let y be a random variable. We consider the elements of an observed time series {y 0,y 1,y2,...,y t } as being realizations of this randoms
More informationTitle. Description. var intro Introduction to vector autoregressive models
Title var intro Introduction to vector autoregressive models Description Stata has a suite of commands for fitting, forecasting, interpreting, and performing inference on vector autoregressive (VAR) models
More informationMultivariate Time Series
Multivariate Time Series Fall 2008 Environmental Econometrics (GR03) TSII Fall 2008 1 / 16 More on AR(1) In AR(1) model (Y t = µ + ρy t 1 + u t ) with ρ = 1, the series is said to have a unit root or a
More informationBrief Sketch of Solutions: Tutorial 3. 3) unit root tests
Brief Sketch of Solutions: Tutorial 3 3) unit root tests.5.4.4.3.3.2.2.1.1.. -.1 -.1 -.2 -.2 -.3 -.3 -.4 -.4 21 22 23 24 25 26 -.5 21 22 23 24 25 26.8.2.4. -.4 - -.8 - - -.12 21 22 23 24 25 26 -.2 21 22
More informationEconometría 2: Análisis de series de Tiempo
Econometría 2: Análisis de series de Tiempo Karoll GOMEZ kgomezp@unal.edu.co http://karollgomez.wordpress.com Segundo semestre 2016 IX. Vector Time Series Models VARMA Models A. 1. Motivation: The vector
More informationFinancial Econometrics
Financial Econometrics Multivariate Time Series Analysis: VAR Gerald P. Dwyer Trinity College, Dublin January 2013 GPD (TCD) VAR 01/13 1 / 25 Structural equations Suppose have simultaneous system for supply
More informationNotes on Time Series Modeling
Notes on Time Series Modeling Garey Ramey University of California, San Diego January 17 1 Stationary processes De nition A stochastic process is any set of random variables y t indexed by t T : fy t g
More informationTesting for spectral Granger causality
The Stata Journal (2015) 15, Number 4, pp. 1157 1166 Testing for spectral Granger causality Hüseyin Tastan Department of Economics Yildiz Technical University Istanbul, Turkey tastan@yildiz.edu.tr Abstract.
More information10) Time series econometrics
30C00200 Econometrics 10) Time series econometrics Timo Kuosmanen Professor, Ph.D. 1 Topics today Static vs. dynamic time series model Suprious regression Stationary and nonstationary time series Unit
More informationMoreover, the second term is derived from: 1 T ) 2 1
170 Moreover, the second term is derived from: 1 T T ɛt 2 σ 2 ɛ. Therefore, 1 σ 2 ɛt T y t 1 ɛ t = 1 2 ( yt σ T ) 2 1 2σ 2 ɛ 1 T T ɛt 2 1 2 (χ2 (1) 1). (b) Next, consider y 2 t 1. T E y 2 t 1 T T = E(y
More informationQuestion 1 [17 points]: (ch 11)
Question 1 [17 points]: (ch 11) A study analyzed the probability that Major League Baseball (MLB) players "survive" for another season, or, in other words, play one more season. They studied a model of
More informationLecture 2: Univariate Time Series
Lecture 2: Univariate Time Series Analysis: Conditional and Unconditional Densities, Stationarity, ARMA Processes Prof. Massimo Guidolin 20192 Financial Econometrics Spring/Winter 2017 Overview Motivation:
More information4. MA(2) +drift: y t = µ + ɛ t + θ 1 ɛ t 1 + θ 2 ɛ t 2. Mean: where θ(l) = 1 + θ 1 L + θ 2 L 2. Therefore,
61 4. MA(2) +drift: y t = µ + ɛ t + θ 1 ɛ t 1 + θ 2 ɛ t 2 Mean: y t = µ + θ(l)ɛ t, where θ(l) = 1 + θ 1 L + θ 2 L 2. Therefore, E(y t ) = µ + θ(l)e(ɛ t ) = µ 62 Example: MA(q) Model: y t = ɛ t + θ 1 ɛ
More informationIntervention Analysis and Transfer Function Models
Chapter 7 Intervention Analysis and Transfer Function Models The idea in intervention analysis and transfer function models is to generalize the univariate methods studies previously to allow the time
More informationSimultaneous Equation Models Learning Objectives Introduction Introduction (2) Introduction (3) Solving the Model structural equations
Simultaneous Equation Models. Introduction: basic definitions 2. Consequences of ignoring simultaneity 3. The identification problem 4. Estimation of simultaneous equation models 5. Example: IS LM model
More informationAutoregressive models with distributed lags (ADL)
Autoregressive models with distributed lags (ADL) It often happens than including the lagged dependent variable in the model results in model which is better fitted and needs less parameters. It can be
More informationMultivariate Time Series: VAR(p) Processes and Models
Multivariate Time Series: VAR(p) Processes and Models A VAR(p) model, for p > 0 is X t = φ 0 + Φ 1 X t 1 + + Φ p X t p + A t, where X t, φ 0, and X t i are k-vectors, Φ 1,..., Φ p are k k matrices, with
More informationVector Auto-Regressive Models
Vector Auto-Regressive Models Laurent Ferrara 1 1 University of Paris Nanterre M2 Oct. 2018 Overview of the presentation 1. Vector Auto-Regressions Definition Estimation Testing 2. Impulse responses functions
More information9) Time series econometrics
30C00200 Econometrics 9) Time series econometrics Timo Kuosmanen Professor Management Science http://nomepre.net/index.php/timokuosmanen 1 Macroeconomic data: GDP Inflation rate Examples of time series
More informationVAR Models and Applications
VAR Models and Applications Laurent Ferrara 1 1 University of Paris West M2 EIPMC Oct. 2016 Overview of the presentation 1. Vector Auto-Regressions Definition Estimation Testing 2. Impulse responses functions
More informationInstrumental Variables, Simultaneous and Systems of Equations
Chapter 6 Instrumental Variables, Simultaneous and Systems of Equations 61 Instrumental variables In the linear regression model y i = x iβ + ε i (61) we have been assuming that bf x i and ε i are uncorrelated
More informationMultivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8]
1 Multivariate Time Series Analysis and Its Applications [Tsay (2005), chapter 8] Insights: Price movements in one market can spread easily and instantly to another market [economic globalization and internet
More informationNonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015
Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 This lecture borrows heavily from Duncan s Introduction to Structural
More informationStationary and nonstationary variables
Stationary and nonstationary variables Stationary variable: 1. Finite and constant in time expected value: E (y t ) = µ < 2. Finite and constant in time variance: Var (y t ) = σ 2 < 3. Covariance dependent
More informationDynamic Panels. Chapter Introduction Autoregressive Model
Chapter 11 Dynamic Panels This chapter covers the econometrics methods to estimate dynamic panel data models, and presents examples in Stata to illustrate the use of these procedures. The topics in this
More informationTesting methodology. It often the case that we try to determine the form of the model on the basis of data
Testing methodology It often the case that we try to determine the form of the model on the basis of data The simplest case: we try to determine the set of explanatory variables in the model Testing for
More informationCase of single exogenous (iv) variable (with single or multiple mediators) iv à med à dv. = β 0. iv i. med i + α 1
Mediation Analysis: OLS vs. SUR vs. ISUR vs. 3SLS vs. SEM Note by Hubert Gatignon July 7, 2013, updated November 15, 2013, April 11, 2014, May 21, 2016 and August 10, 2016 In Chap. 11 of Statistical Analysis
More informationMultivariate forecasting with VAR models
Multivariate forecasting with VAR models Franz Eigner University of Vienna UK Econometric Forecasting Prof. Robert Kunst 16th June 2009 Overview Vector autoregressive model univariate forecasting multivariate
More informationMonday 7 th Febraury 2005
Monday 7 th Febraury 2 Analysis of Pigs data Data: Body weights of 48 pigs at 9 successive follow-up visits. This is an equally spaced data. It is always a good habit to reshape the data, so we can easily
More information7 Introduction to Time Series
Econ 495 - Econometric Review 1 7 Introduction to Time Series 7.1 Time Series vs. Cross-Sectional Data Time series data has a temporal ordering, unlike cross-section data, we will need to changes some
More informationVector Autoregressive Model. Vector Autoregressions II. Estimation of Vector Autoregressions II. Estimation of Vector Autoregressions I.
Vector Autoregressive Model Vector Autoregressions II Empirical Macroeconomics - Lect 2 Dr. Ana Beatriz Galvao Queen Mary University of London January 2012 A VAR(p) model of the m 1 vector of time series
More informationAPPLIED MACROECONOMETRICS Licenciatura Universidade Nova de Lisboa Faculdade de Economia. FINAL EXAM JUNE 3, 2004 Starts at 14:00 Ends at 16:30
APPLIED MACROECONOMETRICS Licenciatura Universidade Nova de Lisboa Faculdade de Economia FINAL EXAM JUNE 3, 2004 Starts at 14:00 Ends at 16:30 I In Figure I.1 you can find a quarterly inflation rate series
More informationHandout 12. Endogeneity & Simultaneous Equation Models
Handout 12. Endogeneity & Simultaneous Equation Models In which you learn about another potential source of endogeneity caused by the simultaneous determination of economic variables, and learn how to
More information11. Further Issues in Using OLS with TS Data
11. Further Issues in Using OLS with TS Data With TS, including lags of the dependent variable often allow us to fit much better the variation in y Exact distribution theory is rarely available in TS applications,
More information1 Quantitative Techniques in Practice
1 Quantitative Techniques in Practice 1.1 Lecture 2: Stationarity, spurious regression, etc. 1.1.1 Overview In the rst part we shall look at some issues in time series economics. In the second part we
More informationProblem Set 2: Box-Jenkins methodology
Problem Set : Box-Jenkins methodology 1) For an AR1) process we have: γ0) = σ ε 1 φ σ ε γ0) = 1 φ Hence, For a MA1) process, p lim R = φ γ0) = 1 + θ )σ ε σ ε 1 = γ0) 1 + θ Therefore, p lim R = 1 1 1 +
More informationUnivariate ARIMA Models
Univariate ARIMA Models ARIMA Model Building Steps: Identification: Using graphs, statistics, ACFs and PACFs, transformations, etc. to achieve stationary and tentatively identify patterns and model components.
More informationG. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication
G. S. Maddala Kajal Lahiri WILEY A John Wiley and Sons, Ltd., Publication TEMT Foreword Preface to the Fourth Edition xvii xix Part I Introduction and the Linear Regression Model 1 CHAPTER 1 What is Econometrics?
More informationLecture#12. Instrumental variables regression Causal parameters III
Lecture#12 Instrumental variables regression Causal parameters III 1 Demand experiment, market data analysis & simultaneous causality 2 Simultaneous causality Your task is to estimate the demand function
More informationLecture 7a: Vector Autoregression (VAR)
Lecture 7a: Vector Autoregression (VAR) 1 Big Picture We are done with univariate time series analysis Now we switch to multivariate analysis, that is, studying several time series simultaneously. VAR
More informationAutoregressive distributed lag models
Introduction In economics, most cases we want to model relationships between variables, and often simultaneously. That means we need to move from univariate time series to multivariate. We do it in two
More informationEconometrics. 8) Instrumental variables
30C00200 Econometrics 8) Instrumental variables Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Thery of IV regression Overidentification Two-stage least squates
More information1 Introduction. 2 AIC versus SBIC. Erik Swanson Cori Saviano Li Zha Final Project
Erik Swanson Cori Saviano Li Zha Final Project 1 Introduction In analyzing time series data, we are posed with the question of how past events influences the current situation. In order to determine this,
More informationBristol Business School
Bristol Business School Module Leader: Module Code: Title of Module: Paul Dunne UMEN3P-15-M Econometrics Academic Year: 07/08 Examination Period: January 2008 Examination Date: 16 January 2007 Examination
More information10. Time series regression and forecasting
10. Time series regression and forecasting Key feature of this section: Analysis of data on a single entity observed at multiple points in time (time series data) Typical research questions: What is the
More information7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15
Econ 495 - Econometric Review 1 Contents 7 Introduction to Time Series 3 7.1 Time Series vs. Cross-Sectional Data............ 3 7.2 Detrending Time Series................... 15 7.3 Types of Stochastic
More informationLecture 6a: Unit Root and ARIMA Models
Lecture 6a: Unit Root and ARIMA Models 1 2 Big Picture A time series is non-stationary if it contains a unit root unit root nonstationary The reverse is not true. For example, y t = cos(t) + u t has no
More informationTesting for Unit Roots with Cointegrated Data
Discussion Paper No. 2015-57 August 19, 2015 http://www.economics-ejournal.org/economics/discussionpapers/2015-57 Testing for Unit Roots with Cointegrated Data W. Robert Reed Abstract This paper demonstrates
More informationAdvanced Econometrics
Based on the textbook by Verbeek: A Guide to Modern Econometrics Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna May 2, 2013 Outline Univariate
More informationEconometrics II. Seppo Pynnönen. Spring Department of Mathematics and Statistics, University of Vaasa, Finland
Department of Mathematics and Statistics, University of Vaasa, Finland Spring 218 Part VI Vector Autoregression As of Feb 21, 218 1 Vector Autoregression (VAR) Background The Model Defining the order of
More informationTopic 4 Unit Roots. Gerald P. Dwyer. February Clemson University
Topic 4 Unit Roots Gerald P. Dwyer Clemson University February 2016 Outline 1 Unit Roots Introduction Trend and Difference Stationary Autocorrelations of Series That Have Deterministic or Stochastic Trends
More informationLecture 7a: Vector Autoregression (VAR)
Lecture 7a: Vector Autoregression (VAR) 1 2 Big Picture We are done with univariate time series analysis Now we switch to multivariate analysis, that is, studying several time series simultaneously. VAR
More informationIntroduction to Econometrics
Introduction to Econometrics STAT-S-301 Introduction to Time Series Regression and Forecasting (2016/2017) Lecturer: Yves Dominicy Teaching Assistant: Elise Petit 1 Introduction to Time Series Regression
More informationVector Autoregression
Vector Autoregression Prabakar Rajasekaran December 13, 212 1 Introduction Vector autoregression (VAR) is an econometric model used to capture the evolution and the interdependencies between multiple time
More informationGreene, Econometric Analysis (7th ed, 2012)
EC771: Econometrics, Spring 2012 Greene, Econometric Analysis (7th ed, 2012) Chapters 2 3: Classical Linear Regression The classical linear regression model is the single most useful tool in econometrics.
More informationIntroductory Workshop on Time Series Analysis. Sara McLaughlin Mitchell Department of Political Science University of Iowa
Introductory Workshop on Time Series Analysis Sara McLaughlin Mitchell Department of Political Science University of Iowa Overview Properties of time series data Approaches to time series analysis Stationarity
More informationSyntax Description Options Remarks and examples Stored results Methods and formulas References Also see
Title stata.com forecast solve Obtain static and dynamic forecasts Syntax Description Options Remarks and examples Stored results Methods and formulas References Also see Syntax forecast solve [, { prefix(stub)
More information7. Integrated Processes
7. Integrated Processes Up to now: Analysis of stationary processes (stationary ARMA(p, q) processes) Problem: Many economic time series exhibit non-stationary patterns over time 226 Example: We consider
More informationMeasures of Fit from AR(p)
Measures of Fit from AR(p) Residual Sum of Squared Errors Residual Mean Squared Error Root MSE (Standard Error of Regression) R-squared R-bar-squared = = T t e t SSR 1 2 ˆ = = T t e t p T s 1 2 2 ˆ 1 1
More informationECON 4160, Spring term Lecture 12
ECON 4160, Spring term 2013. Lecture 12 Non-stationarity and co-integration 2/2 Ragnar Nymoen Department of Economics 13 Nov 2013 1 / 53 Introduction I So far we have considered: Stationary VAR, with deterministic
More informationTime Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY
Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY & Contents PREFACE xiii 1 1.1. 1.2. Difference Equations First-Order Difference Equations 1 /?th-order Difference
More informationFINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE -MODULE2 Midterm Exam Solutions - March 2015
FINANCIAL ECONOMETRICS AND EMPIRICAL FINANCE -MODULE2 Midterm Exam Solutions - March 205 Time Allowed: 60 minutes Family Name (Surname) First Name Student Number (Matr.) Please answer all questions by
More informationChapter 5. Analysis of Multiple Time Series. 5.1 Vector Autoregressions
Chapter 5 Analysis of Multiple Time Series Note: The primary references for these notes are chapters 5 and 6 in Enders (2004). An alternative, but more technical treatment can be found in chapters 10-11
More informationCovers Chapter 10-12, some of 16, some of 18 in Wooldridge. Regression Analysis with Time Series Data
Covers Chapter 10-12, some of 16, some of 18 in Wooldridge Regression Analysis with Time Series Data Obviously time series data different from cross section in terms of source of variation in x and y temporal
More informationIntroduction to Eco n o m et rics
2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Introduction to Eco n o m et rics Third Edition G.S. Maddala Formerly
More informationBristol Business School
Bristol Business School Academic Year: 10/11 Examination Period: January Module Leader: Module Code: Title of Module: John Paul Dunne Econometrics UMEN3P-15-M Examination Date: 12 January 2011 Examination
More informationTime Series Analysis. James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY
Time Series Analysis James D. Hamilton PRINCETON UNIVERSITY PRESS PRINCETON, NEW JERSEY PREFACE xiii 1 Difference Equations 1.1. First-Order Difference Equations 1 1.2. pth-order Difference Equations 7
More informationECON3327: Financial Econometrics, Spring 2016
ECON3327: Financial Econometrics, Spring 2016 Wooldridge, Introductory Econometrics (5th ed, 2012) Chapter 11: OLS with time series data Stationary and weakly dependent time series The notion of a stationary
More informationMultivariate ARMA Processes
LECTURE 8 Multivariate ARMA Processes A vector y(t) of n elements is said to follow an n-variate ARMA process of orders p and q if it satisfies the equation (1) A 0 y(t) + A 1 y(t 1) + + A p y(t p) = M
More informationQuantitative Finance I
Quantitative Finance I Linear AR and MA Models (Lecture 4) Winter Semester 01/013 by Lukas Vacha * If viewed in.pdf format - for full functionality use Mathematica 7 (or higher) notebook (.nb) version
More informationMultivariate Models. Christopher Ting. Christopher Ting. April 19,
Multivariate Models Chapter 7 of Chris Brook s Book Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036 April 19, 2017 Christopher
More informationMeasurement Error. Often a data set will contain imperfect measures of the data we would ideally like.
Measurement Error Often a data set will contain imperfect measures of the data we would ideally like. Aggregate Data: (GDP, Consumption, Investment are only best guesses of theoretical counterparts and
More informationLecture 4a: ARMA Model
Lecture 4a: ARMA Model 1 2 Big Picture Most often our goal is to find a statistical model to describe real time series (estimation), and then predict the future (forecasting) One particularly popular model
More information5 Transfer function modelling
MSc Further Time Series Analysis 5 Transfer function modelling 5.1 The model Consider the construction of a model for a time series (Y t ) whose values are influenced by the earlier values of a series
More information7. Forecasting with ARIMA models
7. Forecasting with ARIMA models 309 Outline: Introduction The prediction equation of an ARIMA model Interpreting the predictions Variance of the predictions Forecast updating Measuring predictability
More informationLab 6 - Simple Regression
Lab 6 - Simple Regression Spring 2017 Contents 1 Thinking About Regression 2 2 Regression Output 3 3 Fitted Values 5 4 Residuals 6 5 Functional Forms 8 Updated from Stata tutorials provided by Prof. Cichello
More informationTitle. Description. Remarks and examples. stata.com. stata.com. Introduction to DSGE models. intro 1 Introduction to DSGEs and dsge
Title stata.com intro 1 Introduction to DSGEs and dsge Description Remarks and examples References Also see Description In this entry, we introduce DSGE models and the dsge command. We begin with an overview
More informationTime Series. Chapter Time Series Data
Chapter 10 Time Series 10.1 Time Series Data The main difference between time series data and cross-sectional data is the temporal ordering. To emphasize the proper ordering of the observations, Table
More informationEstimating Markov-switching regression models in Stata
Estimating Markov-switching regression models in Stata Ashish Rajbhandari Senior Econometrician StataCorp LP Stata Conference 2015 Ashish Rajbhandari (StataCorp LP) Markov-switching regression Stata Conference
More informationEC327: Financial Econometrics, Spring 2013
EC327: Financial Econometrics, Spring 2013 Wooldridge, Introductory Econometrics (5th ed, 2012) Chapter 18: Advanced time series topics Infinite distributed lag models Consider a pair of timeseries [y
More informationDealing With and Understanding Endogeneity
Dealing With and Understanding Endogeneity Enrique Pinzón StataCorp LP October 20, 2016 Barcelona (StataCorp LP) October 20, 2016 Barcelona 1 / 59 Importance of Endogeneity Endogeneity occurs when a variable,
More informationControl Function and Related Methods: Nonlinear Models
Control Function and Related Methods: Nonlinear Models Jeff Wooldridge Michigan State University Programme Evaluation for Policy Analysis Institute for Fiscal Studies June 2012 1. General Approach 2. Nonlinear
More informationNew Introduction to Multiple Time Series Analysis
Helmut Lütkepohl New Introduction to Multiple Time Series Analysis With 49 Figures and 36 Tables Springer Contents 1 Introduction 1 1.1 Objectives of Analyzing Multiple Time Series 1 1.2 Some Basics 2
More informationLecture: Simultaneous Equation Model (Wooldridge s Book Chapter 16)
Lecture: Simultaneous Equation Model (Wooldridge s Book Chapter 16) 1 2 Model Consider a system of two regressions y 1 = β 1 y 2 + u 1 (1) y 2 = β 2 y 1 + u 2 (2) This is a simultaneous equation model
More informationStructural VAR Models and Applications
Structural VAR Models and Applications Laurent Ferrara 1 1 University of Paris Nanterre M2 Oct. 2018 SVAR: Objectives Whereas the VAR model is able to capture efficiently the interactions between the different
More informationraise Coef. Std. Err. z P> z [95% Conf. Interval]
1 We will use real-world data, but a very simple and naive model to keep the example easy to understand. What is interesting about the example is that the outcome of interest, perhaps the probability or
More informationProblem Set 1 Solution Sketches Time Series Analysis Spring 2010
Problem Set 1 Solution Sketches Time Series Analysis Spring 2010 1. Construct a martingale difference process that is not weakly stationary. Simplest e.g.: Let Y t be a sequence of independent, non-identically
More informationA primer on Structural VARs
A primer on Structural VARs Claudia Foroni Norges Bank 10 November 2014 Structural VARs 1/ 26 Refresh: what is a VAR? VAR (p) : where y t K 1 y t = ν + B 1 y t 1 +... + B p y t p + u t, (1) = ( y 1t...
More informationEC408 Topics in Applied Econometrics. B Fingleton, Dept of Economics, Strathclyde University
EC48 Topics in Applied Econometrics B Fingleton, Dept of Economics, Strathclyde University Applied Econometrics What is spurious regression? How do we check for stochastic trends? Cointegration and Error
More informationTIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA
CHAPTER 6 TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA 6.1. Introduction A time series is a sequence of observations ordered in time. A basic assumption in the time series analysis
More informationEconometrics for Policy Analysis A Train The Trainer Workshop Oct 22-28, 2016 Organized by African Heritage Institution
Econometrics for Policy Analysis A Train The Trainer Workshop Oct 22-28, 2016 Organized by African Heritage Institution Delivered by Dr. Nathaniel E. Urama Department of Economics, University of Nigeria,
More informationIt is easily seen that in general a linear combination of y t and x t is I(1). However, in particular cases, it can be I(0), i.e. stationary.
6. COINTEGRATION 1 1 Cointegration 1.1 Definitions I(1) variables. z t = (y t x t ) is I(1) (integrated of order 1) if it is not stationary but its first difference z t is stationary. It is easily seen
More informationDynamic Regression Models (Lect 15)
Dynamic Regression Models (Lect 15) Ragnar Nymoen University of Oslo 21 March 2013 1 / 17 HGL: Ch 9; BN: Kap 10 The HGL Ch 9 is a long chapter, and the testing for autocorrelation part we have already
More informationCONJUGATE DUMMY OBSERVATION PRIORS FOR VAR S
ECO 513 Fall 25 C. Sims CONJUGATE DUMMY OBSERVATION PRIORS FOR VAR S 1. THE GENERAL IDEA As is documented elsewhere Sims (revised 1996, 2), there is a strong tendency for estimated time series models,
More informationSome Time-Series Models
Some Time-Series Models Outline 1. Stochastic processes and their properties 2. Stationary processes 3. Some properties of the autocorrelation function 4. Some useful models Purely random processes, random
More informationEconometrics. 9) Heteroscedasticity and autocorrelation
30C00200 Econometrics 9) Heteroscedasticity and autocorrelation Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Heteroscedasticity Possible causes Testing for
More informationUsing EViews Vox Principles of Econometrics, Third Edition
Using EViews Vox Principles of Econometrics, Third Edition WILLIAM E. GRIFFITHS University of Melbourne R. CARTER HILL Louisiana State University GUAY С LIM University of Melbourne JOHN WILEY & SONS, INC
More informationPostestimation commands predict estat Remarks and examples Stored results Methods and formulas
Title stata.com mswitch postestimation Postestimation tools for mswitch Postestimation commands predict estat Remarks and examples Stored results Methods and formulas References Also see Postestimation
More information