Q : Coding the multiplication of expected variables
Posted: Fri Jun 12, 2009 12:48 am
Hi, all.
I derived an equation such as y_t = E_t[ (x_t+1)*(z_t+1) ]
that I coded this equation as y = x(+1)*z(+1) .
However, I think this coding would mean this ; y_t = E_t[x_t+1]*E_t[z_t+1]
So, to avoid such confusion, I coded the equation as y = x(+1)*z(+1) +c
where 'c' is a constant variable represanting the covariance of x and z.
I'm not sure whether it is a reasonable way or not.
Thanks for reading and hope for any reply.
I derived an equation such as y_t = E_t[ (x_t+1)*(z_t+1) ]
that I coded this equation as y = x(+1)*z(+1) .
However, I think this coding would mean this ; y_t = E_t[x_t+1]*E_t[z_t+1]
So, to avoid such confusion, I coded the equation as y = x(+1)*z(+1) +c
where 'c' is a constant variable represanting the covariance of x and z.
I'm not sure whether it is a reasonable way or not.
Thanks for reading and hope for any reply.