ranMvnXch {mvtBinaryEP}R Documentation

Multivariate Normal Data

Description

Generates multivariate normal data based on an EXCHANGEABLE correlation matrix.

Usage

ranMvnXch(rho, n, nRep = 1, seed = NULL)

Arguments

rho correlation
n cluster size
nRep number of clusters (replications)s
seed initializes the random number generator

Details

This is more efficient than ranMVN and ranMVN2 for exchangeable correlation. The returned matrix of responses, call it Y, has mean 0. We require that rho is greater than zero.

Value

Returns a matrix of response variates of dimension nRep by n

See Also

See Also ranMVN, ranMVN2, ep


[Package mvtBinaryEP version 1.0 Index]