Question about the lagged expectation operators

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.

Question about the lagged expectation operators

Postby zsk3 » Fri Oct 04, 2013 3:50 am

Hi,

I am trying to simulate a simple general equilibrium model introduced by Wen (2002). My problem is the capital investment decisions must be made in advance for at least one period. So, the capital investment will not respond to demand shocks instantaneously. Some of the first order conditions have the lagged expectation operator and I tried to incorporate it to the code (first two equations). However, the Blanchard condition is not met. Without the operators there is a steady state solution and I also get the impulse responses, but that's not what I want to solve.

Any help is highly appreciated. I attached my .mod file.

Thanks.
Attachments
wen.mod
(1.18 KiB) Downloaded 60 times
zsk3
 
Posts: 5
Joined: Wed Mar 13, 2013 4:17 am

Re: Question about the lagged expectation operators

Postby jpfeifer » Fri Oct 04, 2013 6:13 am

Try using an auxiliary variable, see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=3417
------------
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: Question about the lagged expectation operators

Postby zsk3 » Mon Oct 07, 2013 4:54 pm

Hi,

Thank you very much for your prompt reply. I tried to add auxiliary variables, but it doesn't seem to work. Probably I'm doing something wrong but I can't find the problem.

Basically I want to have two equations:

E_(t-1)[f(theta_t, c_t, theta_(t+1), c_(t+1), k_(t+1), n_(t+1))]=0;

and

E_(t-1)[g(n_t, theta_t, c_t, k_t, n_t)]=0;

and to handle this I defined z1=f(t+1) and used z1(-1)=0. Similarly for the second equation I defined z2=g(t+1) and used z2(-1)=0. But the rank condition is not verified.

Thank you for your help!
Attachments
wen.mod
(1.21 KiB) Downloaded 69 times
zsk3
 
Posts: 5
Joined: Wed Mar 13, 2013 4:17 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests