[R] Generating a binomial random variable correlated with a normal random variable

Ashraf Chaudhary mchaudha at jhsph.edu
Mon Apr 4 00:41:24 CEST 2005


Hi All:
I would like to generate a binomial random variable that correlates with a
normal random variables with a specified correlation. Off course, the
correlation coefficient would not be same at each run because of randomness.
I greatly appreciate your input.
Ashraf




More information about the R-help mailing list