hi
I want to code in Dynare an equation that can be simplified to something as:
aE[X(t+1)]=bE[X(t+1)*Y(t+1)]
where E[X(t+1)*Y(t+1)] is the expectation of a product of two random variables
Any hint on how can I code this in Dynare?
if I define the variable Z=X*Y and I write:
aX(+1)=bZ(+1)
then Dynare seems to understand:
aE(X(t+1))=bE[X(t+1)]*E[Y(t+1)] , that is, a=bE[Y(t+1)]
but this is not what I want to write.
Many thanks for the help