Expectation of the Variable Squared and Squared expectation

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.

Expectation of the Variable Squared and Squared expectation

Postby nini » Fri Dec 28, 2012 9:31 am

Hello,

Does anyone know how to make difference in Dynare between entry of expectation of the forward-looking variable squared[ E(Xt+1^2) ] and squared expectation of that forward-looking variable[ (E(Xt+1))^2 ]?

E(Xt+1^2) in Dynare should be written as follows: X(+1)^2
But what about (E(Xt+1))^2,how should that be written in Dynare?

Please help
nini
 
Posts: 6
Joined: Tue Aug 07, 2012 6:29 pm

Re: Expectation of the Variable Squared and Squared expectat

Postby jpfeifer » Sat Dec 29, 2012 11:11 am

------------
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: Expectation of the Variable Squared and Squared expectat

Postby nini » Fri Jan 04, 2013 10:37 am

Thank you for your answear,

I have an additional question:

I want to calculate variance [variance=E(X^2) - (E(X))^2] using the difference between (E_t(X_t+1)^2) and (E_t(X_t+1))^2 and I understand that I need to use at least 2. order Taylor approximation to have the difference between (E_t(X_t+1)^2) and (E_t(X_t+1))^2 different from zero. However, I am concerned with steady state values of these 2 expectations. Understanding that in steady state all the variables become constant, it seems logical that the steady state values of the (E_t(X_t+1)^2) and (E_t(X_t+1))^2 will be equal ( both will become X^2).

Am I correct in my thinking?

Please help
nini
 
Posts: 6
Joined: Tue Aug 07, 2012 6:29 pm

Re: Expectation of the Variable Squared and Squared expectat

Postby jpfeifer » Mon Jan 07, 2013 4:53 pm

Hi,
I am not sure I get your question and confused by your notation using conditional and unconditional expectations. In the deterministic steady state, obviously there is no difference as there are no shocks. This is the problem of Devereux/Sutherlands indeterminate steady state in models with portfolio choice.
------------
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: Google [Bot] and 7 guests