statsmodels.tsa.statespace.kalman_smoother.SmootherResults.standardized_forecasts_error

property SmootherResults.standardized_forecasts_error

Standardized forecast errors

Notes

The forecast errors produced by the Kalman filter are

vtN(0,Ft)

Hypothesis tests are usually applied to the standardized residuals

vst=BtvtN(0,I)

where Bt=L1t and Ft=LtLt; then F1t=(Lt)1L1t=BtBt; Bt and Lt are lower triangular. Finally, BtvtN(0,BtFtBt) and BtFtBt=L1tLtLt(Lt)1=I.

Thus we can rewrite vst=L1tvt or Ltvst=vt; the latter equation is the form required to use a linear solver to recover vst. Since Lt is lower triangular, we can use a triangular solver (?TRTRS).