State and prove the Neyman-Pearson lemma.
A sample of two independent observations, (x1,x2), is taken from a distribution with density f(x;θ)=θxθ−1,0⩽x⩽1. It is desired to test H0:θ=1 against H1:θ=2. Show that the best test of size α can be expressed using the number c such that
1−c+clogc=α.
Is this the uniformly most powerful test of size α for testing H0 against H1:θ>1?
Suppose that the prior distribution of θ is P(θ=1)=4γ/(1+4γ),P(θ=2)= 1/(1+4γ), where 1>γ>0. Find the test of H0 against H1 that minimizes the probability of error.
Let w(θ) denote the power function of this test at θ(⩾1). Show that
w(θ)=1−γθ+γθlogγθ