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)
Reshaping data for tabplotArray Hello, How do I reshape the following data to be able to use the tabplot command? Basically I…
How to drop duplicates under certain conditions for a subset of observations?Hi all, I am trying to drop duplicate observations under certain conditions. My data looks something…
difference between predictand predict, xbHi, i know that predict yh, xb gives you a linear prediction using X'b. But how does the command pre…
difference between predcit and predict, xbSorry for the multiple posts, please delete this. …
fractional probit with sample selection using CMPHello everyone! I am planning to run a fractional response model with sample selection. I wonder if …
Subscribe to:
Post Comments (Atom)
0 Response to Decomposition real oil prices to three shocks kilian 2009(SVAR)
Post a Comment