Learn R Programming

bssm (version 1.0.0)

ekf_smoother: Extended Kalman Smoothing

Description

Function ekf_smoother runs the (iterated) extended Kalman smoother for the given non-linear Gaussian model of class ssm_nlg, and returns the smoothed estimates of the states and the corresponding variances.

Usage

ekf_smoother(model, iekf_iter = 0)

Arguments

model

Model model

iekf_iter

If iekf_iter > 0, iterated extended Kalman filter is used with iekf_iter iterations.

Value

List containing the log-likelihood, smoothed state estimates alphahat, and the corresponding variances Vt and Ptt.