Expected value of a power

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.

Re: Expected value of a power

Postby jpfeifer » Wed Dec 21, 2016 5:41 pm

Code: Select all
exp(-V(+1)/chi)/E_t[exp(-V(+1)/chi)]

again has the expectations around both expressions and is identical to 1.
You are not using a nonlinear transformation of the expectations themselves.
------------
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: Expected value of a power

Postby farukakbal » Wed Dec 21, 2016 5:59 pm

I believe i did the nonlinear transformation using the nonlinear function exp().
Code: Select all
EV = -(V(+1)/chi);

exp((-V(+1)/chi)-EV);

Does second line perform a nonlinear transformation right?

As a 2nd option i have written the expression at top as:
Code: Select all
(1 + (1/1)*(-V(+1)/chi-EV) + (1/2)*(-V(+1)/chi-EV)^2 + (1/6)*(-V(+1)/chi-EV)^3)

(which is actually a 3rd order approximtion around 0) so that i can solve the model with order=2. The IRFs are still same.
farukakbal
 
Posts: 8
Joined: Sun Dec 04, 2016 5:25 pm

Previous

Return to Dynare help

Who is online

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