Learn R Programming

KFAS (version 1.0.3)

coef.KFS: Extract Estimated States of State Space Model

Description

Extracts the estimates states from output of KFS. For non-Gaussian models without simulation, these are estimates of conditional modes of states. For Gaussian models and non-Gaussian models with importance sampling, these are estimates of conditional means of states.

Usage

## S3 method for class 'KFS':
coef(object, start = NULL, end = NULL, filtered = FALSE,
  ...)

Arguments

object
An object of class KFS.
start
The start time of the period of interest. Defaults to first time point of the object
end
The end time of the period of interest. Defaults to the last time point of the object.
filtered
Logical, return filtered instead of smoothed estimates of state vector. Default is FALSE.
...
Ignored.

Value

  • Multivariate time series containing estimates states.