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
vt∼N(0,Ft)Hypothesis tests are usually applied to the standardized residuals
vst=Btvt∼N(0,I)where Bt=L−1t and Ft=LtL′t; then F−1t=(L′t)−1L−1t=B′tBt; Bt and Lt are lower triangular. Finally, Btvt∼N(0,BtFtB′t) and BtFtB′t=L−1tLtL′t(L′t)−1=I.
Thus we can rewrite vst=L−1tvt 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).