mvtBinaryEP-package {mvtBinaryEP}R Documentation

A Package For Generating Correlated Binary Data

Description

Uses the algorithm of Emrich and Piedmonte (1991) to generate correlated binary data for a given correlation matrix

Details

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.

Author(s)

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>

References

Emrich, L.J. and Piedmonte, M.R., A method for generating high-dimensional multivariate binary variates, The American Statistician, 45:302-304, 1991.


[Package mvtBinaryEP version 1.0 Index]