5.4 General Kalman Filter

The more general formulation of the state space model described in the previous section as an observation equation yt=Atxt+Vt and a state equation xt=Θxt1+Wt where yt is a p×1 vector, xt is a k×1 vector, At is a p×k matrix and Θ is k×k matrix. We can think of VtN(0,S) and WtN(0,R).

Given an initial state x00 and P00, the prediction equations are (analogous to above) x01=Θx00P01=ΘP00Θ+R and the updating equations are, given a new observation y1, x11=x01+K1(y1A1x01)P11=(IK1A1)P01 where K1=P01A1(A1P01A1+S)1. In general, given the current state xt1t1 and Pt1t1 and a new observation yt, we have xt1t=Θxt1t1Pt1t=ΘPt1t1Θ+R and the updating equations are, given a new observation yt, xtt=xt1t+Kt(ytAtxt1t)Ptt=(IKtAt)Pt1t where Kt=Pt1tAt(AtPt1tAt+S)1.