ikf | R Documentation |
ikf
computes the starting values x0 and P0 by generalized least
squares using the first n observations.
ikf(mdl, ...)
## S3 method for class 'stsm'
ikf(mdl, y = NULL, n = 0, ...)
mdl |
an object of class |
... |
additional arguments. |
y |
optional time series if it differes from model series. |
n |
integer, number of observations used to estimate the inical conditions. By default, n is the length of y. |
An list with the initial state and its covariance matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.