Dear all
I have three variables : average of global crude oil, real activity index , real oil price.I want to decompose the real oil prices into three shocks as kilian did in paper 2009.Kilian use cholesky factorization in his restrictions. SO my quetsions: First, Could review my codes if it is in the right way? Second , the most important question : I want to help me to calculate impulse response function for the three shocks (eta) on the three variables using Bootstrap 2000:
matrix A1 = (1,0,0 \ .,1,0 \ .,.,1)
. matrix B1 = (.,0,0 \ 0,.,0 \ 0,0,.)
. svar TProduction Global_Index RealOilPrice , lags(1/24) aeq(A1) beq(B1)
predict e1,res eq(TProduction )
predict e2,res eq(Global_Index )
predict e3,res eq( RealOilPrice)
mkmat e1 e2 e3, matrix(e)
mat list e
matrix sigma = e(Sigma)
mat list sigma
matrix B = inv(cholesky(sigma)')
mat list B
matrix eta = e * B
mat list eta
Matrix eta represents the reduced error term
If my coding right : how I can calculate the impulse response function of my three variables with the three shocks using bootstrap 2000?
Related Posts with Decomposition real oil prices to three shocks kilian 2009(SVAR)
Difference GMM: Hansen test 0.000 despite N>T, collapse doesn't fixHello all, I am running difference GMM to eliminate known reverse causality between my dependent va…
''omitted because of collinearity"While I am running regression in Stata, many times a variable is dropped due to collinearity. In the…
Test posting code Code: . xtabond2 ihsdti L2.ihsdti L(1/1)happy1 L(1/1)age L(1/1)age2 L(1/1)child L(1/1)race L(1/1)m…
Panel Data Setup; Sales on parallel channelsDear Statalists, as many others, I’m currently struggling with setting up my data for a panel model …
How to get the confidence intervals for each lag using PACFDear community, I'm doing running the ac and pac command on data that I've simulated. I'm able to s…
Subscribe to:
Post Comments (Atom)
0 Response to Decomposition real oil prices to three shocks kilian 2009(SVAR)
Post a Comment