Commit f7981189 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Updated test on options_.order (current version can estimate dsge models with...

Updated test on options_.order (current version can estimate dsge models with non linear filters considering a second order approximation of the model).
parent 6a809530
......@@ -58,12 +58,8 @@ for i = 1:size(M_.endo_names,1)
end
end
% Set the order of approximation to one (if needed).
if options_.order > 1 && isempty(options_.nonlinear_filter)
disp('This version of Dynare cannot estimate non linearized models!')
disp('Set "order" equal to 1.')
disp(' ')
options_.order = 1;
if options_.order>2
error(['I cannot estimate a model with a ' int2str(options_.order) ' order approximation of the model!'])
end
% Set options_.lik_init equal to 3 if diffuse filter is used or
......
Supports Markdown
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