[R] chisq warning

From: Stephen Choularton <mail_at_bymouth.com>
Date: Fri 12 Aug 2005 - 14:54:35 EST


Hi  

I am running chisq as below and getting a warning. Can anyone tell me the significance or the warning?  

> chisq.test(c(10 ,4 ,2 ,6 ,5 ,3 ,4 ,4 ,6 ,3 ,2 ,2 ,2 ,4 ,7 ,10 ,0 ,6

,19 ,3 ,2 ,7 ,2 ,2 ,2 ,1 ,32 ,2 ,3 ,10 ,1 ,3 ,9 ,4 ,10 ,2 ,2 ,4 ,5 ,7 ,6
,3 ,7 ,4 ,3 ,3 ,7 ,1 ,4 ,2 ,2 ,3 ,3 ,5 ,5 ,4 ), p =c(0.01704142
,0.017988166 ,0.018224852 ,0.017751479 ,0.017988166 ,0.018224852
,0.017278107 ,0.017514793 ,0.017988166 ,0.017988166 ,0.017988166
,0.017988166 ,0.017988166 ,0.017751479 ,0.017751479 ,0.017988166
,0.017988166 ,0.017514793 ,0.017751479 ,0.017751479 ,0.017988166
,0.017751479 ,0.017514793 ,0.017751479 ,0.017988166 ,0.018224852
,0.017988166 ,0.017278107 ,0.017988166 ,0.017751479 ,0.017988166
,0.018224852 ,0.017751479 ,0.018224852 ,0.017751479 ,0.018224852
,0.017751479 ,0.017514793 ,0.018224852 ,0.017514793 ,0.017988166
,0.018224852 ,0.017278107 ,0.017988166 ,0.018224852 ,0.018224852
,0.018224852 ,0.017514793 ,0.018224852 ,0.018224852 ,0.017988166
,0.018224852 ,0.017751479 ,0.017278107 ,0.017278107 ,0.017514793))
 

        Chi-squared test for given probabilities  

data: c(10, 4, 2, 6, 5, 3, 4, 4, 6, 3, 2, 2, 2, 4, 7, 10, 0, 6, 19, 3, 2, 7, 2, 2, 2, 1, 32, 2, 3, 10, 1, 3, 9, 4, 10, 2, 2, 4, 5, 7, 6, 3, 7, 4, 3, 3, 7, 1, 4, 2, 2, 3, 3, 5, 5, 4) X-squared = 267.0767, df = 55, p-value < 2.2e-16  

Warning message:
Chi-squared approximation may be incorrect in: chisq.test(c(10, 4, 2, 6, 5, 3, 4, 4, 6, 3, 2, 2, 2, 4, 7, 10,
>  

all help welcome.  

Stephen

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.

11/08/2005


	[[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Aug 12 15:00:20 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:47 EST