A Problem of Writting Equations in Dynare
Posted: Thu Mar 16, 2017 7:08 am
Dear All,
I got a problem when writting equations in dynare. I will show as folows,
#Omega=beta*(C-zeta0*L^(1+zeta)/(1+zeta) )/(C(+1)-zeta0*(L(+1))^(1+zeta)/(1+zeta))*(1-sigma+sigma*psi(+1));
mu=Omega*((rk(+1)+(1-delta)*Q(+1))/Q-(1+tauK)*R(+1));
Here i have two choies, one is writting the ''Omega'' as auxiliary variable and add the sign of ''#'', this is the same with Substituting omega into the next equation. The other choice is writting ''Omega'' as an endogeneous variable.
I found that the simulation result is very different with these two choies.
Please help me with this problem.
Thnak you very much!
Peter
I got a problem when writting equations in dynare. I will show as folows,
#Omega=beta*(C-zeta0*L^(1+zeta)/(1+zeta) )/(C(+1)-zeta0*(L(+1))^(1+zeta)/(1+zeta))*(1-sigma+sigma*psi(+1));
mu=Omega*((rk(+1)+(1-delta)*Q(+1))/Q-(1+tauK)*R(+1));
Here i have two choies, one is writting the ''Omega'' as auxiliary variable and add the sign of ''#'', this is the same with Substituting omega into the next equation. The other choice is writting ''Omega'' as an endogeneous variable.
I found that the simulation result is very different with these two choies.
Please help me with this problem.
Thnak you very much!
Peter