Learn R Programming

sommer (version 4.5.27)

toeplitzm: General positive-definite Toeplitz correlation structure

Description

General positive-definite Toeplitz correlation structure. The returned dimensionless covariance shape is intended for use inside vsm, which supplies the single overall variance scale.

Usage

toeplitzm(x, pacf = NULL, fixed = NULL)

Value

A list containing the incidence/design matrix in Z and a compiled CovarianceFactor v2 descriptor in covFactor, for use inside vsm.

Arguments

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.

Details

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.

See Also

ar1m, ar2m, ar3m, mam, vsm.

Examples

Run this code
if (FALSE) {
vsm(toeplitzm(time), ism(id))
}

Run the code above in your browser using DataLab