Hello,
I have the following 2 x 3 contingency table,
             1    2     3
Case    12   13   15
Control 10   5     10

I want to find min(x1,x2,x3) P(X=x)

where P(X=x) = ( (22 Choose x1) * (18 Choose x2) * (25 Choose x3) ) / (62
Choose 40)

If I have 100 such 2 x 3 tables can I find this probability for each table
in R? Anyone has an idea of the R code for this?


-- 
Thanks,
Jim.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to