expectation forecast error

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 forecast error

Postby ZBCPA » Wed Dec 21, 2016 11:38 am

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
ZBCPA
 
Posts: 101
Joined: Sat May 16, 2015 4:15 am

Re: expectation forecast error

Postby jpfeifer » Wed Dec 21, 2016 5:36 pm

Yes, that is the proper way with auxiliary variables. You could also use
Code: Select all
eta=y-EXPECTATION(-1)(y)
------------
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 6 guests