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 ignoredpac-components
parent
ec3127a0ba
commit
83ea804fcc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue