Same as commit #ee91c7654ff753728850e68366c60fe1be33ebb3 for estimation.

time-shift
Stéphane Adjemian (Scylla) 2013-11-28 10:54:15 +01:00
parent ee91c7654f
commit be4a53e4fa
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ function dynare_estimation(var_list,dname)
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.
if ~isempty(strmatch('dsge_prior_weight',M_.param_names))
options_.dsge_var = 1;