Lecture 20 March 28th, 2013 Biostatistics 602 - Lecture 20 Hyun - - PowerPoint PPT Presentation

lecture 20
SMART_READER_LITE
LIVE PREVIEW

Lecture 20 March 28th, 2013 Biostatistics 602 - Lecture 20 Hyun - - PowerPoint PPT Presentation

. . . . .. . . .. . . .. . . .. . . .. . . Lecture 20 March 28th, 2013 Biostatistics 602 - Lecture 20 Hyun Min Kang March 28th, 2013 Hyun Min Kang Uniformly Most Powerful Test Biostatistics 602 - Statistical Inference ..


slide-1
SLIDE 1

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

. .

Biostatistics 602 - Statistical Inference Lecture 20 Uniformly Most Powerful Test

Hyun Min Kang March 28th, 2013

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 1 / 1

slide-2
SLIDE 2

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Last Lecture

  • What are the typical steps for constructing a likelihood ratio test?
  • Is LRT statistic based on sufficient statistic identical to the LRT

based on the full data?

  • When multiple parameters need to be estimated, what is the

difference in constructing LRT?

  • What is unbiased test?

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 2 / 1

slide-3
SLIDE 3

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Last Lecture

  • What are the typical steps for constructing a likelihood ratio test?
  • Is LRT statistic based on sufficient statistic identical to the LRT

based on the full data?

  • When multiple parameters need to be estimated, what is the

difference in constructing LRT?

  • What is unbiased test?

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 2 / 1

slide-4
SLIDE 4

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Last Lecture

  • What are the typical steps for constructing a likelihood ratio test?
  • Is LRT statistic based on sufficient statistic identical to the LRT

based on the full data?

  • When multiple parameters need to be estimated, what is the

difference in constructing LRT?

  • What is unbiased test?

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 2 / 1

slide-5
SLIDE 5

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Last Lecture

  • What are the typical steps for constructing a likelihood ratio test?
  • Is LRT statistic based on sufficient statistic identical to the LRT

based on the full data?

  • When multiple parameters need to be estimated, what is the

difference in constructing LRT?

  • What is unbiased test?

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 2 / 1

slide-6
SLIDE 6

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Last Lecture

  • What are the typical steps for constructing a likelihood ratio test?
  • Is LRT statistic based on sufficient statistic identical to the LRT

based on the full data?

  • When multiple parameters need to be estimated, what is the

difference in constructing LRT?

  • What is unbiased test?

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 2 / 1

slide-7
SLIDE 7

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

LRT based on sufficient statistics

.

Theorem 8.2.4

. . If T(X) is a sufficient statistic for θ, λ∗(t) is the LRT statistic based on T, and λ(x) is the LRT statistic based on x then T x x for every x in the sample space.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 3 / 1

slide-8
SLIDE 8

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

LRT based on sufficient statistics

.

Theorem 8.2.4

. . If T(X) is a sufficient statistic for θ, λ∗(t) is the LRT statistic based on T, and λ(x) is the LRT statistic based on x then λ∗[T(x)] = λ(x) for every x in the sample space.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 3 / 1

slide-9
SLIDE 9

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

LRT based on sufficient statistics

.

Theorem 8.2.4

. . If T(X) is a sufficient statistic for θ, λ∗(t) is the LRT statistic based on T, and λ(x) is the LRT statistic based on x then λ∗[T(x)] = λ(x) for every x in the sample space.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 3 / 1

slide-10
SLIDE 10

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Unbiased Test

.

Definition

. . If a test always satisfies Pr(reject H0 when H0 is false ) ≥ Pr(reject H0 when H0 is true ) Then the test is said to be unbiased .

Alternative Definition

. . . . . . . . Recall that Pr reject H . A test is unbiased if for every

c and

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 4 / 1

slide-11
SLIDE 11

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Unbiased Test

.

Definition

. . If a test always satisfies Pr(reject H0 when H0 is false ) ≥ Pr(reject H0 when H0 is true ) Then the test is said to be unbiased .

Alternative Definition

. . . . . . . . Recall that Pr reject H . A test is unbiased if for every

c and

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 4 / 1

slide-12
SLIDE 12

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Unbiased Test

.

Definition

. . If a test always satisfies Pr(reject H0 when H0 is false ) ≥ Pr(reject H0 when H0 is true ) Then the test is said to be unbiased .

Alternative Definition

. . Recall that β(θ) = Pr(reject H0). A test is unbiased if for every

c and

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 4 / 1

slide-13
SLIDE 13

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Unbiased Test

.

Definition

. . If a test always satisfies Pr(reject H0 when H0 is false ) ≥ Pr(reject H0 when H0 is true ) Then the test is said to be unbiased .

Alternative Definition

. . Recall that β(θ) = Pr(reject H0). A test is unbiased if β(θ′) ≥ β(θ) for every

c and

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 4 / 1

slide-14
SLIDE 14

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Unbiased Test

.

Definition

. . If a test always satisfies Pr(reject H0 when H0 is false ) ≥ Pr(reject H0 when H0 is true ) Then the test is said to be unbiased .

Alternative Definition

. . Recall that β(θ) = Pr(reject H0). A test is unbiased if β(θ′) ≥ β(θ) for every θ′ ∈ Ωc

0 and θ ∈ Ω0.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 4 / 1

slide-15
SLIDE 15

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example

X1, · · · , Xn

i.i.d.

∼ N(θ, σ2) where σ2 is known, testing H0 : θ ≤ θ0 vs

H1 : θ > θ0. LRT test rejects H if x

n

c. Pr X n c Pr X n c Pr X n n c Pr X n c n Note that Xi , X n , and

X n

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 5 / 1

slide-16
SLIDE 16

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example

X1, · · · , Xn

i.i.d.

∼ N(θ, σ2) where σ2 is known, testing H0 : θ ≤ θ0 vs

H1 : θ > θ0. LRT test rejects H0 if x−θ0

σ/√n > c.

Pr X n c Pr X n c Pr X n n c Pr X n c n Note that Xi , X n , and

X n

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 5 / 1

slide-17
SLIDE 17

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example

X1, · · · , Xn

i.i.d.

∼ N(θ, σ2) where σ2 is known, testing H0 : θ ≤ θ0 vs

H1 : θ > θ0. LRT test rejects H0 if x−θ0

σ/√n > c.

β(θ) = Pr (X − θ0 σ/√n > c ) Pr X n c Pr X n n c Pr X n c n Note that Xi , X n , and

X n

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 5 / 1

slide-18
SLIDE 18

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example

X1, · · · , Xn

i.i.d.

∼ N(θ, σ2) where σ2 is known, testing H0 : θ ≤ θ0 vs

H1 : θ > θ0. LRT test rejects H0 if x−θ0

σ/√n > c.

β(θ) = Pr (X − θ0 σ/√n > c ) = Pr (X − θ + θ − θ0 σ/√n > c ) Pr X n n c Pr X n c n Note that Xi , X n , and

X n

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 5 / 1

slide-19
SLIDE 19

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example

X1, · · · , Xn

i.i.d.

∼ N(θ, σ2) where σ2 is known, testing H0 : θ ≤ θ0 vs

H1 : θ > θ0. LRT test rejects H0 if x−θ0

σ/√n > c.

β(θ) = Pr (X − θ0 σ/√n > c ) = Pr (X − θ + θ − θ0 σ/√n > c ) = Pr (X − θ σ/√n + θ − θ0 σ/√n > c ) Pr X n c n Note that Xi , X n , and

X n

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 5 / 1

slide-20
SLIDE 20

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example

X1, · · · , Xn

i.i.d.

∼ N(θ, σ2) where σ2 is known, testing H0 : θ ≤ θ0 vs

H1 : θ > θ0. LRT test rejects H0 if x−θ0

σ/√n > c.

β(θ) = Pr (X − θ0 σ/√n > c ) = Pr (X − θ + θ − θ0 σ/√n > c ) = Pr (X − θ σ/√n + θ − θ0 σ/√n > c ) = Pr (X − θ σ/√n > c − θ − θ0 σ/√n ) Note that Xi , X n , and

X n

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 5 / 1

slide-21
SLIDE 21

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example

X1, · · · , Xn

i.i.d.

∼ N(θ, σ2) where σ2 is known, testing H0 : θ ≤ θ0 vs

H1 : θ > θ0. LRT test rejects H0 if x−θ0

σ/√n > c.

β(θ) = Pr (X − θ0 σ/√n > c ) = Pr (X − θ + θ − θ0 σ/√n > c ) = Pr (X − θ σ/√n + θ − θ0 σ/√n > c ) = Pr (X − θ σ/√n > c − θ − θ0 σ/√n ) Note that Xi ∼ N(θ, σ2), X ∼ N(θ, σ2/n), and

X−θ σ/√n ∼ N(0, 1).

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 5 / 1

slide-22
SLIDE 22

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

Therefore, for Z ∼ N(0, 1) β(θ) = Pr ( Z > c + θ0 − θ σ/√n ) Because the power function is increasing function of , always holds when . Therefore the LRTs are unbiased.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 6 / 1

slide-23
SLIDE 23

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

Therefore, for Z ∼ N(0, 1) β(θ) = Pr ( Z > c + θ0 − θ σ/√n ) Because the power function is increasing function of θ, β(θ′) ≥ β(θ) always holds when . Therefore the LRTs are unbiased.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 6 / 1

slide-24
SLIDE 24

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

Therefore, for Z ∼ N(0, 1) β(θ) = Pr ( Z > c + θ0 − θ σ/√n ) Because the power function is increasing function of θ, β(θ′) ≥ β(θ) always holds when θ ≤ θ0 < θ′. Therefore the LRTs are unbiased.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 6 / 1

slide-25
SLIDE 25

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Uniformly Most Powerful Test (UMP)

.

Definition

. . Let C be a class of tests between H0 : θ ∈ Ω vs H1 : θ ∈ Ωc

  • 0. A test in C,

with power function β(θ) is uniformly most powerful (UMP) test in class C if β(θ) ≥ β′(θ) for every θ ∈ Ωc

0 and every β′(θ), which is a power

function of another test in C.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 7 / 1

slide-26
SLIDE 26

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

UMP level α test

. . Consider C be the set of all the level α test. The UMP test in this class is called a UMP level α test. UMP level test has the smallest type II error probability for any

c

in this class.

  • A UMP test is ”uniform” in the sense that it is most powerful for

every

c.

  • For simple hypothesis such as H

and H , UMP level test always exists.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 8 / 1

slide-27
SLIDE 27

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

UMP level α test

. . Consider C be the set of all the level α test. The UMP test in this class is called a UMP level α test. UMP level α test has the smallest type II error probability for any θ ∈ Ωc in this class.

  • A UMP test is ”uniform” in the sense that it is most powerful for

every

c.

  • For simple hypothesis such as H

and H , UMP level test always exists.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 8 / 1

slide-28
SLIDE 28

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

UMP level α test

. . Consider C be the set of all the level α test. The UMP test in this class is called a UMP level α test. UMP level α test has the smallest type II error probability for any θ ∈ Ωc in this class.

  • A UMP test is ”uniform” in the sense that it is most powerful for

every θ ∈ Ωc

0.

  • For simple hypothesis such as H

and H , UMP level test always exists.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 8 / 1

slide-29
SLIDE 29

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

UMP level α test

. . Consider C be the set of all the level α test. The UMP test in this class is called a UMP level α test. UMP level α test has the smallest type II error probability for any θ ∈ Ωc in this class.

  • A UMP test is ”uniform” in the sense that it is most powerful for

every θ ∈ Ωc

0.

  • For simple hypothesis such as H0 : θ = θ0 and H1 : θ = θ1, UMP level

α test always exists.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 8 / 1

slide-30
SLIDE 30

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma

.

Theorem 8.3.12 - Neyman-Pearson Lemma

. . Consider testing H0 : θ = θ0 vs. H1 : θ = θ1 where the pdf or pmf corresponding the θi is f(x|θi), i = 0, 1, using a test with rejection region R that satisfies x R if f x kf x and x Rc if f x kf x For some k and Pr X R , Then,

  • (Sufficiency) Any test that satisfies 8.3.1 and 8.3.2 is a UMP level

test

  • (Necessity) if there exist a test satisfying 8.3.1 and 8.3.2 with k

, then every UMP level test is a size test (satisfies 8.3.2), and every UMP level test satisfies 8.3.1 except perhaps on a set A satisfying Pr X A Pr X A .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 9 / 1

slide-31
SLIDE 31

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma

.

Theorem 8.3.12 - Neyman-Pearson Lemma

. . Consider testing H0 : θ = θ0 vs. H1 : θ = θ1 where the pdf or pmf corresponding the θi is f(x|θi), i = 0, 1, using a test with rejection region R that satisfies x ∈ R if f(x|θ1) > kf(x|θ0) (8.3.1) and x Rc if f x kf x For some k and Pr X R , Then,

  • (Sufficiency) Any test that satisfies 8.3.1 and 8.3.2 is a UMP level

test

  • (Necessity) if there exist a test satisfying 8.3.1 and 8.3.2 with k

, then every UMP level test is a size test (satisfies 8.3.2), and every UMP level test satisfies 8.3.1 except perhaps on a set A satisfying Pr X A Pr X A .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 9 / 1

slide-32
SLIDE 32

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma

.

Theorem 8.3.12 - Neyman-Pearson Lemma

. . Consider testing H0 : θ = θ0 vs. H1 : θ = θ1 where the pdf or pmf corresponding the θi is f(x|θi), i = 0, 1, using a test with rejection region R that satisfies x ∈ R if f(x|θ1) > kf(x|θ0) (8.3.1) and x ∈ Rc if f(x|θ1) < kf(x|θ0) (8.3.2) For some k and Pr X R , Then,

  • (Sufficiency) Any test that satisfies 8.3.1 and 8.3.2 is a UMP level

test

  • (Necessity) if there exist a test satisfying 8.3.1 and 8.3.2 with k

, then every UMP level test is a size test (satisfies 8.3.2), and every UMP level test satisfies 8.3.1 except perhaps on a set A satisfying Pr X A Pr X A .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 9 / 1

slide-33
SLIDE 33

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma

.

Theorem 8.3.12 - Neyman-Pearson Lemma

. . Consider testing H0 : θ = θ0 vs. H1 : θ = θ1 where the pdf or pmf corresponding the θi is f(x|θi), i = 0, 1, using a test with rejection region R that satisfies x ∈ R if f(x|θ1) > kf(x|θ0) (8.3.1) and x ∈ Rc if f(x|θ1) < kf(x|θ0) (8.3.2) For some k ≥ 0 and α = Pr(X ∈ R|θ0), Then,

  • (Sufficiency) Any test that satisfies 8.3.1 and 8.3.2 is a UMP level

test

  • (Necessity) if there exist a test satisfying 8.3.1 and 8.3.2 with k

, then every UMP level test is a size test (satisfies 8.3.2), and every UMP level test satisfies 8.3.1 except perhaps on a set A satisfying Pr X A Pr X A .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 9 / 1

slide-34
SLIDE 34

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma

.

Theorem 8.3.12 - Neyman-Pearson Lemma

. . Consider testing H0 : θ = θ0 vs. H1 : θ = θ1 where the pdf or pmf corresponding the θi is f(x|θi), i = 0, 1, using a test with rejection region R that satisfies x ∈ R if f(x|θ1) > kf(x|θ0) (8.3.1) and x ∈ Rc if f(x|θ1) < kf(x|θ0) (8.3.2) For some k ≥ 0 and α = Pr(X ∈ R|θ0), Then,

  • (Sufficiency) Any test that satisfies 8.3.1 and 8.3.2 is a UMP level α

test

  • (Necessity) if there exist a test satisfying 8.3.1 and 8.3.2 with k

, then every UMP level test is a size test (satisfies 8.3.2), and every UMP level test satisfies 8.3.1 except perhaps on a set A satisfying Pr X A Pr X A .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 9 / 1

slide-35
SLIDE 35

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma

.

Theorem 8.3.12 - Neyman-Pearson Lemma

. . Consider testing H0 : θ = θ0 vs. H1 : θ = θ1 where the pdf or pmf corresponding the θi is f(x|θi), i = 0, 1, using a test with rejection region R that satisfies x ∈ R if f(x|θ1) > kf(x|θ0) (8.3.1) and x ∈ Rc if f(x|θ1) < kf(x|θ0) (8.3.2) For some k ≥ 0 and α = Pr(X ∈ R|θ0), Then,

  • (Sufficiency) Any test that satisfies 8.3.1 and 8.3.2 is a UMP level α

test

  • (Necessity) if there exist a test satisfying 8.3.1 and 8.3.2 with k > 0,

then every UMP level α test is a size α test (satisfies 8.3.2), and every UMP level α test satisfies 8.3.1 except perhaps on a set A satisfying Pr(X ∈ A|θ0) = Pr(X ∈ A|θ1) = 0.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 9 / 1

slide-36
SLIDE 36

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma

Let X ∈ Binomial(2, θ), and consider testing H

  • vs. H

. Calculating the ratios of the pmfs given, f f f f f f

  • Suppose that k

, then the rejection region R , and UMP level test always rejects H . Therefore Pr reject H .

  • Suppose that

k , then R , and UMP level test rejects H if x

  • r x

. Pr reject Pr x Pr x

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 10 / 1

slide-37
SLIDE 37

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma

Let X ∈ Binomial(2, θ), and consider testing H0 : θ = θ0 = 1/2 vs. H1 : θ = θ1 = 3/4. Calculating the ratios of the pmfs given, f f f f f f

  • Suppose that k

, then the rejection region R , and UMP level test always rejects H . Therefore Pr reject H .

  • Suppose that

k , then R , and UMP level test rejects H if x

  • r x

. Pr reject Pr x Pr x

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 10 / 1

slide-38
SLIDE 38

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma

Let X ∈ Binomial(2, θ), and consider testing H0 : θ = θ0 = 1/2 vs. H1 : θ = θ1 = 3/4. Calculating the ratios of the pmfs given, f(0|θ1) f(0|θ0) = 1 4, f(1|θ1) f(1|θ0) = 3 4, f(2|θ1) f(2|θ0) = 9 4

  • Suppose that k

, then the rejection region R , and UMP level test always rejects H . Therefore Pr reject H .

  • Suppose that

k , then R , and UMP level test rejects H if x

  • r x

. Pr reject Pr x Pr x

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 10 / 1

slide-39
SLIDE 39

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma

Let X ∈ Binomial(2, θ), and consider testing H0 : θ = θ0 = 1/2 vs. H1 : θ = θ1 = 3/4. Calculating the ratios of the pmfs given, f(0|θ1) f(0|θ0) = 1 4, f(1|θ1) f(1|θ0) = 3 4, f(2|θ1) f(2|θ0) = 9 4

  • Suppose that k < 1/4, then the rejection region R = {0, 1, 2}, and

UMP level α test always rejects H0. Therefore α = Pr(reject H0|θ = θ0 = 1/2) = 1.

  • Suppose that

k , then R , and UMP level test rejects H if x

  • r x

. Pr reject Pr x Pr x

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 10 / 1

slide-40
SLIDE 40

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma

Let X ∈ Binomial(2, θ), and consider testing H0 : θ = θ0 = 1/2 vs. H1 : θ = θ1 = 3/4. Calculating the ratios of the pmfs given, f(0|θ1) f(0|θ0) = 1 4, f(1|θ1) f(1|θ0) = 3 4, f(2|θ1) f(2|θ0) = 9 4

  • Suppose that k < 1/4, then the rejection region R = {0, 1, 2}, and

UMP level α test always rejects H0. Therefore α = Pr(reject H0|θ = θ0 = 1/2) = 1.

  • Suppose that 1/4 < k < 3/4, then R = {1, 2}, and UMP level α test

rejects H0 if x = 1 or x = 2. Pr reject Pr x Pr x

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 10 / 1

slide-41
SLIDE 41

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma

Let X ∈ Binomial(2, θ), and consider testing H0 : θ = θ0 = 1/2 vs. H1 : θ = θ1 = 3/4. Calculating the ratios of the pmfs given, f(0|θ1) f(0|θ0) = 1 4, f(1|θ1) f(1|θ0) = 3 4, f(2|θ1) f(2|θ0) = 9 4

  • Suppose that k < 1/4, then the rejection region R = {0, 1, 2}, and

UMP level α test always rejects H0. Therefore α = Pr(reject H0|θ = θ0 = 1/2) = 1.

  • Suppose that 1/4 < k < 3/4, then R = {1, 2}, and UMP level α test

rejects H0 if x = 1 or x = 2. α = Pr(reject|θ = 1/2) = Pr(x = 1|θ = 1/2) + Pr(x = 2|θ = 1/2) = 3 4

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 10 / 1

slide-42
SLIDE 42

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma (cont’d)

  • Suppose that 3/4 < k < 9/4, then UMP level α test rejects H0 if

x = 2 Pr reject Pr x

  • If k

the UMP level test always not reject H , and

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 11 / 1

slide-43
SLIDE 43

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma (cont’d)

  • Suppose that 3/4 < k < 9/4, then UMP level α test rejects H0 if

x = 2 α = Pr(reject|θ = 1/2) = Pr(x = 2|θ = 1/2) = 1 4

  • If k

the UMP level test always not reject H , and

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 11 / 1

slide-44
SLIDE 44

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Neyman-Pearson Lemma (cont’d)

  • Suppose that 3/4 < k < 9/4, then UMP level α test rejects H0 if

x = 2 α = Pr(reject|θ = 1/2) = Pr(x = 2|θ = 1/2) = 1 4

  • If k > 9/4 the UMP level α test always not reject H0, and α = 0

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 11 / 1

slide-45
SLIDE 45

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example - Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. f x

n i

exp xi f x f x exp

n i

xi

exp

n i

xi

exp

n i

xi

n i

xi exp

n i

xi

n i

xi exp n

n i

xi

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 12 / 1

slide-46
SLIDE 46

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example - Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. f(x|θ) =

n

i=1

[ 1 2πσ2 exp { −(xi − θ)2 2σ2 }] f x f x exp

n i

xi

exp

n i

xi

exp

n i

xi

n i

xi exp

n i

xi

n i

xi exp n

n i

xi

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 12 / 1

slide-47
SLIDE 47

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example - Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. f(x|θ) =

n

i=1

[ 1 2πσ2 exp { −(xi − θ)2 2σ2 }] f(x|θ1) f(x|θ0) = exp { −

∑n

i=1(xi−θ1)2

2σ2

} exp { −

∑n

i=1(xi−θ0)2

2σ2

} exp

n i

xi

n i

xi exp

n i

xi

n i

xi exp n

n i

xi

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 12 / 1

slide-48
SLIDE 48

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example - Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. f(x|θ) =

n

i=1

[ 1 2πσ2 exp { −(xi − θ)2 2σ2 }] f(x|θ1) f(x|θ0) = exp { −

∑n

i=1(xi−θ1)2

2σ2

} exp { −

∑n

i=1(xi−θ0)2

2σ2

} = exp [ − ∑n

i=1(xi − θ1)2

2σ2 + ∑n

i=1(xi − θ0)2

2σ2 ] exp

n i

xi

n i

xi exp n

n i

xi

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 12 / 1

slide-49
SLIDE 49

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example - Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. f(x|θ) =

n

i=1

[ 1 2πσ2 exp { −(xi − θ)2 2σ2 }] f(x|θ1) f(x|θ0) = exp { −

∑n

i=1(xi−θ1)2

2σ2

} exp { −

∑n

i=1(xi−θ0)2

2σ2

} = exp [ − ∑n

i=1(xi − θ1)2

2σ2 + ∑n

i=1(xi − θ0)2

2σ2 ] = exp [∑n

i=1(xi − θ0)2 − ∑n i=1(xi − θ1)2

2σ2 ] exp n

n i

xi

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 12 / 1

slide-50
SLIDE 50

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example - Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. f(x|θ) =

n

i=1

[ 1 2πσ2 exp { −(xi − θ)2 2σ2 }] f(x|θ1) f(x|θ0) = exp { −

∑n

i=1(xi−θ1)2

2σ2

} exp { −

∑n

i=1(xi−θ0)2

2σ2

} = exp [ − ∑n

i=1(xi − θ1)2

2σ2 + ∑n

i=1(xi − θ0)2

2σ2 ] = exp [∑n

i=1(xi − θ0)2 − ∑n i=1(xi − θ1)2

2σ2 ] = exp [n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 ]

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 12 / 1

slide-51
SLIDE 51

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

UMP level α test rejects if exp [n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 ] > k n

n i

xi log k

n i

xi k Pr

n i

Xi k

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 13 / 1

slide-52
SLIDE 52

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

UMP level α test rejects if exp [n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 ] > k ⇐ ⇒ n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 > log k

n i

xi k Pr

n i

Xi k

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 13 / 1

slide-53
SLIDE 53

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

UMP level α test rejects if exp [n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 ] > k ⇐ ⇒ n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 > log k ⇐ ⇒

n

i=1

xi > k∗ Pr

n i

Xi k

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 13 / 1

slide-54
SLIDE 54

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

UMP level α test rejects if exp [n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 ] > k ⇐ ⇒ n(θ2

0 − θ1)2 + 2 ∑n i=1 xi(θ1 − θ0)

2σ2 > log k ⇐ ⇒

n

i=1

xi > k∗ α = Pr ( n ∑

i=1

Xi > k∗|θ0 )

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 13 / 1

slide-55
SLIDE 55

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

Under H0, Xi ∼ N(θ0, σ2) X n X n Pr

n i

Xi k Pr Z k n n where Z .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 14 / 1

slide-56
SLIDE 56

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

Under H0, Xi ∼ N(θ0, σ2) X ∼ N(θ0, σ2/n) X n Pr

n i

Xi k Pr Z k n n where Z .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 14 / 1

slide-57
SLIDE 57

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

Under H0, Xi ∼ N(θ0, σ2) X ∼ N(θ0, σ2/n) X − θ0 σ/√n ∼ N(0, 1) Pr

n i

Xi k Pr Z k n n where Z .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 14 / 1

slide-58
SLIDE 58

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

Under H0, Xi ∼ N(θ0, σ2) X ∼ N(θ0, σ2/n) X − θ0 σ/√n ∼ N(0, 1) α = Pr ( n ∑

i=1

Xi > k∗|θ0 ) = Pr ( Z > k∗/n − θ0 σ/√n ) where Z ∼ N(0, 1).

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 14 / 1

slide-59
SLIDE 59

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

k∗/n − θ0 σ/√n = zα k n z n Thus, the UMP level test reject if Xi k , or equivalently, reject H if X k n z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 15 / 1

slide-60
SLIDE 60

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

k∗/n − θ0 σ/√n = zα k∗ = n ( θ0 + zα σ √n ) Thus, the UMP level test reject if Xi k , or equivalently, reject H if X k n z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 15 / 1

slide-61
SLIDE 61

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example (cont’d)

k∗/n − θ0 σ/√n = zα k∗ = n ( θ0 + zα σ √n ) Thus, the UMP level α test reject if ∑ Xi > k∗, or equivalently, reject H0 if X > k∗/n = θ0 + zασ/√n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 15 / 1

slide-62
SLIDE 62

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma on Sufficient Statistics

.

Corollary 8.3.13

. . Consider H0 : θ = θ0 vs H1 : θ = θ1. Suppose T(X) is a sufficient statistic for θ and g(t|θi) is the pdf or pmf of T. Corresponding θi, i ∈ {0, 1}. Then any test based on T with rejection region S is a UMP level α test if it satisfies t S if g t k g t and t Sc if g t k g t For some k and Pr T S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 16 / 1

slide-63
SLIDE 63

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma on Sufficient Statistics

.

Corollary 8.3.13

. . Consider H0 : θ = θ0 vs H1 : θ = θ1. Suppose T(X) is a sufficient statistic for θ and g(t|θi) is the pdf or pmf of T. Corresponding θi, i ∈ {0, 1}. Then any test based on T with rejection region S is a UMP level α test if it satisfies t ∈ S if g(t|θ1) > k · g(t|θ0) and t Sc if g t k g t For some k and Pr T S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 16 / 1

slide-64
SLIDE 64

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma on Sufficient Statistics

.

Corollary 8.3.13

. . Consider H0 : θ = θ0 vs H1 : θ = θ1. Suppose T(X) is a sufficient statistic for θ and g(t|θi) is the pdf or pmf of T. Corresponding θi, i ∈ {0, 1}. Then any test based on T with rejection region S is a UMP level α test if it satisfies t ∈ S if g(t|θ1) > k · g(t|θ0) and t ∈ Sc if g(t|θ1) < k · g(t|θ0) For some k and Pr T S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 16 / 1

slide-65
SLIDE 65

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Neyman-Pearson Lemma on Sufficient Statistics

.

Corollary 8.3.13

. . Consider H0 : θ = θ0 vs H1 : θ = θ1. Suppose T(X) is a sufficient statistic for θ and g(t|θi) is the pdf or pmf of T. Corresponding θi, i ∈ {0, 1}. Then any test based on T with rejection region S is a UMP level α test if it satisfies t ∈ S if g(t|θ1) > k · g(t|θ0) and t ∈ Sc if g(t|θ1) < k · g(t|θ0) For some k > 0 and α = Pr(T ∈ S|θ0)

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 16 / 1

slide-66
SLIDE 66

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

The rejection region in the sample space is R = {x : T(x) = t ∈ S} x g T x kg T x By Factorization Theorem: f x

i

h x g T x

i

R x g T x h x kg T x h x x f x kf x By Neyman-Pearson Lemma, this test is the UMP level test, and Pr X R Pr T X S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 17 / 1

slide-67
SLIDE 67

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

The rejection region in the sample space is R = {x : T(x) = t ∈ S} = {x : g(T(x)|θ1) > kg(T(x)|θ0)} By Factorization Theorem: f x

i

h x g T x

i

R x g T x h x kg T x h x x f x kf x By Neyman-Pearson Lemma, this test is the UMP level test, and Pr X R Pr T X S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 17 / 1

slide-68
SLIDE 68

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

The rejection region in the sample space is R = {x : T(x) = t ∈ S} = {x : g(T(x)|θ1) > kg(T(x)|θ0)} By Factorization Theorem: f(x|θi) = h(x)g(T(x)|θi) R x g T x h x kg T x h x x f x kf x By Neyman-Pearson Lemma, this test is the UMP level test, and Pr X R Pr T X S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 17 / 1

slide-69
SLIDE 69

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

The rejection region in the sample space is R = {x : T(x) = t ∈ S} = {x : g(T(x)|θ1) > kg(T(x)|θ0)} By Factorization Theorem: f(x|θi) = h(x)g(T(x)|θi) R = {x : g(T(x)|θ1)h(x) > kg(T(x)|θ0)h(x)} x f x kf x By Neyman-Pearson Lemma, this test is the UMP level test, and Pr X R Pr T X S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 17 / 1

slide-70
SLIDE 70

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

The rejection region in the sample space is R = {x : T(x) = t ∈ S} = {x : g(T(x)|θ1) > kg(T(x)|θ0)} By Factorization Theorem: f(x|θi) = h(x)g(T(x)|θi) R = {x : g(T(x)|θ1)h(x) > kg(T(x)|θ0)h(x)} = {x : f(x|θ1) > kf(x|θ0)} By Neyman-Pearson Lemma, this test is the UMP level test, and Pr X R Pr T X S

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 17 / 1

slide-71
SLIDE 71

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

The rejection region in the sample space is R = {x : T(x) = t ∈ S} = {x : g(T(x)|θ1) > kg(T(x)|θ0)} By Factorization Theorem: f(x|θi) = h(x)g(T(x)|θi) R = {x : g(T(x)|θ1)h(x) > kg(T(x)|θ0)h(x)} = {x : f(x|θ1) > kf(x|θ0)} By Neyman-Pearson Lemma, this test is the UMP level α test, and α = Pr(X ∈ R) = Pr(T(X) ∈ S|θ0)

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 17 / 1

slide-72
SLIDE 72

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example of Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. T X is a sufficient statistic for , where T n . g t

i

n exp t

i

n g t g t exp

t n

exp

t n

exp n t t exp n t

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 18 / 1

slide-73
SLIDE 73

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example of Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. T = X is a sufficient statistic for θ, where T ∼ N(θ, σ2/n). g t

i

n exp t

i

n g t g t exp

t n

exp

t n

exp n t t exp n t

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 18 / 1

slide-74
SLIDE 74

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example of Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. T = X is a sufficient statistic for θ, where T ∼ N(θ, σ2/n). g(t|θi) = 1 √ 2πσ2/n exp { −(t − θi)2 2σ2/n } g t g t exp

t n

exp

t n

exp n t t exp n t

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 18 / 1

slide-75
SLIDE 75

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example of Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. T = X is a sufficient statistic for θ, where T ∼ N(θ, σ2/n). g(t|θi) = 1 √ 2πσ2/n exp { −(t − θi)2 2σ2/n } g(t|θ1) g(t|θ0) = exp { − (t−θ1)2

2σ2/n

} exp { − (t−θ0)2

2σ2/n

} exp n t t exp n t

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 18 / 1

slide-76
SLIDE 76

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example of Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. T = X is a sufficient statistic for θ, where T ∼ N(θ, σ2/n). g(t|θi) = 1 √ 2πσ2/n exp { −(t − θi)2 2σ2/n } g(t|θ1) g(t|θ0) = exp { − (t−θ1)2

2σ2/n

} exp { − (t−θ0)2

2σ2/n

} = exp { − 1 2σ2/n [ (t − θ1)2 − (t − θ0)2]} exp n t

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 18 / 1

slide-77
SLIDE 77

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example of Normal Distribution

Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known. Consider testing H0 : θ = θ0 vs.

H1 : θ = θ1 where θ1 > θ0. T = X is a sufficient statistic for θ, where T ∼ N(θ, σ2/n). g(t|θi) = 1 √ 2πσ2/n exp { −(t − θi)2 2σ2/n } g(t|θ1) g(t|θ0) = exp { − (t−θ1)2

2σ2/n

} exp { − (t−θ0)2

2σ2/n

} = exp { − 1 2σ2/n [ (t − θ1)2 − (t − θ0)2]} = exp { − 1 2σ2/n [ θ2

1 − θ2 0 − 2t(θ1 − θ0)

]}

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 18 / 1

slide-78
SLIDE 78

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

UMP level α test reject if exp { − 1 2σ2/n [ θ2

1 − θ2 0 − 2t(θ1 − θ0)

]} > k n t log k X t k

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 19 / 1

slide-79
SLIDE 79

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

UMP level α test reject if exp { − 1 2σ2/n [ θ2

1 − θ2 0 − 2t(θ1 − θ0)

]} > k ⇐ ⇒ 1 2σ2/n [ −(θ2

1 − θ2 0) + 2t(θ1 − θ0)

] > log k X t k

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 19 / 1

slide-80
SLIDE 80

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

UMP level α test reject if exp { − 1 2σ2/n [ θ2

1 − θ2 0 − 2t(θ1 − θ0)

]} > k ⇐ ⇒ 1 2σ2/n [ −(θ2

1 − θ2 0) + 2t(θ1 − θ0)

] > log k ⇐ ⇒ X = t > k∗

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 19 / 1

slide-81
SLIDE 81

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

Under H0, X ∼ N(θ0, σ2/n). k∗ satisfies Pr reject H Pr X k Pr X n k n Pr Z k n k n z k z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 20 / 1

slide-82
SLIDE 82

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

Under H0, X ∼ N(θ0, σ2/n). k∗ satisfies Pr(reject H0|θ0) = α Pr X k Pr X n k n Pr Z k n k n z k z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 20 / 1

slide-83
SLIDE 83

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

Under H0, X ∼ N(θ0, σ2/n). k∗ satisfies Pr(reject H0|θ0) = α α = Pr(X > k∗|θ0) Pr X n k n Pr Z k n k n z k z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 20 / 1

slide-84
SLIDE 84

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

Under H0, X ∼ N(θ0, σ2/n). k∗ satisfies Pr(reject H0|θ0) = α α = Pr(X > k∗|θ0) = Pr (X − θ0 σ/√n > k∗ − θ0 σ/√n ) Pr Z k n k n z k z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 20 / 1

slide-85
SLIDE 85

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

Under H0, X ∼ N(θ0, σ2/n). k∗ satisfies Pr(reject H0|θ0) = α α = Pr(X > k∗|θ0) = Pr (X − θ0 σ/√n > k∗ − θ0 σ/√n ) = Pr ( Z > k∗ − θ0 σ/√n ) k n z k z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 20 / 1

slide-86
SLIDE 86

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

Under H0, X ∼ N(θ0, σ2/n). k∗ satisfies Pr(reject H0|θ0) = α α = Pr(X > k∗|θ0) = Pr (X − θ0 σ/√n > k∗ − θ0 σ/√n ) = Pr ( Z > k∗ − θ0 σ/√n ) k∗ − θ0 σ/√n = zα k z n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 20 / 1

slide-87
SLIDE 87

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Revisiting the Example (cont’d)

Under H0, X ∼ N(θ0, σ2/n). k∗ satisfies Pr(reject H0|θ0) = α α = Pr(X > k∗|θ0) = Pr (X − θ0 σ/√n > k∗ − θ0 σ/√n ) = Pr ( Z > k∗ − θ0 σ/√n ) k∗ − θ0 σ/√n = zα k∗ = θ0 + zα σ n

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 20 / 1

slide-88
SLIDE 88

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Monotone Likelihood Ratio

.

Definition

. . A family of pdfs or pmfs {g(t|θ) : θ ∈ Ω} for a univariate random variable T with real-valued parameter θ have a monotone likelihood ratio if g(t|θ2)

g(t|θ1)

is an increasing (or non-decreasing) function of t for every θ2 > θ1 on {t : g(t|θ1) > 0 or g(t|θ2) > 0}. Note: we may define MLR using decreasing function of t. But all following theorems are stated according to the definition.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 21 / 1

slide-89
SLIDE 89

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Monotone Likelihood Ratio

.

Definition

. . A family of pdfs or pmfs {g(t|θ) : θ ∈ Ω} for a univariate random variable T with real-valued parameter θ have a monotone likelihood ratio if g(t|θ2)

g(t|θ1)

is an increasing (or non-decreasing) function of t for every θ2 > θ1 on {t : g(t|θ1) > 0 or g(t|θ2) > 0}. Note: we may define MLR using decreasing function of t. But all following theorems are stated according to the definition.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 21 / 1

slide-90
SLIDE 90

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Monotone Likelihood Ratio

  • Normal, Poisson, Binomial have the MLR Property (Exercise 8.25)
  • If T is from an exponential family with the pdf or pmf

g t h t c exp w t Then T has an MLR if w is a non-decreasing function of .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 22 / 1

slide-91
SLIDE 91

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example of Monotone Likelihood Ratio

  • Normal, Poisson, Binomial have the MLR Property (Exercise 8.25)
  • If T is from an exponential family with the pdf or pmf

g(t|θ) = h(t)c(θ) exp[w(θ) · t] Then T has an MLR if w(θ) is a non-decreasing function of θ.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 22 / 1

slide-92
SLIDE 92

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

Suppose that θ2 > θ1. g t g t h t c exp w t h t c exp w t c c exp w w t If w is a non-decreasing function of , then w w and exp w w t is an increasing function of t. Therefore, g t

g t

is a non-decreasing function of t, and T has MLR if w is a non-decreasing function of .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 23 / 1

slide-93
SLIDE 93

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

Suppose that θ2 > θ1. g(t|θ2) g(t|θ1) = h(t)c(θ2) exp[w(θ2)t] h(t)c(θ1) exp[w(θ1)t] c c exp w w t If w is a non-decreasing function of , then w w and exp w w t is an increasing function of t. Therefore, g t

g t

is a non-decreasing function of t, and T has MLR if w is a non-decreasing function of .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 23 / 1

slide-94
SLIDE 94

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

Suppose that θ2 > θ1. g(t|θ2) g(t|θ1) = h(t)c(θ2) exp[w(θ2)t] h(t)c(θ1) exp[w(θ1)t] = c(θ2) c(θ1) exp[{w(θ2) − w(θ1)}t] If w is a non-decreasing function of , then w w and exp w w t is an increasing function of t. Therefore, g t

g t

is a non-decreasing function of t, and T has MLR if w is a non-decreasing function of .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 23 / 1

slide-95
SLIDE 95

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

Suppose that θ2 > θ1. g(t|θ2) g(t|θ1) = h(t)c(θ2) exp[w(θ2)t] h(t)c(θ1) exp[w(θ1)t] = c(θ2) c(θ1) exp[{w(θ2) − w(θ1)}t] If w(θ) is a non-decreasing function of θ, then w(θ2) − w(θ1) ≥ 0 and exp w w t is an increasing function of t. Therefore, g t

g t

is a non-decreasing function of t, and T has MLR if w is a non-decreasing function of .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 23 / 1

slide-96
SLIDE 96

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Proof

Suppose that θ2 > θ1. g(t|θ2) g(t|θ1) = h(t)c(θ2) exp[w(θ2)t] h(t)c(θ1) exp[w(θ1)t] = c(θ2) c(θ1) exp[{w(θ2) − w(θ1)}t] If w(θ) is a non-decreasing function of θ, then w(θ2) − w(θ1) ≥ 0 and exp[{w(θ2) − w(θ1)}t] is an increasing function of t. Therefore, g(t|θ2)

g(t|θ1) is a

non-decreasing function of t, and T has MLR if w(θ) is a non-decreasing function of θ.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 23 / 1

slide-97
SLIDE 97

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Karlin-Rabin Theorem

.

Theorem 8.1.17

. . Suppose T(X) is a sufficient statistic for θ and the family {g(t|θ) : θ ∈ Ω} is an MLR family. Then

. . 1 For testing H

vs H , the UMP level test is given by rejecting H is and only if T t where Pr T t .

. . 2 For testing H

vs H , the UMP level test is given by rejecting H if and only if T t where Pr T t .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 24 / 1

slide-98
SLIDE 98

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Karlin-Rabin Theorem

.

Theorem 8.1.17

. . Suppose T(X) is a sufficient statistic for θ and the family {g(t|θ) : θ ∈ Ω} is an MLR family. Then

. . 1 For testing H0 : θ ≤ θ0 vs H1 : θ > θ0, the UMP level α test is given

by rejecting H0 is and only if T > t0 where α = Pr(T > t0|θ0).

. . 2 For testing H

vs H , the UMP level test is given by rejecting H if and only if T t where Pr T t .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 24 / 1

slide-99
SLIDE 99

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Karlin-Rabin Theorem

.

Theorem 8.1.17

. . Suppose T(X) is a sufficient statistic for θ and the family {g(t|θ) : θ ∈ Ω} is an MLR family. Then

. . 1 For testing H0 : θ ≤ θ0 vs H1 : θ > θ0, the UMP level α test is given

by rejecting H0 is and only if T > t0 where α = Pr(T > t0|θ0).

. . 2 For testing H0 : θ ≥ θ0 vs H1 : θ < θ0, the UMP level α test is given

by rejecting H0 if and only if T < t0 where α = Pr(T < t0|θ0).

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 24 / 1

slide-100
SLIDE 100

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example Application of Karlin-Rabin Theorem

Let Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known, Find the UMP level α test for

H0 : θ ≤ θ0 vs H1 : θ > θ0. T X X is a sufficient statistic for , and T n . g t n exp t n n exp t t n n exp t n exp n exp t n h t c exp w t where w

n is an increasing function in

. Therefore T is MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 25 / 1

slide-101
SLIDE 101

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example Application of Karlin-Rabin Theorem

Let Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known, Find the UMP level α test for

H0 : θ ≤ θ0 vs H1 : θ > θ0. T(X) = X is a sufficient statistic for θ, and T ∼ N(θ, σ2/n). g t n exp t n n exp t t n n exp t n exp n exp t n h t c exp w t where w

n is an increasing function in

. Therefore T is MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 25 / 1

slide-102
SLIDE 102

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example Application of Karlin-Rabin Theorem

Let Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known, Find the UMP level α test for

H0 : θ ≤ θ0 vs H1 : θ > θ0. T(X) = X is a sufficient statistic for θ, and T ∼ N(θ, σ2/n). g(t|θ) = 1 √ 2πσ2/n exp { −(t − θ)2 2σ2/n } n exp t t n n exp t n exp n exp t n h t c exp w t where w

n is an increasing function in

. Therefore T is MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 25 / 1

slide-103
SLIDE 103

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example Application of Karlin-Rabin Theorem

Let Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known, Find the UMP level α test for

H0 : θ ≤ θ0 vs H1 : θ > θ0. T(X) = X is a sufficient statistic for θ, and T ∼ N(θ, σ2/n). g(t|θ) = 1 √ 2πσ2/n exp { −(t − θ)2 2σ2/n } = 1 √ 2πσ2/n exp { −t2 + θ2 − 2tθ 2σ2/n } n exp t n exp n exp t n h t c exp w t where w

n is an increasing function in

. Therefore T is MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 25 / 1

slide-104
SLIDE 104

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example Application of Karlin-Rabin Theorem

Let Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known, Find the UMP level α test for

H0 : θ ≤ θ0 vs H1 : θ > θ0. T(X) = X is a sufficient statistic for θ, and T ∼ N(θ, σ2/n). g(t|θ) = 1 √ 2πσ2/n exp { −(t − θ)2 2σ2/n } = 1 √ 2πσ2/n exp { −t2 + θ2 − 2tθ 2σ2/n } = 1 √ 2πσ2/n exp { − t2 2σ2/n } exp { − θ2 2σ2/n } exp { tθ σ2/n } h t c exp w t where w

n is an increasing function in

. Therefore T is MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 25 / 1

slide-105
SLIDE 105

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Example Application of Karlin-Rabin Theorem

Let Xi

i.i.d.

∼ N(θ, σ2) where σ2 is known, Find the UMP level α test for

H0 : θ ≤ θ0 vs H1 : θ > θ0. T(X) = X is a sufficient statistic for θ, and T ∼ N(θ, σ2/n). g(t|θ) = 1 √ 2πσ2/n exp { −(t − θ)2 2σ2/n } = 1 √ 2πσ2/n exp { −t2 + θ2 − 2tθ 2σ2/n } = 1 √ 2πσ2/n exp { − t2 2σ2/n } exp { − θ2 2σ2/n } exp { tθ σ2/n } = h(t)c(θ) exp[w(θ)t] where w(θ) =

θ σ2/n is an increasing function in θ. Therefore T is MLR

property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 25 / 1

slide-106
SLIDE 106

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Finding a UMP level α test

By Karlin-Rabin, UMP level α test rejects H0 iff. T > t0 where α = Pr(T > t0|θ0) Pr T n t n Pr Z t n where Z . t n z t nz UMP level test rejects H if T X

nz .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 26 / 1

slide-107
SLIDE 107

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Finding a UMP level α test

By Karlin-Rabin, UMP level α test rejects H0 iff. T > t0 where α = Pr(T > t0|θ0) = Pr ( T − θ0 σ/√n > t0 − θ0 σ/√n

  • θ0

) Pr Z t n where Z . t n z t nz UMP level test rejects H if T X

nz .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 26 / 1

slide-108
SLIDE 108

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Finding a UMP level α test

By Karlin-Rabin, UMP level α test rejects H0 iff. T > t0 where α = Pr(T > t0|θ0) = Pr ( T − θ0 σ/√n > t0 − θ0 σ/√n

  • θ0

) = Pr ( Z > t0 − θ0 σ/√n ) where Z ∼ N(0, 1). t n z t nz UMP level test rejects H if T X

nz .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 26 / 1

slide-109
SLIDE 109

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Finding a UMP level α test

By Karlin-Rabin, UMP level α test rejects H0 iff. T > t0 where α = Pr(T > t0|θ0) = Pr ( T − θ0 σ/√n > t0 − θ0 σ/√n

  • θ0

) = Pr ( Z > t0 − θ0 σ/√n ) where Z ∼ N(0, 1). t0 − θ0 σ/√n = zα t nz UMP level test rejects H if T X

nz .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 26 / 1

slide-110
SLIDE 110

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Finding a UMP level α test

By Karlin-Rabin, UMP level α test rejects H0 iff. T > t0 where α = Pr(T > t0|θ0) = Pr ( T − θ0 σ/√n > t0 − θ0 σ/√n

  • θ0

) = Pr ( Z > t0 − θ0 σ/√n ) where Z ∼ N(0, 1). t0 − θ0 σ/√n = zα ⇒ t0 = θ0 + σ √nzα UMP level test rejects H if T X

nz .

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 26 / 1

slide-111
SLIDE 111

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Finding a UMP level α test

By Karlin-Rabin, UMP level α test rejects H0 iff. T > t0 where α = Pr(T > t0|θ0) = Pr ( T − θ0 σ/√n > t0 − θ0 σ/√n

  • θ0

) = Pr ( Z > t0 − θ0 σ/√n ) where Z ∼ N(0, 1). t0 − θ0 σ/√n = zα ⇒ t0 = θ0 + σ √nzα UMP level α test rejects H0 if T = X > θ0 +

σ √nzα.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 26 / 1

slide-112
SLIDE 112

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Testing H0 : θ ≥ θ0 vs. H1 : θ < θ0

UMP level α test rejects H0 if T < t0 where Pr T t Pr T n t n Pr Z t n Pr Z t n t n z t nz nz Therefore, the test rejects H if T t

nz

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 27 / 1

slide-113
SLIDE 113

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Testing H0 : θ ≥ θ0 vs. H1 : θ < θ0

UMP level α test rejects H0 if T < t0 where α = Pr(T < t0|θ0) = Pr ( T − θ0 σ/√n < t0 − θ0 σ/√n

  • θ0

) Pr Z t n Pr Z t n t n z t nz nz Therefore, the test rejects H if T t

nz

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 27 / 1

slide-114
SLIDE 114

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Testing H0 : θ ≥ θ0 vs. H1 : θ < θ0

UMP level α test rejects H0 if T < t0 where α = Pr(T < t0|θ0) = Pr ( T − θ0 σ/√n < t0 − θ0 σ/√n

  • θ0

) = Pr ( Z < t0 − θ0 σ/√n ) Pr Z t n t n z t nz nz Therefore, the test rejects H if T t

nz

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 27 / 1

slide-115
SLIDE 115

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Testing H0 : θ ≥ θ0 vs. H1 : θ < θ0

UMP level α test rejects H0 if T < t0 where α = Pr(T < t0|θ0) = Pr ( T − θ0 σ/√n < t0 − θ0 σ/√n

  • θ0

) = Pr ( Z < t0 − θ0 σ/√n ) 1 − α = Pr ( Z ≥ t0 − θ0 σ/√n ) t n z t nz nz Therefore, the test rejects H if T t

nz

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 27 / 1

slide-116
SLIDE 116

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Testing H0 : θ ≥ θ0 vs. H1 : θ < θ0

UMP level α test rejects H0 if T < t0 where α = Pr(T < t0|θ0) = Pr ( T − θ0 σ/√n < t0 − θ0 σ/√n

  • θ0

) = Pr ( Z < t0 − θ0 σ/√n ) 1 − α = Pr ( Z ≥ t0 − θ0 σ/√n ) t0 − θ0 σ/√n = z1−α t nz nz Therefore, the test rejects H if T t

nz

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 27 / 1

slide-117
SLIDE 117

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Testing H0 : θ ≥ θ0 vs. H1 : θ < θ0

UMP level α test rejects H0 if T < t0 where α = Pr(T < t0|θ0) = Pr ( T − θ0 σ/√n < t0 − θ0 σ/√n

  • θ0

) = Pr ( Z < t0 − θ0 σ/√n ) 1 − α = Pr ( Z ≥ t0 − θ0 σ/√n ) t0 − θ0 σ/√n = z1−α t0 = θ0 + σ √nz1−α = θ0 − σ √nzα Therefore, the test rejects H0 if T < t0 = θ −

σ √nzα

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 27 / 1

slide-118
SLIDE 118

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean

Xi

i.i.d.

∼ N(µ0, σ2) where σ2 is unknown and µ0 is known. Find the UMP

level α test for testing H0 : σ2 ≤ σ2

0 vs. H1 : σ2 > σ2

  • 0. Let

T = ∑n

i=1(Xi − µ0)2 is sufficient for σ2.

To check whether T has MLR property, we need to find g t . Xi Xi Y T

n i

Xi

n

fY y

n n

y

n

e

y Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 28 / 1

slide-119
SLIDE 119

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean

Xi

i.i.d.

∼ N(µ0, σ2) where σ2 is unknown and µ0 is known. Find the UMP

level α test for testing H0 : σ2 ≤ σ2

0 vs. H1 : σ2 > σ2

  • 0. Let

T = ∑n

i=1(Xi − µ0)2 is sufficient for σ2. To check whether T has MLR

property, we need to find g(t|σ2). Xi Xi Y T

n i

Xi

n

fY y

n n

y

n

e

y Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 28 / 1

slide-120
SLIDE 120

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean

Xi

i.i.d.

∼ N(µ0, σ2) where σ2 is unknown and µ0 is known. Find the UMP

level α test for testing H0 : σ2 ≤ σ2

0 vs. H1 : σ2 > σ2

  • 0. Let

T = ∑n

i=1(Xi − µ0)2 is sufficient for σ2. To check whether T has MLR

property, we need to find g(t|σ2). Xi − µ0 σ ∼ N(0, 1) Xi Y T

n i

Xi

n

fY y

n n

y

n

e

y Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 28 / 1

slide-121
SLIDE 121

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean

Xi

i.i.d.

∼ N(µ0, σ2) where σ2 is unknown and µ0 is known. Find the UMP

level α test for testing H0 : σ2 ≤ σ2

0 vs. H1 : σ2 > σ2

  • 0. Let

T = ∑n

i=1(Xi − µ0)2 is sufficient for σ2. To check whether T has MLR

property, we need to find g(t|σ2). Xi − µ0 σ ∼ N(0, 1) (Xi − µ0 σ )2 ∼ χ2

1

Y T

n i

Xi

n

fY y

n n

y

n

e

y Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 28 / 1

slide-122
SLIDE 122

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean

Xi

i.i.d.

∼ N(µ0, σ2) where σ2 is unknown and µ0 is known. Find the UMP

level α test for testing H0 : σ2 ≤ σ2

0 vs. H1 : σ2 > σ2

  • 0. Let

T = ∑n

i=1(Xi − µ0)2 is sufficient for σ2. To check whether T has MLR

property, we need to find g(t|σ2). Xi − µ0 σ ∼ N(0, 1) (Xi − µ0 σ )2 ∼ χ2

1

Y = T/σ2 =

n

i=1

(Xi − µ0 σ )2 ∼ χ2

n

fY y

n n

y

n

e

y Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 28 / 1

slide-123
SLIDE 123

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean

Xi

i.i.d.

∼ N(µ0, σ2) where σ2 is unknown and µ0 is known. Find the UMP

level α test for testing H0 : σ2 ≤ σ2

0 vs. H1 : σ2 > σ2

  • 0. Let

T = ∑n

i=1(Xi − µ0)2 is sufficient for σ2. To check whether T has MLR

property, we need to find g(t|σ2). Xi − µ0 σ ∼ N(0, 1) (Xi − µ0 σ )2 ∼ χ2

1

Y = T/σ2 =

n

i=1

(Xi − µ0 σ )2 ∼ χ2

n

fY(y) = 1 Γ ( n

2

) 2n/2 y

n 2 −1e− y 2 Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 28 / 1

slide-124
SLIDE 124

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

fT(t) = 1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2

  • dy

dt

  • n

n

t

n

e

t

t

n

n n

n

e

t

h t c exp w t where w is an increasing function in . Therefore, T

n i

Xi has the MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 29 / 1

slide-125
SLIDE 125

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

fT(t) = 1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2

  • dy

dt

  • =

1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2 1

σ2 t

n

n n

n

e

t

h t c exp w t where w is an increasing function in . Therefore, T

n i

Xi has the MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 29 / 1

slide-126
SLIDE 126

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

fT(t) = 1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2

  • dy

dt

  • =

1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2 1

σ2 = t

n 2 −1

Γ ( n

2

) 2n/2 ( 1 σ2 ) n

2

e−

t 2σ2

h t c exp w t where w is an increasing function in . Therefore, T

n i

Xi has the MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 29 / 1

slide-127
SLIDE 127

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

fT(t) = 1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2

  • dy

dt

  • =

1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2 1

σ2 = t

n 2 −1

Γ ( n

2

) 2n/2 ( 1 σ2 ) n

2

e−

t 2σ2

= h(t)c(σ2) exp[w(σ2)t] where w(σ2) = − 1

2σ2 is an increasing function in σ2.

Therefore, T

n i

Xi has the MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 29 / 1

slide-128
SLIDE 128

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

fT(t) = 1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2

  • dy

dt

  • =

1 Γ ( n

2

) 2n/2 ( t σ2 ) n

2 −1

e−

t 2σ2 1

σ2 = t

n 2 −1

Γ ( n

2

) 2n/2 ( 1 σ2 ) n

2

e−

t 2σ2

= h(t)c(σ2) exp[w(σ2)t] where w(σ2) = − 1

2σ2 is an increasing function in σ2. Therefore,

T = ∑n

i=1(Xi − µ0)2 has the MLR property.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 29 / 1

slide-129
SLIDE 129

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

By Karlin-Rabin Theorem, UMP level α rejects s H0 if and only if T > t0 where t0 is chosen such that α = Pr(T > t0|σ2

0).

Note that

T n

Pr T t Pr T t T

n

Pr

n

t t

n

t

n

where

n

satisfies

n

f

n x dx

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 30 / 1

slide-130
SLIDE 130

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

By Karlin-Rabin Theorem, UMP level α rejects s H0 if and only if T > t0 where t0 is chosen such that α = Pr(T > t0|σ2

0).

Note that

T σ2 ∼ χ2 n

Pr(T > t0|σ2

0)

= Pr ( T σ2 > t0 σ2

  • σ2

) T

n

Pr

n

t t

n

t

n

where

n

satisfies

n

f

n x dx

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 30 / 1

slide-131
SLIDE 131

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

By Karlin-Rabin Theorem, UMP level α rejects s H0 if and only if T > t0 where t0 is chosen such that α = Pr(T > t0|σ2

0).

Note that

T σ2 ∼ χ2 n

Pr(T > t0|σ2

0)

= Pr ( T σ2 > t0 σ2

  • σ2

) T σ2 ∼ χ2

n

Pr

n

t t

n

t

n

where

n

satisfies

n

f

n x dx

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 30 / 1

slide-132
SLIDE 132

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

By Karlin-Rabin Theorem, UMP level α rejects s H0 if and only if T > t0 where t0 is chosen such that α = Pr(T > t0|σ2

0).

Note that

T σ2 ∼ χ2 n

Pr(T > t0|σ2

0)

= Pr ( T σ2 > t0 σ2

  • σ2

) T σ2 ∼ χ2

n

Pr ( χ2

n > t0

σ2 ) = α t

n

t

n

where

n

satisfies

n

f

n x dx

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 30 / 1

slide-133
SLIDE 133

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

By Karlin-Rabin Theorem, UMP level α rejects s H0 if and only if T > t0 where t0 is chosen such that α = Pr(T > t0|σ2

0).

Note that

T σ2 ∼ χ2 n

Pr(T > t0|σ2

0)

= Pr ( T σ2 > t0 σ2

  • σ2

) T σ2 ∼ χ2

n

Pr ( χ2

n > t0

σ2 ) = α t0 σ2 = χ2

n,α

t

n

where

n

satisfies

n

f

n x dx

.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 30 / 1

slide-134
SLIDE 134

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Normal Example with Known Mean (cont’d)

By Karlin-Rabin Theorem, UMP level α rejects s H0 if and only if T > t0 where t0 is chosen such that α = Pr(T > t0|σ2

0).

Note that

T σ2 ∼ χ2 n

Pr(T > t0|σ2

0)

= Pr ( T σ2 > t0 σ2

  • σ2

) T σ2 ∼ χ2

n

Pr ( χ2

n > t0

σ2 ) = α t0 σ2 = χ2

n,α

t0 = σ2

0χ2 n,α

where χ2

n,α satisfies

∫ ∞

χ2

n,α fχ2 n(x)dx = α. Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 30 / 1

slide-135
SLIDE 135

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Remarks

  • For many problems, UMP level α test does not exist (Example

8.3.19).

  • In such cases, we can restrict our search among a subset of tests, for

example, all unbiased tests.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 31 / 1

slide-136
SLIDE 136

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Remarks

  • For many problems, UMP level α test does not exist (Example

8.3.19).

  • In such cases, we can restrict our search among a subset of tests, for

example, all unbiased tests.

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 31 / 1

slide-137
SLIDE 137

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Summary

.

Today

. .

  • Uniformly Most Powerful Test
  • Neyman-Pearson Lemma
  • Monotone Likelihood Ratio
  • Karlin-Rabin Theorem

.

Next Lecture

. . . . . . . .

  • Asymptotics of LRT
  • Wald Test

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 32 / 1

slide-138
SLIDE 138

. .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. . . .. .

Summary

.

Today

. .

  • Uniformly Most Powerful Test
  • Neyman-Pearson Lemma
  • Monotone Likelihood Ratio
  • Karlin-Rabin Theorem

.

Next Lecture

. .

  • Asymptotics of LRT
  • Wald Test

Hyun Min Kang Biostatistics 602 - Lecture 20 March 28th, 2013 32 / 1