From fa3a71bcaecc942ef367b4cb5ba7fec59f7e5e6f Mon Sep 17 00:00:00 2001 From: Johannes Pfeifer Date: Sun, 19 Jun 2016 17:03:48 +0200 Subject: [PATCH] Make warning message in dynare_estimation_1.m more informative --- matlab/dynare_estimation_1.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/dynare_estimation_1.m b/matlab/dynare_estimation_1.m index dab439eca..696a51dfd 100644 --- a/matlab/dynare_estimation_1.m +++ b/matlab/dynare_estimation_1.m @@ -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);