Learn R Programming

CorBin (version 1.0.0)

Generate High-Dimensional Binary Data with Correlation Structures

Description

We design algorithms with linear time complexity with respect to the dimension for three commonly studied correlation structures, including exchangeable, decaying-product and K-dependent correlation structures, and extend the algorithms to generate binary data of general non-negative correlation matrices with quadratic time complexity. Jiang, W., Song, S., Hou, L. and Zhao, H. "A set of efficient methods to generate high-dimensional binary data with specified correlation structures." The American Statistician. See for a detailed presentation of the method.

Copy Link

Version

Install

install.packages('CorBin')

Monthly Downloads

212

Version

1.0.0

License

GPL-3

Maintainer

Shuang Song

Last Published

November 14th, 2020

Functions in CorBin (1.0.0)

rhoMaxEx

For calculating the maximal allowed correlation coefficient for binary data with exchangeable structure.
cBern1dep

Generate binary data with 1-dependent correlated structure
cBern

Main function
rhoMax1dep

To calculate the maximal allowed correlations max for using cBern1dep to generate binary data with 1-dependent structure
cBernEx

Generate binary data with exchangeable correlated structure
rhoMaxDCP

For calculating the maximal allowed correlations max for binary data with decaying-product structure.
cBernDCP

Generate binary data with decaying-product correlated structure