Docsity

Notes on Hypothesis Testing - Detection and Estimation Theory | ECE 642, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Notes on Hypothesis Testing - Detection and Estimation Theory | ECE 642 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 02 - August

rd

, Thursday

Fall 2007

ECE642: Detection and Estimation Theory

Hypothesis Testing

Consider an M-ary communications receiver:

  • We observe an electrical waveform that consists of one of

M

possible signals corrupted by random channel or receiver noise.

  • We wish to decide which of the

M

possible signals is actually

present based on this observation.

This is an

M

-ary hypothesis testing problem

Most signal detection problems can be cast into such an

M

-ary

hypothesis testing problem.

ECE642: Detection and Estimation Theory

Optimality Criteria for Hypothesis Testing

strategies or rules that can be applied.Given such a problem, there are a number of possible decision

  • But, it makes sense to choose a decision rule that is

optimum

in

some sense.

There are several meaningful optimality criteria that can be used.

  1. Minimax2) Neyman-Pearson1) BayesThree most commonly used optimality criteria are:

ECE642: Detection and Estimation Theory

Binary Hypothesis Testing

In binary (

M

  1. hypothesis testing, we assume that there are two

possible hypotheses (or

states of nature

), denoted by

H

0

and

H

1 ,

corresponding to two possible probability distributions

P

0

and

P

1 ,

respectively, on the observation space (

G

), where,

: observation set

G

: set of observation events (a collection of subsets of

We may write this problem as

H

0

: (^) Y

P

0

versus

H

1

: (^) Y

P

1

where the notation

Y

P

means that

Y

has distribution

P

ECE642: Detection and Estimation Theory

Decision Rules (Hypothesis Tests)

A decision rule

δ

for

H

0

versus

H

1

is any

partition

of the observation

set

into sets

1

∈

G

and

0

=

1 c

such that,

i) We choose hypothesis

H

1

as true when

y

∈

1

and

ii) We choose hypothesis

H

0

as true when

y

∈

0 .

1

is called the

critical region

Note that, the decision rule

δ

can be think of also as a

function

defined on

. i.e.:

δ ( y )

i (^) f

y

1

i (^) f

y

1 c

i.e. the value of the function

δ

for a given

y

∈

is the index of the

hypothesis accepted by the decision rule

δ

.

ECE642: Detection and Estimation Theory

Decision Rules (Hypothesis Tests) ctd ...

Clearly, designing

δ

is equivalent to finding the set

1

( critical

region

  • Since we would like to choose

1

(or

δ ) in some

optimum

way

we assign costs to our decisions...

ECE642: Detection and Estimation Theory

Costs and Conditional Risks (ctd...)

For example, conditional risk for hypothesis

H

0

under the decision

rule

δ

is:

R 0 ( δ ) = C

00

P 0 ( Γ 0 ) +

C

10

P 0 ( Γ 1 )

where

P

j ( Γ

i )

Probability of choosing

H

i when

H

j is true

Thus, for

j

(^) 1 the conditional risk

R

j^ ( δ )

in general is,

R

j^ ( δ ) = C 0

(^) j P

j ( Γ

0 ) +

C

1 (^) j P j ( Γ 1 )

for

j

ECE642: Detection and Estimation Theory

A Priori Probabilities

The

a priori

probability

π

j^ is the probability that hypothesis

H

j is

true (unconditioned on the value of

Y

Thus,

π 0

Probability of the occurrence of hypothesis

H

0

π 1

Probability of the occurrence of hypothesis

H

1

Note that,

π

1

(^) π

0

ECE642: Detection and Estimation Theory

Bayes Rule for hypothesis Testing

Bayes optimal

decision rule for

H

0

versus

H

1

is the decision rule that

minimizes (over all decision rules) the Bayes risk

r ( δ ) , defined above.

Such a decision rule is known as a Bayes rule (or a Bayes test) for

H

0

versus

H

1 .

ECE642: Detection and Estimation Theory

Minimization of Bayes Risk

Substituting for

R

0 ( δ )

and

R

1 ( δ )

we have that,

r ( δ ) =

π 0 (^) [ C

00

P 0 ( Γ 0 ) +

C

10

P 0 ( Γ

1 )] +

(^) π

1 (^) [ C

01

P 1 ( Γ 0 ) +

C

11

P 1 ( Γ

1 )]

But note that,

P

j ( Γ 0 ) =

P

j ( Γ 1 c ) =

P

j ( Γ 1 )

r Hence, ( δ ) = π 0

[

C

00

(^) ( 1 (^) −

P

0 ( Γ

1 )) +

C

10

P

0 ( Γ 1 )]

π 1 (^) [ C

01

(^) ( 1 (^) −

P

1 ( Γ

1 )) +

C

11

P

1 ( Γ 1 )]

π 0 C

00

(^) +

(^) π

1 C

01

(^) π

0 (^) ( C

10

(^) −

C

00

) (^) P

0 ( Γ

1 ) +

(^) π

1 (^) ( C

11

C

01

) (^) P 1 ( Γ 1 )

1

j ∑

= 0

π

j^ C

0 (^) j

1

j ∑

= 0 π

j^ ( C

1 (^) j −

C

0 (^) j ) P^

j ( Γ 1 )

14

ECE642: Detection and Estimation Theory

Minimization of Bayes Risk (ctd...)

Recall that our goal in Bayes hypothesis testing is to choose

1

(or

δ )

so that

r ( δ )

is minimized.

From (9), it is clear that

r ( δ )

is minimized by choosing

1

so that it

include only those values of

y

for which the integrand in the second

term is non-positive.

i.e.

r ( δ )

is minimized if we choose

1

as,

Γ 1 = { y ∈ Γ | 1

j ∑

= 0 π

j^ ( C

1 (^) j −

C

0 (^) j )

p j^ ( y ) ≤ 0 }

= { y ∈ Γ |

π

1

( C

11

C

01

(^) p

1 ( y ) ≤ π 0

C

00

(^) −

C

10

) p 0 ( y ) }

ECE642: Detection and Estimation Theory

Minimization of Bayes Risk (ctd...)

assume thatIn order to further simplify the above decision rule (10), let us

C

11

C

01

(note that, this make sense since the cost of

correctly choosing

H

1 , when

H

1

is true, should be less than the cost

of incorrectly choosing

H

0

when

H

1

is true).

Then, we have that

π 1 (^) ( C

11

(^) −

C

01

) p 1 ( y ) ≤ π 0

C

00

C

10

) p 0 ( y ) ,

p 1 ( y ) ≥ π 0

C

00

C

10

)

π 1 (^) ( C

11

C

01

) p 0 ( y )

or

p 1 ( y ) ≥ π 0

C

10

C

00

)

π

1 (^) (

C

01

C

11

) p 0 ( y )

ECE642: Detection and Estimation Theory

Few Remarks

We may rewrite the above Bayes decision rule as,

Γ 1 = { y ∈ Γ | p 1 ( y )

p 0 ( y ) ≥ τ }

= { y ∈ Γ | L ( y ) ≥ τ }

where

L ( y ) = p 1 ( y )

p 0 ( y ) (^) ,

y

∈

The quantity

L

y )

defined above is known as the

likelihood ratio

(or

the likelihood ratio statistic) between

H

0

and

H

1 .

(In computing

L

y )

we interpret

0 k

as

for any

k

≥

ECE642: Detection and Estimation Theory

Few Remarks (ctd...)

Thus, the above decision rule (defined by the

rejection region

1 ) is

known as a

likelihood-ratio test

LRT

), or a

probability-ratio test

  • The

likelihood-ratio tests

play a central role in the theory of

hypothesis testing (as we will see throughout this course)

Thus, the

Bayes decision rule

given above computes the

likelihood

ratio

for the observed value of

Y

and then makes its decision by

comparing this ratio to the

threshold

τ .