Write non-linear DSGE in Dynare

How we can write the following equation in Dynare in a nonlinear form

Ln ( MG_{t}/\overline{MG})= \rho_{mg} Ln(MG_{t-1}/\overline{MG})

Hi, your equation is already nonlinear. You can rewrite it as \frac{MG_t}{\overline{MG}} = \left(\frac{MG_{t-1}}{\overline{MG}}\right)^{\rho_{mg}}.

Best,
Stéphane.

I know your way to delete logarithm in both sides of the equation. But how we can write a variable in a steady state form in a nonlinear model such as follows :

\overline{MG}

How we can code this variable ? This is a steady state variable.

Use the steady_state operator. See e.g.