The count vector has a multinomial distribution, with likelihood function
Maximize 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 count
The common multinomial coefficient cancels from the likelihood ratio:
Taking minus twice its logarithm gives exactly
There 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.

Articles by others on the same topic (0)

There are currently no matching articles.