mvchol: Multivariate Cholesky Block Decomposition

Description Usage Arguments Value References Examples

View source: R/mvchol.R

Description

mvchol returns modified Cholesky block decomposition (MCBD) of the sample covariance matrix for multivariate longitudinal data with j outcomes.

Usage

1
mvchol(S,t,j)

Arguments

S

Sample covariance matrix of the multivariate longitudinal data.

t

positive integer indicating the number of repeated measurements.

j

positive integer representing the number of outcomes.

Value

Elements from MCBD of the covariance matrix:

References

Kohli, P. Garcia, T. and Pourahmadi, M. 2016 Modeling the Cholesky Factors of Covariance Matrices of Multivariate Longitudinal Data, Journal of Multivariate Analysis, 145, 87-100.

Examples

1
2
3
4
5
6
data(Tcells)
S <- cov(Tcells)
t <- 10
j <- 4
MCBD <- mvchol(S,t,j)
names(MCBD)

priyakohli5/MLGM documentation built on April 24, 2021, 4:22 p.m.