Commit 6a2d2a7b authored by Michel Juillard's avatar Michel Juillard
Browse files

smoother deals with all variables in M_.endo_names unless option SELECTED_VARIABLES_ONLY is used

parent e54a5051
......@@ -200,9 +200,13 @@ aux(k,2) = aux(k,2) + sum(k2 > nstatic+npred);
bayestopt_.restrict_aux = aux;
k3 = [];
for i=1:size(var_list_,1)
k3 = [k3; strmatch(var_list_(i,:),M_.endo_names(dr.order_var,:), ...
'exact')];
if options_.selected_variables_only
for i=1:size(var_list_,1)
k3 = [k3; strmatch(var_list_(i,:),M_.endo_names(dr.order_var,:), ...
'exact')];
end
else
k3 = (1:M_.endo_nbr)';
end
bayestopt_.smoother_var_list = union(k2,k3);
[junk,bayestopt_.smoother_saved_var_list] = intersect(k3,bayestopt_.smoother_var_list);
......
......@@ -203,6 +203,7 @@ for i=1:length(years)
end
options_.filter_covariance = 0;
options_.filter_decomposition = 0;
options_.selected_variables_only = 0;
% Misc
options_.conf_sig = 0.6;
oo_.exo_simul = [];
......
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