Learn R Programming

bssm (version 0.1.8)

ekpf_filter: Extended Kalman Particle Filtering

Description

Function ekpf_filter performs a extended Kalman particle filtering with stratification resampling, based on Van Der Merwe et al (2001).

Usage

ekpf_filter(object, nsim, ...)

# S3 method for nlg_ssm ekpf_filter(object, nsim, seed = sample(.Machine$integer.max, size = 1), ...)

Arguments

object

of class nlg_ssm.

nsim

Number of samples.

...

Ignored.

seed

Seed for RNG.

Value

A list containing samples, filtered estimates and the corresponding covariances, weights from the last time point, and an estimate of log-likelihood.

References

Van Der Merwe, R., Doucet, A., De Freitas, N., & Wan, E. A. (2001). The unscented particle filter. In Advances in neural information processing systems (pp. 584-590).