Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

ECE642: Detection and Estimation Theory - Lecture 07: Minimax Hypothesis Testing - Prof. S, Study notes of Electrical and Electronics Engineering

Material Type: Notes; Professor: Jayaweera; Class: Detection and Estimation Theory; Subject: Electrical & Computer Engineer; University: University of New Mexico; Term: Fall 2007;

Typology: Study notes

Pre 2010

Uploaded on 09/17/2009

koofers-user-zpq
koofers-user-zpq 🇺🇸

10 documents

1 / 39

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE642: Detection and Estimation Theory
ECE642: Detection and Estimation Theory
Dr. Sudharman K. Jayaweera
Assistant Professor
Department of Electrical and Computer Engineering
University of New Mexico
Lecture 07 - September 13th, Thursday
Fall 2007
Dr. S. K. Jayaweera, Fall 07 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27

Partial preview of the text

Download ECE642: Detection and Estimation Theory - Lecture 07: Minimax Hypothesis Testing - Prof. S and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

ECE642: Detection and Estimation Theory

ECE642: Detection and Estimation Theory

Dr. Sudharman K. Jayaweera

Assistant Professor

Department of Electrical and Computer Engineering

University of New Mexico

Lecture 07 - September

th

, Thursday

Fall 2007

ECE642: Detection and Estimation Theory

Minimax Hypothesis Testing Example 1:

Location Testing with Gaussian Error (Uniform Costs)

Recall the location testing problem defined in (3.6) and (3.7):

H 0 : Y ∼ N ( μ 0 ,

(^) σ

2 )

H 1 : Y ∼ N ( μ 1 ,

(^) σ

2 )

Recall, also from (3.9), that the minimum Bayes risk

V

π 0 )

for

uniform costs is,

V

π 0 ) = π 0 P 0 ( Γ 1

(^) π

0 ) P 1 ( Γ 0 )

= π 0 P 0 ( Γ 1

(^) π

0 )(

1 (^) −

P

1 ( Γ

1 ))

V

π 0 ) = ( 1

(^) π

0 ) +

(^) π

0 P 0 ( Γ 1 )

(^) π

0 ) P 1 ( Γ 1 )

ECE642: Detection and Estimation Theory

Location Testing with Gaussian Error: Conditional Risks

Since (4) is a differentiable function of

π 0 , randomization is not

necessary (since

V

(^) ′ ( π 0 )

exists everywhere on

[

]

Thus, we can find

π L

by setting

R 0 ( δ π L

= R 1 ( δ π L

or by setting

V

(^) ′ ( π L ) =

From (3.19) and definition of conditional risks (for uniform costs)

R 0 ( δ π 0

C

00

P 0 ( Γ

0 ) +

C

10

P

0 ( Γ 1 ) =

P

0 ( Γ 1 ) =

Q

τ ′ −

(^) μ

0

σ

R 1 ( δ π 0

C

01

P

1 ( Γ 0 ) +

C

11

P 1 ( Γ 1 )

Q

τ ′ −

(^) μ

1

σ

since

P

1 ( Γ 0 ) =

P

1 ( Γ

1 ))

ECE642: Detection and Estimation Theory

Location Testing with Gaussian Error: Minimax Condition

Thus, setting

R 0 ( δ π L

R 1 ( δ π L

Q

τ ′ −

(^) μ

0

σ

Q

τ ′ −

(^) μ

1

σ

Note that from (5), the priors enter into (8) only through

τ ′ .

So we need to solve (8) for

τ ′ =

τ L ′ .

ECE642: Detection and Estimation Theory

Example 1: Minimax Rule for Location Testing with Gaussian Error

with Uniform Costs

Hence, the minimax rule for the Gaussian location testing problem is:

δ π L (^) ( y )

if

yμ 0 + μ 1

2

if

y < μ 0 + μ 1

2

ECE642: Detection and Estimation Theory

Location Testing with Gaussian Error with Uniform Costs: Least

Favorable Prior

We can find the least favorable prior

π L

by substituting (9) into (5):

σ 2

μ 1 −

(^) μ

0

log

π L

(^) π

L )

i.e.,

π L

(^) π

L

π L

Thus, the

least favorable prior

corresponds to the

equal prior

case.

Hence from (3.25) we have the minimum risk,

V ( π L ) = V (

Q

μ^ 1 (^) −

(^) μ

0

σ

(Note: the minimum risk of the minimax rule is independent of

π

0 )

ECE642: Detection and Estimation Theory

Minimax Example 2: The Function

V

for Binary Channel

From lecture #3, the Bayes risk for

uniform costs

is,

r ( δ B ) = π 0 P 0 ( Γ 1

(^) π

0 ) P 1 ( Γ 0 )

The

minimum Bayes risk function

for the binary channel can

V shown to be, (^) ( π 0 ) =

min

(^) π

0 ) λ 1 , (^) π

0 ( 1 (^) −

(^) λ

0 ) } (^) +

(^) min

(^) π

0 )(

1 (^) −

(^) λ

1 ) , (^) π

0 λ 0 }

(13)

10

ECE642: Detection and Estimation Theory

Function

V

π 0 )

for Binary Channel with Uniform Costs (ctd...)

We can rewrite (13) as (see Appendix C):

V

π 0 )

π 0

if 0

π 0

π

π (^) +

C

π 0 (^) −

(^) π

)

if

π < π 0 < π

(^) π

0

if

π ≤ π 0 ≤ 1

where

π

min

λ 1

(^) λ

0 (^) +

(^) λ

1 ,

(^) λ

1

(^) λ

1 (^) +

(^) λ

0 }

π

max

λ 1

(^) λ

0

(^) λ

1 ,

(^) λ

1

(^) λ

1

(^) λ

0 }

and

C

is a constant independent of

π 0 ,

C

π¯ (^) −

(^) π

π ¯

(^) −

(^) π

ECE642: Detection and Estimation Theory

Minimax Example 2: Shape of

V

π 0 )

Note that

V

π 0 )

is a piecewise linear function of

π 0 , with changes in

slope occurring at

π 0

=

π

and

π 0

=

π¯

. Clearly,

(i.) if

C

Then

V

π 0 )

is maximum at

π L

=

π

and

V

π L )

V

π ) =

π

(from (14))

(ii.) if

C

Then

V

π 0 )

is maximum at

π L

=

π¯

and

V

π L )

V

π¯ ) =

π¯

(from (14))

(iii.) if

C

Then

π

L

can be taken as any prior in

[

π , ¯π ]

ECE642: Detection and Estimation Theory

Binary Channel with Uniform Costs: Minimax Risk

Thus, from (17) and (19), we have that the

minimax risk in general

is,

V

π L )

max

π , (^1) (^) −

π¯ }

forIn order to determine the minimax test we need to find a Bayes test

π 0

=

π L

prior.

Since

V

π 0 )

is not differentiable at either

π L

=

π

or

π L

=

¯π , we need

to consider a

randomized test

ECE642: Detection and Estimation Theory

Substituting for

C

from (17):

q

π¯ (^) −

(^) π

¯π (^) −

(^) π

(^) + (

(^) ¯π (^) −

(^) π

)

¯π (^) −

(^) π

π

ECE642: Detection and Estimation Theory

Binary Channel: Bayes Rule from Right-hand Side

if

π 0

π¯ :

Due to uniform costs

τ

=

π 0

(^) π

0 .

Since,

L

y )

λ 1

1 − λ 0

if

y

=

1 − λ 1

λ 0

if

y

=

and

δ B ( y ) =

if

L ( y ) ≥ τ

otherwise

ECE642: Detection and Estimation Theory

Binary Channel: Bayes Rule from Right-hand Side (ctd...)

But since,

¯π

max

λ 1

(^) λ

0

(^) λ

1 ,

(^) λ

1

(^) λ

1

(^) λ

0 }

and

π 0

π¯ ,

π 0

λ 1

(^) λ

0 (^) +

(^) λ

1

and

π 0

(^) λ

1

(^) λ

1

(^) λ

0

Hence, ( 1 (^) −

(^) λ

0 ) π 0 > λ 1 −

(^) λ

1 π

0

and

π 0 λ 0 > ( 1

(^) λ

1 ) (^) −

(^) π

0 ( 1 (^) −

(^) λ

1 )

ECE642: Detection and Estimation Theory

Binary Channel: Bayes Rule from Right-hand Side (ctd...)

(^) π

0 ) λ 1 < π 0 ( 1

(^) λ

0 )

and

(^) π

0 )(

1 (^) −

(^) λ

1 ) < π 0 λ 0

if Hence from (27) and (30):

y = 0 δ B ( y

δ B ( 0 ) =

if and from (31) and (34)

y = 1 δ B ( y

δ

B

( 1 ) =