Re: [R] Generating a binomial random variable correlated with a normalrandom variable

From: Dimitris Rizopoulos <>
Date: Mon 04 Apr 2005 - 19:12:51 EST

one idea is to consider that the underlying (for ease normally distributed) latent variables that produce the Bernoulli trials are correlated with your original normal random variable.

I hope it helps.


Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium

Tel: +32/16/336899
Fax: +32/16/337015

> 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
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!
> mailing list PLEASE do read the posting guide! Received on Mon Apr 04 19:15:57 2005

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