ks: Kalman smoother for STS models

ksR Documentation

Kalman smoother for STS models

Description

ks computes smoothed states and their covariance matrices.

Usage

ks(mdl, ...)

## S3 method for class 'stsm'
ks(mdl, x1 = NULL, P1 = NULL, ...)

Arguments

mdl

an object of class stsm.

...

additional arguments.

x1

initial state vector.

P1

covariance matrix of x1.

Value

An list with the smoothed states and their covariance matrices.


gallegoj/tfarima documentation built on March 31, 2024, 10:32 a.m.