mvtBinaryEP-package {mvtBinaryEP} | R Documentation |
Uses the algorithm of Emrich and Piedmonte (1991) to generate correlated binary data for a given correlation matrix
Package: | mvtBinaryEP |
Type: | Package |
Version: | 1.0 |
Date: | 2009-02-16 |
License: | GPL(>=2) |
The most important function is ep
. Other functions include
ranMVN
, ranMVN2
, and ranMvnXch
. These are used
in the ep
function to generate correlated binary responses.
The user may use these functions if multivariate normal data is desired.
We note that the mvtnorm
package also avails the user of functions to
generate multivariate data which may be more efficient than our mutivariate normal
functions.
These routines were written by Dr. Bahjat Qaqish in SAS and translated to R by Kunthel By. Questions may be relayed to <kby@bios.unc.edu>
Emrich, L.J. and Piedmonte, M.R., A method for generating high-dimensional multivariate binary variates, The American Statistician, 45:302-304, 1991.