Dear all,
would it be possible for some of you to generously take a look at my confusion about dynare?
After running dynare mod (for example dynrbc.mod)file, it automatically generates a m_file named dynrbc_dynamic.m.
the function shows up at the top of this file is "function [residual, g1, g2, g3] = dynrbc_dynamic(y, x, params, steady_state, it_)"
Therefore I have some question about variables: y x steady_state it_.
lets say, the original four endogenous variables are c i k a, two exogenous variables are u v. And the M_.lead_lag_incidence=[1 0 0 2;3 4 5 6;0 7 0 8].
Does this mean?
y=[c(+1) a(+1) c i k a i(-1) k(-1)] which contains 8 variables now,
x=[u v];
steady_state=[c_ss a_ss c_ss i_ss k_ss a_ss i_ss k_ss];
it_=1; (this is always true).
if this is the case, what is the format of y and x that preserved in dynare? y and x should be string or cell or some other format? it is column vector or row vector?
And why do we need it_ here? is it necessary?
Best wishes!
Andy