In statistics, the multinomial test is the test of the null hypothesis that the parameters of a multinomial distribution equal specified values. It is used for categorical data; see Read and Cressie.
We begin with a sample of items each of which has been observed to fall into one of categories. We can define as the observed numbers of items in each cell. Hence .