Multinomial test
Based on the definition provided by Read and Cressie[1]:
We begin with a system of n items observed to occur in k cells. We can define as the observed numbers of items in each cell.
Next, we define a hypothetical distribution , where . This is the expected distribution under the null hypothesis.
The exact probability of observing the observed configuration x is given by
To test the significance of whether an observed outcome x* came from a population distributed according to , you must first compute the probability of all possible outcomes x, then compute the cumulative probability of observing x* plus all other outcomes that are equal or less probable than that of observing x*. This is the maximum likelihood test. We can reject H0 if the cumulative probability is less than or equal to our chosen significance level.
References
- ^ Read, T. R. C. and Cressie, N. A. C. (1988). Goodness-of-fit statistics for discrete multivariate data. New York: Springer-Verlag. ISBN 0-387-96682-X.