Commit 83ea804f authored by Johannes Pfeifer 's avatar Johannes Pfeifer
Browse files

estimation: remove invalid check for presence of constant

a zero steady state is a local property depending on the parameter vector; if initial evaluation to true, the constant was ignored
parent ec3127a0
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment