Merge branch 'noconstant' of git.dynare.org:JohannesPfeifer/dynare

Ref. !1916
pac-components
Sébastien Villemot 2021-08-30 16:37:55 +02:00
commit 55850f465d
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 2 additions and 2 deletions

View File

@ -707,7 +707,7 @@ test_for_deep_parameters_calibration(M_);
% If steady state of observed variables is non zero, set noconstant equal 0
if all(abs(oo_.steady_state(oo_.dr.order_var(oo_.dr.obs_var)))<1e-9)
options_mom_.noconstant = 1;
options_mom_.noconstant = 0; %identifying the constant based on just the initial parameter value is not feasible
else
options_mom_.noconstant = 0;
end

View File

@ -621,7 +621,7 @@ end
% If the steady state of the observed variables is non zero, set noconstant equal 0 ()
if (~options_.loglinear && all(abs(oo_.steady_state(bayestopt_.mfys))<1e-9)) || (options_.loglinear && all(abs(log(oo_.steady_state(bayestopt_.mfys)))<1e-9))
options_.noconstant = 1;
options_.noconstant = 0; %identifying the constant based on just the initial parameter value is not feasible
else
options_.noconstant = 0;
% If the data are prefiltered then there must not be constants in the