View source: R/FUN_covariance_serial.R
| antem | R Documentation |
Antedependence covariance structure. The returned dimensionless covariance shape is intended for use inside vsm, which supplies the single overall variance scale.
antem(x, order = 1L, beta = NULL, innovations = NULL, fixed = NULL)
x |
Ordered variable defining q covariance levels. |
order |
Antedependence order, 1 <= order < q. |
beta |
Optional starting regression coefficients for allowed subdiagonals. |
innovations |
Optional q positive innovation variances. |
fixed |
Logical vector controlling all beta coefficients and q-1 innovation-variance ratios. |
The modified-Cholesky representation is
Ty=e,\qquad \mathrm{Cov}(e)=D,\qquad K=T^{-1}DT^{-\mathsf T}.
The matrix T is unit lower triangular, with nonzero regression coefficients only within the requested number of preceding levels. The first innovation variance is the scale reference; the remaining innovation variances are positive ratios.
A list containing the incidence/design matrix in Z and a compiled CovarianceFactor v2 descriptor in covFactor, for use inside vsm.
ar1m, toeplitzm, vsm.
## Not run:
vsm(antem(time, order=2), ism(id))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.