Bayesian SVAR
Bayesian SVAR
Hi Tom and everyone,
I am trying to use the Blanchard and Perotti (2002) approach to identify fiscal shocks, using a Bayesian VAR framework with normal wishart prior. I am focusing on the impact of government spending shocks for the time being, but it seems that there are some problems with the coding. In particular, the monte carlo integration seems to have jumped to the final stage....Is there mistake with my coding?
Many thanks!
MC
I am trying to use the Blanchard and Perotti (2002) approach to identify fiscal shocks, using a Bayesian VAR framework with normal wishart prior. I am focusing on the impact of government spending shocks for the time being, but it seems that there are some problems with the coding. In particular, the monte carlo integration seems to have jumped to the final stage....Is there mistake with my coding?
Many thanks!
MC
- Attachments
-
- mudata.xls
- data file
- (98.5 KiB) Downloaded 865 times
-
- BP2002.PRG
- programme
- (4.3 KiB) Downloaded 1265 times
Re: Bayesian SVAR
What do you think is wrong? The code looks fine and the results seem reasonable.
Re: Bayesian SVAR
Hi Tom,
Thanks for your quick reply....I am asking because the infobox, which demonstrate progress of the monte carlo integration, seems not functioning very properly....perhaps I worry too much...
Many thanks!
MC
Thanks for your quick reply....I am asking because the infobox, which demonstrate progress of the monte carlo integration, seems not functioning very properly....perhaps I worry too much...
Many thanks!
MC
Re: Bayesian SVAR
You're missing the
infobox(current=draws)
inside the loop which updates the progress bar.
infobox(current=draws)
inside the loop which updates the progress bar.