I tried to do chi square test for the following observed frequencies
---------------------------------------------------------------------------------------------
   A  B
A  8  4
B 12 10

R gave the following output:
-------------------------------------------------------------------------------------------
        Pearson's Chi-squared test with Yates' continuity correction

data:  M
X-squared = 0.10349, df = 1, p-value = 0.7477

Warning message:
In chisq.test(M) : Chi-squared approximation may be incorrect

---------------------------------------------------------------------------------------------------------------
Whether this result can be relied or we have to use Fishers exact test ?

Jose

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to