Generating correlated binary data

#1
Suppose I have a column of random binary numbers. I would like to find a way to generate a second column with the same number of cases that has a specified correlation with the initial column.

Any algorithms or preferably even software to help accomplish this?
 

Dragan

Super Moderator
#2
Suppose I have a column of random binary numbers. I would like to find a way to generate a second column with the same number of cases that has a specified correlation with the initial column.

Any algorithms or preferably even software to help accomplish this?

The technique to accomplish what you're looking for is described in this article:

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