Helicoid

From formulasearchengine
Revision as of 17:33, 26 September 2013 by 82.68.94.86 (talk) (Description)
Jump to navigation Jump to search

In statistics, the Neyman–Pearson lemma, named after Jerzy Neyman and Egon Pearson, states that when performing a hypothesis test between two point hypotheses H0θ = θ0 and H1θ = θ1, then the likelihood-ratio test which rejects H0 in favour of H1 when

Λ(x)=L(θ0x)L(θ1x)η

where

P(Λ(X)ηH0)=α

is the most powerful test of size α for a threshold η. If the test is most powerful for all θ1Θ1, it is said to be uniformly most powerful (UMP) for alternatives in the set Θ1.

In practice, the likelihood ratio is often used directly to construct tests — see Likelihood-ratio test. However it can also be used to suggest particular test-statistics that might be of interest or to suggest simplified tests — for this one considers algebraic manipulation of the ratio to see if there are key statistics in it related to the size of the ratio (i.e. whether a large statistic corresponds to a small ratio or to a large one).

Proof

Define the rejection region of the null hypothesis for the NP test as

RNP={x:L(θ0|x)L(θ1|x)η}.

Any other test will have a different rejection region that we define as RA. Furthermore, define the probability of the data falling in region R, given parameter θ as

P(R,θ)=RL(θ|x)dx,

For both tests to have size α, it must be true that

α=P(RNP,θ0)=P(RA,θ0).

It will be useful to break these down into integrals over distinct regions:

P(RNP,θ)=P(RNPRA,θ)+P(RNPRAc,θ),

and

P(RA,θ)=P(RNPRA,θ)+P(RNPcRA,θ).

Setting θ=θ0 and equating the above two expression yields that

P(RNPRAc,θ0)=P(RNPcRA,θ0).

Comparing the powers of the two tests, P(RNP,θ1) and P(RA,θ1), one can see that

P(RNP,θ1)P(RA,θ1)P(RNPRAc,θ1)P(RNPcRA,θ1).

Now by the definition of RNP,

P(RNPRAc,θ1)=RNPRAcL(θ1|x)dx1ηRNPRAcL(θ0|x)dx=1ηP(RNPRAc,θ0)
=1ηP(RNPcRA,θ0)=1ηRNPcRAL(θ0|x)dxRNPcRAL(θ1|x)dx=P(RNPcRA,θ1).

Hence the inequality holds.

Example

Let X1,,Xn be a random sample from the 𝒩(μ,σ2) distribution where the mean μ is known, and suppose that we wish to test for H0:σ2=σ02 against H1:σ2=σ12. The likelihood for this set of normally distributed data is

L(σ2;x)(σ2)n/2exp{i=1n(xiμ)22σ2}.

We can compute the likelihood ratio to find the key statistic in this test and its effect on the test's outcome:

Λ(x)=L(σ02;x)L(σ12;x)=(σ02σ12)n/2exp{12(σ02σ12)i=1n(xiμ)2}.

This ratio only depends on the data through i=1n(xiμ)2. Therefore, by the Neyman–Pearson lemma, the most powerful test of this type of hypothesis for this data will depend only on i=1n(xiμ)2. Also, by inspection, we can see that if σ12>σ02, then Λ(x) is a decreasing function of i=1n(xiμ)2. So we should reject H0 if i=1n(xiμ)2 is sufficiently large. The rejection threshold depends on the size of the test. In this example, the test statistic can be shown to be a scaled Chi-square distributed random variable and an exact critical value can be obtained.

See also

References

External links

  • Cosma Shalizi, a professor of statistics at Carnegie Mellon University, gives an intuitive derivation of the Neyman–Pearson Lemma using ideas from economics