Docsity

Lecture Notes on Hypothesis Testing and Neyman-Pearson Lemma, Study notes of Statistics

Partial preview of the text

Download Lecture Notes on Hypothesis Testing and Neyman-Pearson Lemma and more Study notes Statistics in PDF only on Docsity!

STAT 703/J703 B.Habing Univ. of SC (^1)

STAT 703/J

February 15 th^ , 2005

- Lecture 11-

Instructor: Brian Habing Department of Statistics LeConte 203 Telephone: 803-777- E-mail: [email protected]

STAT 703/J703 B.Habing Univ. of SC (^2)

Today

• Basic Hypothesis Testing

Examples

• Neyman-Pearson Lemma

STAT 703/J703 B.Habing Univ. of SC (^3)

Example 1: Consider a sample of size 1 from a normal distribution with variance 1.

Test H 0 :μ=0 vs. H (^) A :μ=1 at α=0.05.

STAT 703/J703 B.Habing Univ. of SC (^4)

Example 2: Consider a sample of size 1 from a normal distribution with variance 1.

Test H 0 :μ≤0 vs. H (^) A :μ>0 at α=0.05.

STAT 703/J703 B.Habing Univ. of SC (^5)

For a composite test the significance level α is the maximum (supremum) of the probabilities of a Type I error over all the possible alternatives.

STAT 703/J703 B.Habing Univ. of SC (^6)

9.3 The Neyman-Pearson Lemma:

Typically, there are several possible tests of H 0 vs. H (^) A for a given level of significance α. How do we select the “best” (in what sense) to use?

“Best” test: A test which has the correct significance level α and is as, or more, powerful (1-β is greater) than any other test with the same significance level α.

STAT 703/J703 B.Habing Univ. of SC (^10)

Example: Consider a sample of size n from a normal distribution with variance 1.

Test H 0 :μ=0 vs. H (^) A :μ=1 at α=0.05.

STAT 703/J703 B.Habing Univ. of SC (^11)

In some cases we can also show that the test is uniformly most powerful for a composite alternate hypotheses.

This happens if we can show it is

most powerful forevery simple

alternate in H (^) A.

STAT 703/J703 B.Habing Univ. of SC (^12)

Consider testing

Test H 0 :μ=0 vs. H (^) A :μ>

and

Test H 0 :μ=0 vs. H (^) A :μ≠