how to get E(x(+1)y(+1))/E(x(+1))?
Posted: Tue Aug 05, 2014 6:09 pm
I did two ways. But appears both are wrong.
1. set z1=x(+1)y(+1), z2=x(+1), and use z1/z2
2. x(+1)y(+1)/z2
I compared the IRF of 1, 2 with the result if I use x(+1)y(+1)/x(+1). They ended the same. However, I think x(+1)y(+1)/x(+1) is treated as E[ x(+1)y(+1)/x(+1)] in Dynare. I am pretty sure there is some correlation between x and y, so that E(x(+1)y(+1))should not equal E[x(+1)]E[y(+1)]. I was expecting different results between 1 or 2 and x(+1)y(+1)/x(+1).
What is the correct way to express E(x(+1)y(+1))/E(x(+1)) in Dynare? Cheers!
1. set z1=x(+1)y(+1), z2=x(+1), and use z1/z2
2. x(+1)y(+1)/z2
I compared the IRF of 1, 2 with the result if I use x(+1)y(+1)/x(+1). They ended the same. However, I think x(+1)y(+1)/x(+1) is treated as E[ x(+1)y(+1)/x(+1)] in Dynare. I am pretty sure there is some correlation between x and y, so that E(x(+1)y(+1))should not equal E[x(+1)]E[y(+1)]. I was expecting different results between 1 or 2 and x(+1)y(+1)/x(+1).
What is the correct way to express E(x(+1)y(+1))/E(x(+1)) in Dynare? Cheers!