Issue with log-linear equations

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.

Issue with log-linear equations

Postby rteconomics » Sat Apr 07, 2012 11:33 pm

Hi there!
I have a problem with a model I'm working to. The system is composed by 22 equations. 19 are fine but I have an issue with 3 of them.
Specifically, the issue is that (by following Uribe (2003)) these equations are written in log-deviation (for some (!) of the variables) from the steady state. More in details, here are the 3 equations:

1) Government expenditure with spending reversal: ln(g)-gbar=rhogg*(ln(g(-1))-gbar)+rhogd*(d(-1)/y(-1)-dbar/ybar)+eg;
2) Tax rate: tau=tauav+theta*(d(-1)/y(-1)-dbar/ybar);
3) External debt elastic interest rate: r=rav+psi*(exp(s-sbar)-1);

A 'bar' in the variable name indicates the steady-state value of the variable itself.
Clearly, Dynare does not like my way of writing the code but I have no idea how to fix it.

Any idea?
THANKS!
rteconomics
 
Posts: 41
Joined: Wed Jan 04, 2012 11:29 am

Re: Issue with log-linear equations

Postby rteconomics » Sat Apr 07, 2012 11:35 pm

Oh, btw I forgot to mention that all other equations are fine and they are NOT written in log terms.. (very standard first order conditions..).
rteconomics
 
Posts: 41
Joined: Wed Jan 04, 2012 11:29 am

Re: Issue with log-linear equations

Postby jpfeifer » Wed Apr 18, 2012 7:23 pm

Why is this a problem? Is your model in general linear or log-linear? Do you use exp() for log-linearization. Which error do you get?
------------
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