Skip to content
Snippets Groups Projects
Commit 2dd65100 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

smoother2histval.m: undo logging

parent 62e80b0c
Branches
Tags
No related merge requests found
......@@ -179,7 +179,11 @@ end
% Handle all endogenous variables to be copied
for i = 1:length(invars)
if ~isempty(strmatch(invars{i}, M_.endo_names, 'exact'))
if oo_.Smoother.loglinear
s = exp(smoothedvars.(invars{i}));
else
s = smoothedvars.(invars{i});
end
elseif ~isempty(strmatch(invars{i}, M_.exo_names, 'exact'))
s = smoothedshocks.(invars{i});
else
......
......@@ -82,10 +82,11 @@ varobs gp_obs gy_obs;
options_.solve_tolf = 1e-12;
estimation(order=1,datafile=fsdat_simul,nobs=192,mh_replic=1500,mh_nblocks=1,mh_jscale=0.8,smoother,consider_all_endogenous);
estimation(order=1,loglinear,datafile=fsdat_simul,nobs=192,mh_replic=2,mh_nblocks=1,mh_jscale=0.8,smoother,consider_all_endogenous_and_auxiliary);
steady;
smoother2histval(period = 5);
options_.loglinear=0;
stoch_simul(nomoments);
forecast;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment