Hi
fexact.c points you to the original ACM paper:
/*
ALGORITHM 643, COLLECTED ALGORITHMS FROM ACM.
THIS WORK PUBLISHED IN TRANSACTIONS ON MATHEMATICAL SOFTWARE,
VOL. 19, NO. 4, DECEMBER, 1993, PP. 484-488.
---------------------------------------------------------
You may find the discussion in the vignette("fishervig")
in the aylmer package helpful.
HTH
Robin
Peter Dalgaard wrote:
Peng Yu wrote:
On Thu, Oct 15, 2009 at 4:19 PM, RICHARD M. HEIBERGER
<r...@temple.edu> wrote:
On Thu, Oct 15, 2009 at 4:56 PM, Peng Yu <pengyu...@gmail.com> wrote:
Can somebody point me a book on Fisher's exact test? I looked a few
webpages. But the descriptions on the webpages are not very complete.
Is there a book on that covers all the aspect of Fisher's exact test
that is implemented in R?
Section 15.2 of my book (Statistical Analysis and Data Display, with
Burt Holland and published by Springer)
shows a detailed example.
It doesn't mention odd ratio.
The general idea of basing the inference on the noncentral
hypergeometric distribution is something I have first seen in
Breslow&Day's famous 1980 book on case-control studies, including the
fact that the conditional MLE differs from the ordinary OR. (I'm sure
there's an earlier reference, but I happened to be a grad student when
that book came out...)
The rest of what R does is "carbon copied" from similar procedures for
the binomial distribution. I wouldn't know what kind of book to look
for for that sort of minutiae. Alan Agresti is a possible source.
--
Robin K. S. Hankin
Uncertainty Analyst
University of Cambridge
19 Silver Street
Cambridge CB3 9EP
01223-764877
______________________________________________
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.