How to differentiate E(x_t+1) E(y_t+1) and E(x_t+1 * y_t+1)

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.

How to differentiate E(x_t+1) E(y_t+1) and E(x_t+1 * y_t+1)

Postby superztt » Sat Apr 26, 2014 8:34 pm

Hi, I am just a new user. I am confused about the future operator.

When typing in x(+1)y(+1), I wonder whether it means the product of the expectation or the expectation of the product, as shown in the title.

Or, how do we let dynare tell them apart?

Thanks!
superztt
 
Posts: 58
Joined: Sat Apr 26, 2014 8:24 pm

Re: How to differentiate E(x_t+1) E(y_t+1) and E(x_t+1 * y_t

Postby ahnulxy » Fri May 02, 2014 11:48 pm

Have you ever have some FOCs which has parts like E(x_t+1) E(y_t+1)?
Most time we have something like this: E(x_t+1*y_t+1).
ahnulxy
 
Posts: 43
Joined: Thu May 10, 2012 7:24 am

Re: How to differentiate E(x_t+1) E(y_t+1) and E(x_t+1 * y_t

Postby superztt » Sun May 04, 2014 11:35 pm

ahnulxy wrote:Have you ever have some FOCs which has parts like E(x_t+1) E(y_t+1)?
Most time we have something like this: E(x_t+1*y_t+1).


In the Calvo pricing case, there is something like E(sum of (x_leads* y_leads))/E(sum of (x_leads)). So I wonder, if I type in sum of x_leads* y_leads/sum of x_leads, is it treated as E(sum of x_leads* y_leads)/E(sum of x_leads) or E(sum of x_leads* y_leads/sum of (x_leads))?
superztt
 
Posts: 58
Joined: Sat Apr 26, 2014 8:24 pm

Re: How to differentiate E(x_t+1) E(y_t+1) and E(x_t+1 * y_t

Postby jpfeifer » Wed May 07, 2014 9:15 am

That is not correct. In the Calvo case, you get E_t( something )=0. What you wrote down seems to be a wrong or at least strange transformation. Using the FOC in the form E_t( something )=0 avoids this issue. Dynare by default treats everyting as E(x_t+1*y_t+1).

If you really want to get E(x_t+1) E(y_t+1) you have to use auxiliary variables as in the Epstein-Zin case. See e.g. 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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests