Learn R Programming

bssm (version 0.1.8)

ekf_smoother: Extended Kalman Smoothing

Description

Function ekf_smoother runs the (iterated) extended Kalman smoother for the given non-linear Gaussian model of class nlg_ssm, and returns the filtered estimates and one-step-ahead predictions of the states \(\alpha_t\) given the data up to time \(t\).

Usage

ekf_smoother(object, iekf_iter = 0)

Arguments

object

Model object

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.