欢迎来到天天文库
浏览记录
ID:41386906
大小:120.48 KB
页数:67页
时间:2019-08-23
《台湾清华大学 DSGE模型讲义 lecture4》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、KalmanFilterandMaximumLikelihoodEstimationofLinearizedDSGEModelsDr.Tai-kuangHoAssociateProfessor.DepartmentofQuantitativeFinance,NationalTsingHuaUniversity,No.1StatespaceformandtheKalman…lter1.1Statespaceformxt:thestatevariableszt:theobservablevariablesTransitionequation101,Se
2、ction2,Kuang-FuRoad,Hsinchu,Taiwan30013,Tel:+886-3-571-5131,ext.62136,Fax:+886-3-562-1823,E-mail:tkho@mx.nthu.edu.tw.xt+1=Fxt+G!t+1!t+1N(0;Q)Measurementequationz0t=Htxt+ttN(0;R)Wewanttowritethelikelihoodfunctionofzt.1.2SomeusefulpropertiesofnormaldistributionAssumethat"#"#"#
3、!XjwxxxxyZjw=N;YjwyyxyyTheniffollowsXjY;wNx+ 1 1xyyy(Y y);xx xyyyyx1.3Kalman…lterzt 1fz 1;z0;:::;zt 1gxt 1,thehistoryoftheobserv-tjt 1:therandomvariablesxtconditionalonzablevariablesxtjt 1Extjzt 10tjt 1Ext xtjt 1xt xtjt 1jzt 1ztjt 1Eztjzt 1
4、0tjt 1Ezt ztjt 1zt ztjt 1jzt 1zzt 10t 1tjt 1Etjz=EHtxt+tjz=H0txtjt 10t 1tjt 1Ezt ztjt 1zt ztjt 1jz0=EH0xH0t 1tt xtjt 1+ttxt xtjt 1+tjz0=EH0xt 10t 1tt xtjt 1xt xtjt 1Htjz+Ettjz=H0ttjt 1Ht+R0t 1Ezt ztjt 1xt xtjt 1jz00t 1=EHtxt xt
5、jt 1+txt xtjt 1jz=H0ttjt 11.4Kalman…lter:…rstiterationx0j 10j 1(symmetricmatrix)Assumethat"#"#"#!x0 1x0j 10j 10j 1H0jzN0;00z0HH0x0j 100j 1H00j 1H0+Rz 1fz 1gTheniffollowshix 10jz;z0Nx0j0;0j0 1xH0z00j0=x0j 1+0j 1H000j 1H0+R0 H0x0j 1 1H0H00j0=0j 1 0j 1H00
6、0j 1H0+R00j 1z0fz 1;z0gItfollowsthatxx001j0=E1jz=EFx0+G!1jz=Fx0j0001j0=Ex1 x1j0x1 x1j0jz00=EFx0+G!1 x1j0Fx0+G!1 x1j0jz00=EFx0+G!1 Fx0j0Fx0+G!1 Fx0j0jz0=EFx000000 x0j0x0 x0j0Fjz+EG(!1)(!1)Gjz=F0+GQG00j0Fzz0001j0=E1jz=EH1x1+1jz=H01x1j000
7、1j0=Ez1 z1j0z1 z1j0jz000000=EH1x1+1 H1x1j0H1x1+1 H1x1j0jz0=EH0x00011 x1j0x1 x1j0H1jz+E(1)(1)jz=H011j0H1+RWehavemovedasfollows:x0j 1;0j 1!z0!x0j0;0j0!x1j0;1j0;z1j0;1j01.5Kalman…lter:thealgorithmxtjt 1tjt 1zt 1xH0z0tjt=xtjt 1+tjt 1Htttjt 1Ht+Rt
8、Htxtjt 1 1H0H0tjt=tjt
此文档下载收益归作者所有