[R] p-value from chisq.test working strangely on 1.8.1

John Dougherty jwdougherty at mcihispeed.net
Tue Dec 9 17:04:34 CET 2003


It happens with suse 9.0 as well.

...................................................................................................................
chisq.test(matrix(c(0, 1, 1, 12556), 2, 2), simulate.p.value=TRUE)

        Pearson's Chi-squared test with simulated p-value (based on 2000
        replicates)

data:  matrix(c(0, 1, 1, 12556), 2, 2)
X-squared = 1e-04, df = NA, p-value = 5e-04
.....................................................................................................................

JWDougherty




More information about the R-help mailing list