Basic question: Linearized model with big ratios.

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.

Basic question: Linearized model with big ratios.

Postby Lexes9 » Wed Jul 13, 2016 10:19 am

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:

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?
Lexes9
 
Posts: 10
Joined: Wed Mar 30, 2016 11:09 pm

Re: Basic question: Linearized model with big ratios.

Postby jpfeifer » Wed Jul 13, 2016 2:22 pm

No, that does not work this way. Y and y_t are different objects. Y is the steady state level of output, while y_t is the percentage deviation of output from its steady state, i.e.
Code: Select all
y_t=Y_t/Y-1

Usually you need to compute the steady state values and define them as parameters. Have a look at Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf. There you can find an example.
------------
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: Google [Bot] and 7 guests