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)
ROC ComparisonHello All, I am trying to do a ROC Curve Comparison looking at three different models in the same d…
Help with long dataHi, I have previously posted here and received great help. Need help with one last area that I am r…
Weak instrument test for ivprobit with clustering?Hello, I am seeking advice about how to run a weak instrument test after estimating an ivprobit mode…
Defining value labels based on varlistDear all, I am writing a program which at the beginning I define a varlist: syntax varlist (min=3 n…
Reference category in mi estimate logisticDear all, I would like to do a logistic regression with multiple imputed data. My syntax is: mi es…
Subscribe to:
Post Comments (Atom)
0 Response to Decomposition real oil prices to three shocks kilian 2009(SVAR)
Post a Comment