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....@gmail.com>: > > ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.