Displaying 1 result from an estimated 1 matches for "hypergeometric_in_r".
2001 Sep 08
0
R-function available for noncentral hypergeometric distribution
For those who are interested, I have made available a R function for
noncentral hypergeometric distribution at
http://www.geocities.com/jg_liao/software/Hypergeometric/hypergeometric_in_R.txt
The paper that describes the algorithm will appear in The American
Statistician.
The function does not run on S-plus as the R's scoping rule is used.
Here is how the function can be used:
> n1 <- 100
> n2 <- 100
> m1 <- 100
> N <- n1+n2
> odds.ratio &l...