Using steady state values in model block
Posted: Wed Dec 17, 2014 3:57 pm
Hi everybody,
sorry if this question has come up before, but I was wondering if there is a way to use the values that dynare computes using the steady command in the model declaration.
To give an example, suppose I have an equation f(k,k_ss)=0 in my model, where k_ss is the steady state of k. I would like to call a function that automatically puts the steady state of k into this equation. For example:
model;
f(k,steady(k))=0;
end;
where steady is the function that I described. Computing the steady state beforehand is cumbersome in my model, so I'd like dynare to do the heavy lifting if possible.
Any comments would be greatly appreciated.
sorry if this question has come up before, but I was wondering if there is a way to use the values that dynare computes using the steady command in the model declaration.
To give an example, suppose I have an equation f(k,k_ss)=0 in my model, where k_ss is the steady state of k. I would like to call a function that automatically puts the steady state of k into this equation. For example:
model;
f(k,steady(k))=0;
end;
where steady is the function that I described. Computing the steady state beforehand is cumbersome in my model, so I'd like dynare to do the heavy lifting if possible.
Any comments would be greatly appreciated.