Helicoid

From formulasearchengine
Revision as of 18: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(θ0∣x)L(θ1∣x)≤η

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(RNP∩RA,θ)+P(RNP∩RAc,θ),

and

P(RA,θ)=P(RNP∩RA,θ)+P(RNPc∩RA,θ).

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

P(RNP∩RAc,θ0)=P(RNPc∩RA,θ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(RNP∩RAc,θ1)≥P(RNPc∩RA,θ1).

Now by the definition of RNP,

P(RNP∩RAc,θ1)=∫RNP∩RAcL(θ1|x)dx≥1η∫RNP∩RAcL(θ0|x)dx=1ηP(RNP∩RAc,θ0)
=1ηP(RNPc∩RA,θ0)=1η∫RNPc∩RAL(θ0|x)dx≥∫RNPc∩RAL(θ1|x)dx=P(RNPc∩RA,θ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;𝐱)∝(σ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:

Λ(𝐱)=L(σ02;𝐱)L(σ12;𝐱)=(σ02σ12)−n/2exp⁡{−12(σ0−2−σ1−2)∑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 Λ(𝐱) 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

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