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

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
parent 9885a315
Branches
Tags
No related merge requests found
...@@ -64,6 +64,11 @@ if (isnumeric(options_.mode_compute) && options_.mode_compute && options_.analyt ...@@ -64,6 +64,11 @@ if (isnumeric(options_.mode_compute) && options_.mode_compute && options_.analyt
options_.analytic_derivation=1; options_.analytic_derivation=1;
end end
if options_.logged_steady_state
oo_.dr.ys=exp(oo_.dr.ys);
oo_.steady_state=exp(oo_.steady_state);
end
if nnobs > 1 if nnobs > 1
for i=1:nnobs for i=1:nnobs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment