Bayesian SVAR

Questions and discussions on Vector Autoregressions
MC128
Posts: 33
Joined: Tue Jun 16, 2009 5:55 am

Bayesian SVAR

Unread post by MC128 »

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
Attachments
mudata.xls
data file
(98.5 KiB) Downloaded 865 times
BP2002.PRG
programme
(4.3 KiB) Downloaded 1265 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Bayesian SVAR

Unread post by TomDoan »

What do you think is wrong? The code looks fine and the results seem reasonable.
MC128
Posts: 33
Joined: Tue Jun 16, 2009 5:55 am

Re: Bayesian SVAR

Unread post by MC128 »

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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Bayesian SVAR

Unread post by TomDoan »

You're missing the

infobox(current=draws)

inside the loop which updates the progress bar.
Post Reply