Page 1 of 1

use of steady-state values in the --model-- block

PostPosted: Tue Dec 29, 2015 8:25 pm
by dynare_usr
Hello,

Is it possible to use steady-state values in the model description block?

That is I want to declare one of the variables, X, as follows X = alpha * Y_steady_state.
And the steady_state value is yet to be calculated.

Thanks and Happy Holidays!

Re: use of steady-state values in the --model-- block

PostPosted: Wed Dec 30, 2015 10:48 am
by jpfeifer
Use the steady_state operator: http://www.dynare.org/manual/index_16.html#Operators
In your case:

Code: Select all
 X = alpha * steady_state(Y)

Re: use of steady-state values in the --model-- block

PostPosted: Wed Dec 30, 2015 7:25 pm
by dynare_usr
Thank you, Johannes. I somehow overlooked this.
Happy holidays again!