Re: [R] A question on chisq.test

2008-01-08 Thread Peter Dalgaard
Rong Jian wrote: > Dear all, > I would like to do a goodness-of-fit test on my data to see if they follow a > mixture of 2 poisson distributions. I have small numbers for observed values. > Most of them <5. The chisq.test gives warning message: Chi-squared > approximation may be incorrect in: c

[R] A question on chisq.test

2008-01-07 Thread Rong Jian
Dear all, I would like to do a goodness-of-fit test on my data to see if they follow a mixture of 2 poisson distributions. I have small numbers for observed values. Most of them <5. The chisq.test gives warning message: Chi-squared approximation may be incorrect in: chisq.test(x , p = prob). Ho