This section describes a collection of Kalman filtering and smoothing subroutines for time series analysis; immediately following are three examples using Kalman filtering subroutines. The state space model is a method for analyzing a wide range of time series models. When the time series is represented by the state space model (SSM), the Kalman filter is used for filtering, prediction, and smoothing of the state vector. The state space model is composed of the measurement and transition equations.
The following Kalman filtering and smoothing subroutines are supported:
performs covariance filtering and prediction.
performs fixed-interval smoothing.
performs diffuse covariance filtering and prediction.
performs diffuse fixed-interval smoothing.