Page 1 of 1

``cite'' the steady state level in the model block

PostPosted: Sat Jan 24, 2015 10:31 am
by mindint
In the model block, can we ``cite'' the steady state level computed in the steady_state_ model block?
for example:

model;
log(M)-log(Mbar)=rho*(log(M(-1))-log(Mbar));
end;

where Mbar is the steady state of M

Thanks!

Re: ``cite'' the steady state level in the model block

PostPosted: Sat Jan 24, 2015 10:53 am
by jpfeifer
Use the steady_state-operator:
Code: Select all
model;
log(M)-log(steady_state(Mbar))=rho*(log(M(-1))-log(steady_state(M)));
end;

Note, however, that the steady state must be uniquely determined. See the discussion at the bottom of http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5407