Multiple IRF with parameter change

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.

Multiple IRF with parameter change

Postby iacobellisf » Sun Mar 30, 2008 11:26 am

Hi

I am trying to have in the same plot different IRFs for different parameter values. I have used the code IRF_loop.mod previously posted, but I get the following error message:

??? Undefined function or variable 'A_e'.

Error in ==> C:\Documents and Settings\Fabrizio Jacobellis\Desktop\Model Simulation 25.02.08\Linear Form (Final Model)\ROC.m
On line 207 ==> z(:,h,j,x) = evalin('base',[deblank(lgy_(h,:)) '_' deblank(lgx_(j,:))]);

Error in ==> C:\dynare_v3.065\matlab\dynare.m
On line 42 ==> evalin('base',fname) ;

My model is in linear form.

Can anyone help me on this please?

Regards,

Fabrizio
iacobellisf
 

Postby bigbigben » Thu Apr 10, 2008 4:38 am

Personally, I don't think it is a good idea to set up loop inside a .mod file. Dynare will clear everything in the memory in the first place. If you want to keep something during iteration, save them in a mat file and load it in the mod file.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests