Dear users,
Before estimating my model ,I tried to run identification command .But the matlab kept throwing error message even if I have put 'order =1 ’ into identification command. My question is how to create ‘static_params_derivs.m’ file to make identification command
work?Or maybe the error is caused by some other reason.The error message is listed below:
Testing calibration
Error using get_perturbation_params_derivs (line 449)
For analytical parameter derivatives ‘static_params_derivs.m’ file is needed, this can be created by putting
identification(order=1) into your mod file.
Error in get_identification_jacobians (line 153)
oo.dr.derivs = get_perturbation_params_derivs(M, options, estim_params, oo, indpmodel, indpstderr, indpcorr, d2flag);
Error in identification_analysis (line 139)
[MEAN, dMEAN, REDUCEDFORM, dREDUCEDFORM, DYNAMIC, dDYNAMIC, MOMENTS, dMOMENTS, dSPECTRUM, dSPECTRUM_NO_MEAN, dMINIMAL, derivatives_info] = get_identification_jacobians(estim_params_, M_, oo_, options_, options_ident, indpmodel, indpstderr, indpcorr, indvobs);
Error in dynare_identification (line 485)
identification_analysis(params, indpmodel, indpstderr, indpcorr, options_ident, dataset_info, prior_exist, 1); %the 1 at the end implies initialization of persistent variables
Error in Sector41_model.driver (line 60554)
dynare_identification(options_ident);
Error in dynare (line 281)
evalin(‘base’,[fname ‘.driver’]);
Here’s my mod file.I have zipped it and uploaded.
Mymodel.rar (254.0 KB)
I thank you in advance for your help.
jason