Basic question: Linearized model with big ratios.

Hi, sorry for the basic question.
I am new to Dynare. The linearized version of the model I want to simulate has some equations with variables with big ratios (of non linearized variables), for example:
y= /frac{C}{Y} c_t+ /frac{I}{Y} i_t+ /frac{G}{Y} g_t
I just would like to know if the correct way to code this in Dynare is the following:
Is it correct to do this? If not, how should I deal with it?
I am new to Dynare. The linearized version of the model I want to simulate has some equations with variables with big ratios (of non linearized variables), for example:
y= /frac{C}{Y} c_t+ /frac{I}{Y} i_t+ /frac{G}{Y} g_t
I just would like to know if the correct way to code this in Dynare is the following:
- Code: Select all
y = exp(c-y)*c + exp(i-y)*i + exp(g-y)*g ;
Is it correct to do this? If not, how should I deal with it?