polytrendMod {exdqlm} | R Documentation |
Create an n-th order polynomial exDQLM component
Description
The function creates an n-th order polynomial exDQLM component.
Usage
polytrendMod(order, m0, C0)
Arguments
order |
The order of the polynomial model. |
m0 |
Prior mean of the state vector. Default is |
C0 |
Prior covariance of the state vector. Default is |
Value
A list of the following:
FF - Observational vector.
GG - Evolution matrix.
m0 - Prior mean of the state vector.
C0 - Prior covariance of the state vector.
Examples
# create a second order polynomial component
trend.comp = polytrendMod(2,rep(0,2),10*diag(2))
[Package exdqlm version 0.1.3 Index]