dynare_sensitivity: error

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.

dynare_sensitivity: error

Postby pito » Sun Jan 13, 2013 7:24 am

Could you please guide me through my issues?
I have a problem with running dynare_sensitivity(identification=1, morris=2) and with the default morris=1 when identification=1.
The error is
"Attempted to access lpmatx(1,:); index out of bounds because size(lpmatx)=[0,0].
Error in map_ident_ (line 127)
set_shocks_param(lpmatx(1,:));
Error in dynare_sensitivity (line 225)
map_ident_(OutputDirectoryName,options_gsa);
Error in Model9 (line 446)
dynare_sensitivity(options_gsa);
Error in dynare (line 120)
evalin('base',fname) ;"

Another my concern is that figures are not saved locally in <mod_file>/GSA while they are quickly displayed during the program run. How can I store them altogether at once to carefully look at, afterwards? I am using the dynare version 4.3.1. The mod-file is attached.

Thank you
Attachments
Model9.mod
(7.54 KiB) Downloaded 164 times
pito
 
Posts: 16
Joined: Mon Feb 21, 2011 6:33 pm

Re: dynare_sensitivity: error

Postby rattoma » Thu Jan 24, 2013 8:53 am

Thanks for pointing to this bug, which is fixed in the git repository and will be available in the next release of dynare.
The function that fixes the problem is also attached for immediate use (must replace the same function in the matlab/gsa subfolder of the dynare 4.3 installation).
Concerning figures, they should be all saved in gsa and identification subfolders, following the graph_format options (so the default is to save eps files).
Attachments
map_ident_.m
(54.39 KiB) Downloaded 161 times
rattoma
 
Posts: 51
Joined: Tue Jan 04, 2005 10:48 am

Re: dynare_sensitivity: error

Postby pito » Thu Jan 24, 2013 3:02 pm

Thank you so much, it works! I need to think about my model further now.
pito
 
Posts: 16
Joined: Mon Feb 21, 2011 6:33 pm


Return to Dynare help

Who is online

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