powered by
The function creates an n-th order polynomial exDQLM component.
polytrendMod(order, m0, C0)
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.
The order of the polynomial model.
Prior mean of the state vector. Default is m0 = rep(0,order).
m0 = rep(0,order)
Prior covariance of the state vector. Default is C0 = 1e3*diag(order).
C0 = 1e3*diag(order)
# create a second order polynomial component trend.comp = polytrendMod(2,rep(0,2),10*diag(2))
Run the code above in your browser using DataLab