Re: [R] In chisq.test(x) : Chi-squared approximation may be incorrect

From: My Coyne <mcoyne_at_boninc.com>
Date: Tue, 15 Jan 2008 21:49:23 -0500

Thank you for your help; I will try fisher.test().    

From: anna freni sterrantino [mailto:annafreni_at_yahoo.it] Sent: Tuesday, January 15, 2008 8:53 PM
To: mcoyne_at_boninc.com; r-help_at_stat.math.ethz.ch Subject: Re: [R] In chisq.test(x) : Chi-squared approximation may be incorrect  

Hi!
 the warning you got
"Chi-squared approximation may be incorrect" is because probably there are less than 5 observations in the cell. Maybe will help to
try fisher.test()

Cheers

Anna

Hello,

I received the following warning when running chi-square;

n Is there a way to catch the 'error' code of 'warning' after run chisq.test(x)?

n What does this error mean?

Thank you for your help.

    [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
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.

L'email della prossima generazione? Puoi averla con la nuova <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http:/it.docs.yahoo.com/nowyoucan.html> Yahoo! Mail

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
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. Received on Wed 16 Jan 2008 - 02:59:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Jan 2008 - 04:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive