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,..,Xniidf(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
:(