Skip to content
Back to formatted view

Raw Message

Message-ID: <6D6502FB-03F0-4DE4-9799-D1FEC28553A0@comcast.net>
Date: 2011-04-28T20:59:08Z
From: David Winsemius
Subject: fisher exact for > 2x2 table
In-Reply-To: <1304022226202-3482102.post@n4.nabble.com>

On Apr 28, 2011, at 4:23 PM, viostorm wrote:

>
> I have read the help page, or at least ?fisher.exact

Then it should have been clear that more than 2x2 tables can be used.

>
> I looked a bit on the Internet I guess it is applicable to > 2x2.  I  
> had
> spoken to a biostatistician here who is quite excellent and was  
> adamant with
> me I could not do > 2x2.
>
> I found this:
>
> http://mathworld.wolfram.com/FishersExactTest.html
>
> Does anyone know specifically how R is calculating this?

The answer to any question like that is ... look at the source. You  
will see extensive use of phyper() which is calculating that  
expression for various arguments.

?phyper

-- 
David Winsemius, MD
West Hartford, CT