[R] reference on fisher.test()

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 16 13:38:04 CEST 2009


On Fri, 16 Oct 2009, Robin Hankin wrote:

> Hi
>
> fexact.c points you to the original ACM paper:

Well, you'll get a better idea from the help page as to the real 
'original' source reference: the reference below is to a revised 
version in a remark.

And indeed Agresti's book (first edition on the help page, also has a 
2002 second edition) is a good source for the 'minutiae'.



>
> /*
> 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 <rmh at temple.edu> 
>>> wrote:
>>>> On Thu, Oct 15, 2009 at 4:56 PM, Peng Yu <pengyu.ut at 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 at 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.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list