As agreed in #1375, moved treatment of filtered_vars in dynare_estimation_init.m
parent
a9732afaf6
commit
a68e958cf7
|
@ -126,6 +126,9 @@ end
|
|||
options_=select_qz_criterium_value(options_);
|
||||
|
||||
% Set options related to filtered variables.
|
||||
if isequal(options_.filtered_vars,0) && ~isempty(options_.filter_step_ahead)
|
||||
options_.filtered_vars = 1;
|
||||
end
|
||||
if ~isequal(options_.filtered_vars,0) && isempty(options_.filter_step_ahead)
|
||||
options_.filter_step_ahead = 1;
|
||||
end
|
||||
|
|
|
@ -337,7 +337,7 @@ if options_.smoother
|
|||
end
|
||||
end
|
||||
|
||||
if ~isempty(options_.nk) && options_.nk > 0
|
||||
if options_.filtered_vars
|
||||
pm3(endo_nbr,gend,ifil(4),B,'One step ahead forecast (filtered variables)',...
|
||||
'',varlist,M_.endo_names_tex,M_.endo_names,...
|
||||
varlist,'FilteredVariables',DirectoryName,'_filter_step_ahead');
|
||||
|
|
Loading…
Reference in New Issue