plotting irf

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.

plotting irf

Postby masopa87 » Sun Jul 17, 2011 4:21 pm

Hi all.
I have a problem in handling the drawing of impulse response functions when I use more than 3 variables in a MS-SBVAR model. Indeed once the computations are finished and it comes to plotting the impulse responses, I get the following error after the first two graphs:

Constructing percentiles for filtered impulse responses - 10000 draws of regimes per posterior value
g shock from g
t shock from g
y shock from g
p shock from g
int shock from g
??? Index exceeds matrix dimensions.

Error in ==> plot_ms_irf at 110
shock(:,i,n) = irf(n,:,((i-1)+(s-1)*nvars)+1);

Error in ==> ms_irf at 50
plot_ms_irf(M_,options_,irf,options_.varobs,'Ergodic Impulse
Responses',varlist);

Error in ==> tesi at 75
[options_, oo_] = ms_irf(var_list_,M_, options_, oo_);

Error in ==> dynare at 132
evalin('base',fname) ;

How could I fix this?
Thanks.
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: plotting irf

Postby HoutanBastani » Tue Jul 19, 2011 10:03 am

Please post your mod file.

Best,
Houtan
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France

Re: plotting irf

Postby masopa87 » Wed Jul 20, 2011 5:55 pm

Here there is the mod file. Thanks.
Attachments
tesi.mod
(681 Bytes) Downloaded 136 times
masopa87
 
Posts: 10
Joined: Sat Jul 09, 2011 4:16 pm

Re: plotting irf

Postby SébastienVillemot » Mon Sep 05, 2011 11:52 am

Actually we also need the datafile.

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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests

cron