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)
Panel Data Estimation of Driscoll–Kraay standard errors with plug-in estimators (Optimum number of lags)Dear Experts and Researchers, Would you please suggest on how to estimate Driscoll–Kraay standard er…
Why does Stata graph box not ignore missing values _hi Stata Gurus, I am trying to check the outliners in my data. For example, the total asset (ta) of …
Loop foreach helpHi everyone. I am trying to fill in missing values in one variable by completing it with values from…
Need help with nested logit marginal effectsDear scholars, I am having problem estimating the marginal effects after the estimation of my nested…
Stacked Bar GraphHello, I am in need of some assistance. I am trying to create a stacked bar graph to observe the ex…
Subscribe to:
Post Comments (Atom)
0 Response to Decomposition real oil prices to three shocks kilian 2009(SVAR)
Post a Comment