Skip to content
Prev 66959 / 398506 Next

Generating a binomial random variable correlated with a normalrandom variable

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.

Best,
Dimitris

----
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
Web: http://www.med.kuleuven.ac.be/biostat/
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Ashraf Chaudhary" <mchaudha at jhsph.edu>
To: <r-help at stat.math.ethz.ch>
Sent: Monday, April 04, 2005 12:41 AM
Subject: [R] Generating a binomial random variable correlated with a 
normalrandom variable