On Wed, 27 Jun 2012 16:58:29 +1200 Rolf Turner <rolf.tur...@xtra.co.nz> wrote:
> On 27/06/12 08:54, arun wrote: > > > > Hi, > > > > The error is due to less than 5 observations in some cells. > > NO, NO, NO!!!! It's not the observations that matter, it is > the ***EXPECTED COUNTS***. These must all be at least > 5 in order for the null distribution of the test statistic to be > adequately approximated by a chi-squared distribution. > > cheers, > > Rolf Turner Pretty sure the point was that in a situation where the expected counts are too low for a reliable chi-square, that an alternate test such as the nonparametric Fisher's Exact Test may be the way to go, especially if there isn't nay more data to get. That way you don't have to worry about expected counts. JDougherty ______________________________________________ R-help@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.