View source: R/FUN_covariance_serial.R
| toeplitzm | R Documentation |
General positive-definite Toeplitz correlation structure. The returned dimensionless covariance shape is intended for use inside vsm, which supplies the single overall variance scale.
toeplitzm(x, pacf = NULL, fixed = NULL)
x |
Ordered factor or design defining q covariance levels. |
pacf |
Optional q-1 starting reflection coefficients / partial autocorrelations. Defaults to 0.10. |
fixed |
Logical vector of length q-1. |
A full q by q Toeplitz correlation matrix is parameterized by q-1 reflection coefficients. Each PACF is mapped from an unconstrained working coordinate with tanh; the reflection coefficients are converted to a stable autoregressive representation and then to the implied Toeplitz correlation sequence. This parameterization preserves positive definiteness while allowing every lag correlation to vary indirectly.
A list containing the incidence/design matrix in Z and a compiled CovarianceFactor v2 descriptor in covFactor, for use inside vsm.
ar1m, ar2m, ar3m, mam, vsm.
## Not run:
vsm(toeplitzm(time), ism(id))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.