A suggested in Dynare reference manual I am trying to trigger an identification analysis in a Bayesian estimation environment.
[quote]For example, the placing identification; dynare_sensitivity(identification=1,
morris=2); in the Dynare model file trigger identification analysis[/quote]
WHat I get is this error:
[code]Testing current parameter values
??? Attempted to access x(1,13); index out of bounds because size(x)=[1,12].
Error in ==> hms_est19_dynamic at 42
T159 = y(19)-T15*y(21)-y(25)*params(35)/params(32)-x(it_, 13)*params(30)/params(32);
Error in ==> identification_analysis at 77
[residual, g1 ] = feval([M_.fname,’_dynamic’],yy0, …
Error in ==> dynare_identification at 280
[idehess_point, idemoments_point, idemodel_point, idelre_point, derivatives_info_point, info] =
…
Error in ==> hms_est19 at 624
dynare_identification(options_ident);
Error in ==> dynare at 180
evalin(‘base’,fname) ;[/code]
I am writing the command right before the estimation command:
[code]estimated_params;
…
end;
identification;
dynare_sensitivity(identification=1, morris=2);
estimation(datafile…)
[/code]
Maybe I am just putting the command in the wrong position.
Thank you in advance.