non-linear model using exp()

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.

non-linear model using exp()

Postby INTLMACRO » Thu Feb 18, 2016 3:03 pm

Hi!
I have a simple question about the transformation of the variables from levels to logs.
Lets say that the original model has the following goods market clearing condition: Y1+Y2=C1+C2+I1+I2;
If I write:
Code: Select all
model;
Y1+Y2=C1+C2+I1+I2;
end;

The IRF will show absolute deviations from steady-state.

IF I wanted to obtained log-deviations, then I need to transform each variable with exp().
I have seen many models using the following transformation for this very specific equation ( which is originaly linear)
Code: Select all
model;
exp(Y1)+exp(Y2)=exp(C1)+exp(C2)+exp(I1)+exp(I2);
end;

BUT, the exp(Y1+Y2)=exp(Y1)*exp(Y2), then the above transformation is wrong?
How should I do this transformation?

Many thanks in advance.
INTLMACRO
 
Posts: 5
Joined: Tue Oct 20, 2015 3:17 pm

Re: non-linear model using exp()

Postby jpfeifer » Sat Feb 20, 2016 7:45 am

Sorry, but I don't understand your question. Every single variable is log-transformed, not the whole equation. Please see 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.
------------
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 15 guests