This code show the SVAR results from the paper: "Lutz Kilian, 2009. "Not All Oil Price Shocks Are Alike: Disentangling Demand and Supply Shocks in the Crude Oil Market," American Economic Review, vol. 99(3), pages 1053-1069, June. Specifically: Cholesky Decomposition, Structural Impulse Response, Historical Evolution of the Structural Shock, Historical Decompositio of the Structural Shocks and the Forecast Error Variance Decomposition
Thank you so much for uploading these files. It's really helpful for understanding the paper. Could you also upload the functions in line 211 which is VARirf and line irfvar_2? It will be conducive to completeness and better understanding.
Thanks for sharing this code of Global-Oil-Market, which is very useful for me. However, I really want to know the following function, which are appeared in the code. For example,
"estimate" in line 38
"VAR_OLS" in line 58
"dyn_multipliers" in line 60
"olsvarc" in line 63
"Sirf" in line 78.
Appreciate it if you could tell me about these function.
Best wishes!