writing a log-linear form

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.

writing a log-linear form

Postby Aldo » Tue Oct 27, 2015 5:12 pm

Cheers,
I am studying the work of Aguiar and Drumond (2007), and have the following equation:

rf(t+1)==alpha*E_t[rk(t+1)] + beta*r(t+1)

where E_t denotes rational expectation in t.

How I can write this equation in Dynare?
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm

Re: writing a log-linear form

Postby jpfeifer » Fri Oct 30, 2015 8:22 am

Please elaborate on the equation and the problems you have. Is this equation in Dynare's timing convention, i.e. r(t+1) is the value of r realized at time t+1 (affected by shocks at time t+1)? In this case, you may want to define
Code: Select all
rf(t)=alpha*E_{t-1}[rk(t)] + beta*r(t)

using an auxiliary variable that stores the expectation of rk(t+1) as of time t (E_t_rk_tp1) and lag it:
Code: Select all
rf=alpha*E_t_rk_tp1(-1) + beta*r;
E_t_rk_tp1=rk(+1);
------------
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: writing a log-linear form

Postby Aldo » Mon Nov 02, 2015 3:03 am

Thanks a lot dear Johannes.

Cheers

Aldo
Aldo
 
Posts: 56
Joined: Fri Aug 07, 2015 4:47 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 12 guests