Put , and . Independence gives the likelihood function
The unrestricted maximum-likelihood estimators are and . Under the null hypothesis, the common mean maximizes at . These are maxima because each one-parameter score function has the sign of its observed sum minus its sample size times its proposed mean.
Define the generalized likelihood ratio to be the constrained maximum divided by the unrestricted maximum. The exponential factors cancel, giving
Since and ,
It has maximum one at , when the two fitted means agree, and is small toward either endpoint. A likelihood-ratio test rejects for small , or equivalently large . This is the likelihood-ratio test for equality of exponential means.
Under the null hypothesis, the full model has two free positive statistical parameters and the constrained model has one. The Wilks theorem therefore gives
as both sample sizes tend to infinity, with tending to a number strictly between zero and one. For the observed , calculate
The large-sample p-value is the upper-tail probability
where is the cumulative distribution function of the standard normal distribution. The last equality uses the fact that the square of a standard normal random variable has a chi-squared distribution with one statistical degree of freedom. Values of on either side of are already included by the transformation to .

Articles by others on the same topic (0)

There are currently no matching articles.