Hi,
I modified the code from ls2003.mod in order to do some sensitivity analysis (at https://github.com/DynareTeam/dynare/tree/master/tests/gsa).
However, I got the following error
Error using legend>process_inputs (line 582)
Invalid argument. Type ‘help legend’ for more information.
Error in legend>make_legend (line 340)
[autoupdate,orient,location,position,children,listen,strings,propargs] = process_inputs(ha,argin); %#ok
Error in legend (line 294)
make_legend(ha,args(arg:end),version);
Error in filt_mc_ (line 571)
h0=legend(char(‘base’,vvarvecm),0);
Error in dynare_sensitivity (line 369)
filt_mc_(OutputDirectoryName,options_gsa,dataset_);
Error in sensitivity (line 498)
dynare_sensitivity(options_gsa);
Error in dynare (line 180)
evalin(‘base’,fname) ;
I double checked the codes that needed to be modified according to my model, but I did not find anything else. Could anyone can help me with this?
Another question is about interpreting these results before I got the above error
These parameters do not affect significantly the fit of ANY observed series:
e_asme
e_r
e_g
e_isme
e_ispb
e_rp
alph1
alph2
ay
rho_g
rho_tau
These parameters affect ONE single observed series:
e_aspb
e_tau
rho_d
rho_at
rho_isme
rho_ispb
These parameters affect MORE THAN ONE observed series: trade off exists!
api
rho_rp
I am not quite sure how to interpret these results and what are the underlying problems? Here are my data file and mod file.
mydata.mat (5.3 KB)
sme_estimation.mod (7.0 KB)
sensitivity.mod (13.5 KB)
Many many thanks