> From marcia@biostat.washington.edu Mon Mar 23 15:15:51 1998
> Date: Mon, 23 Mar 1998 11:53:08 -0800
> To: SNEWS <S-NEWS@wubios.wustl.edu>
> Subject: [S] strange p-value for Fisher exact's test
>
> I came across a p-value greater than one in a Fisher exact's test. The
> output was the following
>
> > fisher.test(rbind(c(1, 1), c(71, 77)))
>
> Fisher's exact test
>
> data: rbind(c(1, 1), c(71, 77))
> p-value = 1.0001
> alternative hypothesis: two.sided
Strangely enough, this is what I got:
> fisher.test(rbind(c(1, 1), c(71, 77)))
Fisher's exact test
data: rbind(c(1, 1), c(71, 77))
p-value = 1
alternative hypothesis: two.sided
---
Cande V. Ananth, PhD, MPH
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Division of Epidemiology and Biostatistics Tel: (732) 235-7940
Dept of OB/GYN and Reproductive Sciences Fax: (732) 235-6627
UMDNJ - Robert Wood Johnson Medical School ananthcv@EPI.UMDNJ.EDU
125 Paterson St, New Brunswick NJ 08901 http://epi.umdnj.edu/ananth
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|