covariance_types {mmrm} | R Documentation |
Covariance Types
Description
Usage
cov_types(
form = c("name", "abbr", "habbr"),
filter = c("heterogeneous", "spatial")
)
Arguments
form |
( |
filter |
( |
Value
A character vector of accepted covariance structure type names and abbreviations.
Abbreviations for Covariance Structures
Common Covariance Structures:
Structure | Description | Parameters | element
|
ad | Ante-dependence |
|
|
adh | Heterogeneous ante-dependence |
|
|
ar1 | First-order auto-regressive |
|
|
ar1h | Heterogeneous first-order auto-regressive |
|
|
cs | Compound symmetry |
|
|
csh | Heterogeneous compound symmetry |
|
|
toep | Toeplitz |
|
|
toeph | Heterogeneous Toeplitz |
|
|
us | Unstructured |
|
|
where and
denote
-th and
-th time points,
respectively, out of total
time points,
.
Note
The ante-dependence covariance structure in this package refers to
homogeneous ante-dependence, while the ante-dependence covariance structure
from SAS PROC MIXED
refers to heterogeneous ante-dependence and the
homogeneous version is not available in SAS.
For all non-spatial covariance structures, the time variable must be coded as a factor.
Spatial Covariance structures:
Structure | Description | Parameters | element
|
sp_exp | spatial exponential |
|
|
where denotes the Euclidean distance between time points
and
.
See Also
Other covariance types:
as.cov_struct()
,
cov_struct()