bayesian VAR

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

bayesian VAR

Postby ztbhewitt » Wed Oct 12, 2011 4:03 am

Hi everyone,
I have a question about Bayesian VAR. Can dynare generate impluse response after implementing Bayesian VAR?
ztbhewitt
 
Posts: 7
Joined: Wed Jan 05, 2011 9:09 am

Re: bayesian VAR

Postby SébastienVillemot » Thu Oct 27, 2011 3:30 pm

This is not implemented. But it is not too difficult to do by yourself.

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: bayesian VAR

Postby StephaneAdjemian » Mon Nov 14, 2011 9:46 am

Actually it is implemented but undocumented. There is a matlab (in dynare) routine called bvar_irf.m which can be called in the mod file (after the estimation command). The routine admits two inputs: the number of lags (any positive integer) and optionally the identification scheme:

  1. Cholesky, this is the default.
  2. SquareRoot, using matlab's sqrtm routine.

The advantage of the second approach is that it is independent of the ordering of the variables contrary to the first identification scheme (this advantage comes at the cost in terms of interpretation). The second argument has to be passed as a string. For instance:

Code: Select all
bvar_irf(4,'SquareRoot');
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: bayesian VAR

Postby cobleton » Wed Dec 14, 2011 1:51 am

Dear Stephanie,

I had the same question than the OP. I saw the code bvar_irf.m in my Dynare files, and I would like to double-check whether the IRF output comes with the confidence intervals. Also, what is the methodology used in the code (if there is error bands) to implement confidence intervals?

Thank you so much !
cobleton
 
Posts: 1
Joined: Wed Dec 14, 2011 12:58 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests