Make sure that estimation works after loglinear option in stoch_simul with initval-block

stoch_simul logs the steady state. Here, it is transformed back
time-shift
Johannes Pfeifer 2014-01-30 08:53:58 +01:00
parent 9885a31587
commit 4bd7f4952a
1 changed files with 6 additions and 1 deletions

View File

@ -64,6 +64,11 @@ if (isnumeric(options_.mode_compute) && options_.mode_compute && options_.analyt
options_.analytic_derivation=1;
end
if options_.logged_steady_state
oo_.dr.ys=exp(oo_.dr.ys);
oo_.steady_state=exp(oo_.steady_state);
end
if nnobs > 1
for i=1:nnobs