Description Usage Arguments Value References See Also Examples
The main function of our package, through which we can simulate correlated binary data under different settings.
1 |
n |
number of observations |
p |
the vector of marginal probabilities with dimension m |
rho |
For the first three types, rho is either a non-negative value indecating the shared correlation coefficient or and m-1 vector indicating the correlation coefficients between adjacent variables. For the general case, rho should be a list, the i-th element of which specifies the coefficients on the i-th minor diagnal. |
type |
including 4 types. type="exchange" type="DCP" type="1-dependent" type="General" |
k |
(for 'General' use only). The number of layers setting for k-dependent structure. k=m-1 for the general case. |
an n*p matrix of binary data
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. DOI:10.1080/00031305.2020.1816213
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.