s-news
[Top] [All Lists]

Re: [S] strange p-value for Fisher exact's test

To: yhkuo@monmouth.com
Subject: Re: [S] strange p-value for Fisher exact's test
From: ananthcv@epi.umdnj.edu (Cande V Ananth)
Date: Mon, 23 Mar 1998 16:07:35 -0500
Cc: S-NEWS@wubios.wustl.edu, marcia@biostat.washington.edu
Sender: owner-s-news@wubios.wustl.edu
>  From yhkuo@monmouth.com Mon Mar 23 16:03:33 1998
>  Date: Mon, 23 Mar 1998 15:57:06 -0500
>  To: Cande V Ananth <ananthcv@epi.umdnj.edu>
>  CC: S-NEWS@wubios.wustl.edu, marcia@biostat.washington.edu
>  Subject: Re: [S] strange p-value for Fisher exact's test
>  
>  Not only the previous strange p-value, but also
>  the other one by using S-PLUS 4.0
>  
>  ==> bugs in S-PLUS 4.0
>  
>  > fisher.test(rbind(c(1, 1), c(91, 98)))
>  
>   Fisher's exact test
>  
>  data:  rbind(c(1, 1), c(91, 98))
>  p-value = 1.0001
>  alternative hypothesis: two.sided


    Once again, it works fine using S-Plus ver 3.4, operating on
    SunOS 5.3 (Sun SPARC). The bug, I believe, is is in S-Plus 4.0.

    fisher.test(rbind(c(1, 1), c(91, 98)))

    Fisher's exact test 
    data:  rbind(c(1, 1), c(91, 98)) 
    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

<Prev in Thread] Current Thread [Next in Thread>