Need help for expressing model equation in expectation 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.

Need help for expressing model equation in expectation form

Postby dennis0125hk » Thu Mar 10, 2011 9:45 am

I want to confirm how I write the below expression,
mu(t) = beta*E_t{E_t(V(t+1)^(1-alpha))^(alpha/(1-alpha))*V(t+1)^(-alpha)*(r(t+1)+mu(t+1))}

where E_t is the current expectation parameter.

Given that I have defined,
W(t) = E_t(V(t+1)^(1-alpha))

In Dynare,
beta = betta;
alpha = alpa;

Then I can write the expression given at the top in Dynare as,
mu = betta*W^(alp/(1-alp))*V(+1)^(-alp)*(r(+1)+mu(+1))

Is the above expression correct? Thanks for your attention.
dennis0125hk
 
Posts: 18
Joined: Mon Jan 19, 2009 2:28 am

Re: Need help for expressing model equation in expectation form

Postby SébastienVillemot » Mon Mar 21, 2011 11:26 am

Yes it is correct.

Dynare implicitely adds E_t in front of every equation, so the equation you wrote in Dynare is actually equivalent to:

Code: Select all
mu = E_t(betta*W^(alp/(1-alp))*V(+1)^(-alp)*(r(+1)+mu(+1)))


Which is equivalent to what you want (assuming that you also wrote
Code: Select all
W = V(t+1)^(1-alpha)
in your MOD-file).
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

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