Steady States: Linearization vs. Log Linearization

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Steady States: Linearization vs. Log Linearization

Postby kwaner » Fri Jan 13, 2012 6:13 pm

I wrote a non-linear model and could find the steady states (and run it in levels). However, when I want to have a log-linearized solution, I cannot find the steady states of the same model. Here's what I did:

Convert all variables x as exp(x). Put the initial values of steady states as log(x_ss) where x_ss is the corresponding steady state from the level version. I considered when x includes both endogenous and exogenous variables and also a version where x includes only the endogenous variables leaving the exogenous variables that evolve in logs as they were. Please help.
kwaner
 
Posts: 10
Joined: Wed Jun 01, 2011 3:05 pm

Re: Steady States: Linearization vs. Log Linearization

Postby kyri82 » Fri Jan 13, 2012 6:16 pm

When you log-linearise a model, you express each variable in deviation from the steady-state. Thus, at the steady-state the deviation is zero and each variable's steady-state is zero! Thats the advantage of putting the model directly in log-linear form in Dynare, you do not have to compute the steady-state, care about initial conditions etc...

Kyriacos
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: Steady States: Linearization vs. Log Linearization

Postby kwaner » Fri Jan 13, 2012 6:27 pm

Actually, I want to solve the model using second order. So I am not log linearizing by hand and then throw it in dynare as a linear model in which case I will get exactly what you suggest. My goal was to write as a non-linear model and then solve the model using 2nd order but as log-deviations instead of levels. Does this make sense?
kwaner
 
Posts: 10
Joined: Wed Jun 01, 2011 3:05 pm

Re: Steady States: Linearization vs. Log Linearization

Postby kyri82 » Fri Jan 13, 2012 6:30 pm

why don't you create new variables setting them equal to x_new = x_level - x_steady ?
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: Steady States: Linearization vs. Log Linearization

Postby jpfeifer » Sat Jan 14, 2012 5:17 pm

The way you proceed seems to be correct. If you perform a variable substitution, the steady state values have to be replaced by log(x_ss) as you say. If you use a numerical solver in Dynare to find the SS, Dynare may have numerical problems. In this case, try giving better starting values or use the level version that finds the steady state to generate the log of the true steady state values as starting values. If these values do not solve the log version of the model, there is still a mistake in the mod-file and the variable substitution.
Finally, remember that you cannot substitute for variables with steady state less or equal to 0.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests