VAR-sign restrictions-absurd results
VAR-sign restrictions-absurd results
Dear Sir,
I am new to RATS and currently replicating some codes given in VAR Workbook - Chapter Sign restrictions (Page 79, Example 7.1), which details the Uhlig(2005) code. I am using this code to work on a 6 variable VAR with the identification - y(GDP),d(dividends),p(inflation),comm_e(commodity price index),lp(provisions) and sp (share price) applied to US data. I imposed the sign restriction on prices and GDP as well as my policy variable lp. However, I find that results do not observe the sign restrictions on prices at all which is contrary to both the literature where price puzzle is solved on addition of commodity price index as well as my own results from recursive VAR.
Further, even with the basic identification (y-d-p-comm_e-int_rate_sp), which produces reasonable results as in Gali(2013) - Effects of MOnetary Policy Shocks on Stock Market Bubbles', the percentage of draws accepted is very very low which is absurd as it is tried and tested on US data. I also find that if I extend the number of draws beyond 100,000 or increase number of variables, my RATS shut down abruptly.
How do I resolve these issues in my work. The code is attached along with the data for your kind reference. Appreciate any help.
Thanks.
I am new to RATS and currently replicating some codes given in VAR Workbook - Chapter Sign restrictions (Page 79, Example 7.1), which details the Uhlig(2005) code. I am using this code to work on a 6 variable VAR with the identification - y(GDP),d(dividends),p(inflation),comm_e(commodity price index),lp(provisions) and sp (share price) applied to US data. I imposed the sign restriction on prices and GDP as well as my policy variable lp. However, I find that results do not observe the sign restrictions on prices at all which is contrary to both the literature where price puzzle is solved on addition of commodity price index as well as my own results from recursive VAR.
Further, even with the basic identification (y-d-p-comm_e-int_rate_sp), which produces reasonable results as in Gali(2013) - Effects of MOnetary Policy Shocks on Stock Market Bubbles', the percentage of draws accepted is very very low which is absurd as it is tried and tested on US data. I also find that if I extend the number of draws beyond 100,000 or increase number of variables, my RATS shut down abruptly.
How do I resolve these issues in my work. The code is attached along with the data for your kind reference. Appreciate any help.
Thanks.
- Attachments
-
- bubble_data.xls
- data
- (48 KiB) Downloaded 656 times
-
- sign_restrict1.RPF
- code
- (2.58 KiB) Downloaded 726 times
Re: VAR-sign restrictions-absurd results
Please pay attention to data preparation. You're using growth rates for several variables that are done in log levels in Uhlig and Gali. Growth rates have very limited persistence, hence it's effectively impossible to get a string of sign restrictions to hold.
Re: VAR-sign restrictions-absurd results
Thank you professor, it worked. I was following gali (2013) who used log differences in a time varying var model and I was wrong. Thanks