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

From: Ashraf Chaudhary <mchaudha_at_jhsph.edu>
Date: Mon 04 Apr 2005 - 08:41:24 EST


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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Apr 04 08:52:26 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:01 EST