Up to a parameter-independent multinomial factor, the likelihood function is . A Lagrange multiplier for gives , whence and
Since all counts are positive, the log-likelihood function is strictly concave on the positive simplex and tends to minus infinity at its boundary, proving this is the unique maximum.
Under independence of random variables, , so the log-likelihood function separates as . Applying the same constrained maximization twice gives , , and
Twice the difference between the unrestricted and null maximized log-likelihood functions is
the required likelihood-ratio test statistic. Under the null hypothesis, its asymptotic chi-squared distribution has statistical degrees of freedom, the parameter-count difference . Here that is four. Since , reject independence at the 0.1 percent significance level. For four statistical degrees of freedom, the asymptotic upper-tail probability is . This establishes an association in these data; it is not a causal conclusion.

Articles by others on the same topic (0)

There are currently no matching articles.