[R] correlated binomial random variables

li li hannah.hlx at gmail.com
Mon Oct 5 17:43:59 CEST 2015


Hi all,
   Using the "bindata" package, it is possible to gerenerate
correlated binomial random variables both with the same number of
trials, say n. I am wondering whether there is an R function to
calculate the joint probability distribution of the correlated
binomial random variables. Say if X is binomial (n, p1) and Y is
binomial (n, p2) and the correlation between X and Y is rho and we
want to calculate
P(X <= c, Y <= c).
   Thanks so much!
     Hanna

2015-10-05 11:27 GMT-04:00, li li <hannah.hlx at gmail.com>:
>
>



More information about the R-help mailing list