And indeed Agresti's book (first edition on the help page, also has a 2002 second edition) is a good source for the 'minutiae'.
I find the description in his 1992 survey article even better, especially with regard to the noncentral hypergeometric distribution:
@article{Agresti:92, Author = {Agresti, Alan}, Journal = {Statistical Science}, Number = 1, Pages = {131--153}, Source = {JSTOR}, Title = {A Survey of Exact Inference for Contingency Tables}, Volume = 7, Year = 1992} Best regards, Stefan Evert [ stefan.ev...@uos.de | http://purl.org/stefan.evert ] ______________________________________________ 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.