Description Usage Arguments Value
This function can generate the appropriate state and transition matrices (Tt, Zt, GGt, HHt) for different possible trend components. Possible univariate trends are given with:
y(t) = mu(t) + extra stuff
(1 - phi1 L)^d mu(t) = nu(t-1) + xi(t-1)
(1 - phi2 L)^r nu(t) = eta(t)
Noise terms eta and xi are iid normal mean 0
with variances sig2eta
etc. This function generates all possible
combinations of these. See Chapter 3 in (Durbin and Koopman) for more
information. "Extra stuff" can be simply an error variance or may include
seasonal, cyclical, or other components.
1 | trendModelArb(parmlist)
|
parmlist |
The input contains named elements The default values (generated by
|
A list of matrices with components Z
, Tt
, Q
, and
R
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.