[R] p-value > 1 in fisher.test()

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Jun 3 22:01:02 CEST 2005


"Yi-Xiong Zhou" <yzhou at sdsc.edu> writes:

> The following contingency table generates p-value > 1 from fisher.test()
> 
>  
> 
> ff = c(0,10,250,5000); dim(ff) = c(2,2); fhisher.test(ff)$p.value

On this system (PIII, Fedora Core 3):

> ff = c(0,10,250,5000); dim(ff) = c(2,2); fisher.test(ff)$p.value -1
[1] 1.384892e-12

Is that interesting?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list