Likelihood ratio test

To construct critical regions for a test of composite hypothesis:

H0:θ∈ϑ0vsHa:θ ∈ϑ1

LRTs are generalizations of the Neyman-Pearson lemma that are not necessarily uniformly most powerful

LRTs compare the restricted maximum likelihood under H0

maxL0=maxθ∈ϑ0L(θ)

against the unrestricted maximum likelihood over any value in the parameter space, θ∈Θ=Θ0∪Θ1

maxL=maxθ∈ΘL(θ)

Suppose we have a random sample X1,..,Xn∼iidf(x;θ). The maximum likelihood under H0 and for all values of θ∈Θ are given by

maxθ∈Θ0L(θ)=∏f(xi;θ~)maxθ∈ΘL(θ)=∏f(xi;θ^)

where θ~=Θ0, the MLE of θ within Θ0 (restricted MLE) and θ^ is the unrestricted MLE of θ

The likelihood ratio statistic 109,110

Λ=max L0max L

If Λ≈0 we would like to reject H0
If Λ≈1 we would like to accept H0

If Θ=Θ0∪Θ1, Θ0∩Θ1=∅ and

Λ=max L0max L=L(θ~)L(θ^)

then the critical region Λ≤k, 0<k<1 is a likelihood ratio test for testing H0 against Ha

If we don't know the distribution of Λ, but have a large sample size n:

−2ln⁡Λ=−2ln⁡(max L0max L)=−2[l(θ~)−l(θ^)]∼χ12 approx

If the samples come from a normal distribution, −2[l(μ~)−l(μ^)]∼χ12 exactly

Examples

111,112

Removed bc from assignment
:(