Log-lin & lin together

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.

Log-lin & lin together

Postby dyndyn » Wed Jun 11, 2014 10:25 am

Is it possible to put a non-linear model into Dynare and ask Dynare to log-linearize some variables and to linearize some others?
I would put the variables (X) that I want in log-lin in the form "exp(X)" while I would put the other ones without exp.
Can those kinds of variables stay together in a model?
For example, I want the deviation of the interest rate, not the log-deviation.

Thanks
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Log-lin & lin together

Postby jpfeifer » Wed Jun 11, 2014 11:52 am

See Remark 19 (Variables with Negative Steady States or already in Percent) in 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

Re: Log-lin & lin together

Postby dyndyn » Wed Jun 11, 2014 3:42 pm

Thank you. I got the point. Just another question. Does Remark 19 mean that it is "better" to put GROSS interest or inflation rates in log rather than in levels?
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Log-lin & lin together

Postby jpfeifer » Wed Jun 11, 2014 4:07 pm

If they are close to 1, it does not really matter. In that case, percentage and absolute deviations are the same as the base is approximately 1. Moreover, what is the metric for "better"? It all depends on the interpretation you want
.
------------
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

Re: Log-lin & lin together

Postby dyndyn » Wed Jun 11, 2014 4:16 pm

I want to see the effect of a change in r (from, say, 3% to 4%) and in my model I have the variable R=(1+r). Should it be R or exp(R)? Thanks
dyndyn
 
Posts: 19
Joined: Fri Mar 07, 2014 4:40 pm

Re: Log-lin & lin together

Postby jpfeifer » Wed Jun 11, 2014 9:09 pm

That should not make any difference. Regardless of variable transformations, the equation must be the same, only the variable interpretation differs. Please be more specific and post the particular exogenous process/equation you are talking about.
------------
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 5 guests