Page 1 of 1

expectation forecast error

PostPosted: Wed Dec 21, 2016 11:38 am
by ZBCPA
Dear Johannes,

In dynare, y(+1) represents Et[y(t+1)]. Since expectation forecast error for output is eta(t)=y(t)-E(t-1)[y(t)], should I define such forecast error in dynare as following:
Code: Select all
Ey=y(+1);
eta=y-Ey(-1)


Thanks in advance,
Huan

Re: expectation forecast error

PostPosted: Wed Dec 21, 2016 5:36 pm
by jpfeifer
Yes, that is the proper way with auxiliary variables. You could also use
Code: Select all
eta=y-EXPECTATION(-1)(y)