Learn R Programming

bssm (version 0.1.11)

kfilter: Kalman Filtering

Description

Function kfilter runs the Kalman filter for the given model, and returns the filtered estimates and one-step-ahead predictions of the states \(\alpha_t\) given the data up to time \(t\).

Usage

kfilter(object, ...)

Arguments

object

Model object

...

Ignored.

Value

List containing the log-likelihood (approximate in non-Gaussian case), one-step-ahead predictions at and filtered estimates att of states, and the corresponding variances Pt and Ptt.

Details

For non-Gaussian models, the Kalman filtering is based on the approximate Gaussian model.

See Also

bootstrap_filter