@@ -3358,6 +3360,10 @@ The exogenous variables for which to compute IRFs. Default: all.
Requests the computation of normalized IRFs in percentage of the
standard error of each shock.
@item irf_plot_threshold = @var{DOUBLE}
@anchor{irf_plot_threshold}
Threshold size for plotting IRFs. All IRFs for a particular variable with a maximum absolute deviation from the steady state smaller than this value are not displayed. Default: @code{1e-10}.
hh=dyn_figure(options_,'Name',['Relative response to orthogonalized shock to 'tit(i,:)]);
...
...
@@ -131,6 +133,10 @@ for i=fpar:npar,
end
name=deblank(varlist(j,:));
title(name,'Interpreter','none')
else
ifoptions_.debug
fprintf('POSTERIOR_IRF: The IRF of %s to %s is smaller than the irf_plot_threshold of %4.3f and will not be displayed.\n',deblank(varlist(j,:)),tit(i,:),options_.impulse_responses.plot_threshold)
error(['Initial value(s) of ',disp_string,' are outside parameter bounds. Potentially, you should set prior_trunc=0. If you used the mode_file-option, check whether your mode-file is consistent with the priors.'])
fprintf('PARAMETER INITIALIZATION: Warning, some deep parameters are not initialized. They will be\n')
fprintf('PARAMETER INITIALIZATION: initialized with the prior mean.\n')
end
end
xparam1=xparam1_explicitly_initialized;
xparam1(isnan(xparam1))=xparam1_properly_calibrated(isnan(xparam1));%set not explicitly initialized parameters that do not obviously violate prior distribution to calibrated parameter values
xparam1(isnan(xparam1))=xparam1_NaN_set_to_prior_mean(isnan(xparam1));%set not yet initialized parameters to prior mean coming from dynare_estimation_init
if~any(isnan(xparam1_calib))%all estimated parameters are calibrated
full_calibration_detected=1;
else
full_calibration_detected=0;
end
ifoptions_.use_calibration_initialization%set calibration as starting values
[xparam1,estim_params_]=do_parameter_initialization(estim_params_,xparam1_calib,xparam1);%get explicitly initialized parameters that have precedence to calibrated values
error(['Initial value(s) of ',disp_string,' are outside parameter bounds. Potentially, you should set prior_trunc=0. If you used the mode_file-option, check whether your mode-file is consistent with the priors.'])