Same as commit #ee91c7654ff753728850e68366c60fe1be33ebb3 for estimation.
parent
ee91c7654f
commit
be4a53e4fa
|
@ -30,6 +30,10 @@ function dynare_estimation(var_list,dname)
|
||||||
|
|
||||||
global options_ oo_ M_ oo_recursive_
|
global options_ oo_ M_ oo_recursive_
|
||||||
|
|
||||||
|
if isequal(options_.order,0)
|
||||||
|
error('Estimation:: The order of the Taylor approximation cannot be 0!')
|
||||||
|
end
|
||||||
|
|
||||||
%% Decide if a DSGE or DSGE-VAR has to be estimated.
|
%% Decide if a DSGE or DSGE-VAR has to be estimated.
|
||||||
if ~isempty(strmatch('dsge_prior_weight',M_.param_names))
|
if ~isempty(strmatch('dsge_prior_weight',M_.param_names))
|
||||||
options_.dsge_var = 1;
|
options_.dsge_var = 1;
|
||||||
|
|
Loading…
Reference in New Issue