The count vector has a multinomial distribution, with likelihood functionMaximize its log-likelihood using a Lagrange multiplier for the sum constraint. The equations and give and . Since all counts are positive and the log-likelihood is strictly concave on the interior of the probability simplex, this is the global maximum-likelihood estimate.
Under the uniform null hypothesis, each category has expected countThe common multinomial coefficient cancels from the likelihood ratio:Taking minus twice its logarithm gives exactlyThere are free category probabilities, because their sum is one, and the null fixes all of them. Thus its regular asymptotic chi-squared distribution has statistical degrees of freedom.
For four categories the number of statistical degrees of freedom is . The supplied 5% critical value is therefore , and . HenceThe approximate p-value is . This conclusion assumes the large-sample multinomial approximation is adequate, in particular sufficiently large expected category counts. It means there is insufficient evidence against the uniform null hypothesis, rather than establishing that the probabilities are equal.
Articles by others on the same topic
There are currently no matching articles.