Make warning message in dynare_estimation_1.m more informative

time-shift
Johannes Pfeifer 2016-06-19 17:03:48 +02:00 committed by Stéphane Adjemian (Hermes)
parent 75e52ed71d
commit fa3a71bcae
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,8 @@ catch % if check fails, provide info on using calibration if present
if estim_params_.full_calibration_detected %calibrated model present and no explicit starting values
skipline(1);
fprintf('ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.\n')
fprintf('ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do\n')
fprintf('ESTIMATION_CHECKS: If this is not a problem with the setting of options (check the error message below),\n')
fprintf('ESTIMATION_CHECKS: you should try using the calibrated version of the model as starting values. To do\n')
fprintf('ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation\n')
fprintf('ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):\n');
skipline(2);