kalmanfs: Kalman Filtering and Smoothing

Description Usage Arguments Value

View source: R/kalman.R

Description

Implements a basic Kalman filter and smoother for dynamic linear models, considering vague priors.

Usage

1
kalmanfs(Y, Ft, Gt, Vt, Wt)

Arguments

Y

A T by m matrix containing T observations of an m-variate series.

Ft

The observational matrix.

Gt

The evolutional matrix.

Vt

The observational covariance matrix.

Wt

The evolutional covariance matrix.

Value

A list with posterior means 's' and covariances 'S'.


vsartor/bnsa documentation built on May 17, 2019, 12:04 p.m.