Page 1 of 1

Bayesian SVAR

Posted: Sat Sep 19, 2009 5:39 am
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

Re: Bayesian SVAR

Posted: Sat Sep 19, 2009 8:18 am
by TomDoan
What do you think is wrong? The code looks fine and the results seem reasonable.

Re: Bayesian SVAR

Posted: Sat Sep 19, 2009 10:13 am
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

Re: Bayesian SVAR

Posted: Sat Sep 19, 2009 2:02 pm
by TomDoan
You're missing the

infobox(current=draws)

inside the loop which updates the progress bar.