# Doubt - Gali linearization and Dynare

In the Galí’s book, he linearizes all the equations but he does not use log-deviations
from steady state. In Dynare, can I use the equations in the log-linear format? Is the steady-state zero anyway?

I am very beginner! Thank you for any help.

Virginia

The loglinearization in the book appears to be log form, but it can be easily transformed into log deviation forms only by subtracting the log steady states at both sides!

Dynare can handle both, but you need to be consistent. For Gali’s book, it is easier to drop all constants than to add them. See the codes at https://github.com/JohannesPfeifer/DSGE_mod/tree/master/Gali_2015

I have a question, how can I obtain the log steady states? I’m just able to use the uhlig’s method to do lineariztion

What exactly do you mean? You would need to compute the steady state first (as always) and then take the logs. Note that log linearizations are more straightforward than Uhlig’s method. See e.g. Log Linearisation Question

Professor, i have a question on this topic. What if the steady state value doesn’t exist when i add some constants as in the Gali’s book? I used basically the same code as in your homepage(for sticky wage chapter) and just added some constant terms like rho in the interest rate rule and natural interest rate and others on the natural wage and so on as described in the book.

In that case you did not properly add all required constants, leading to the steady state not existing.

Thank you so much, professor. It was just a typo in the book.