Hypothesis Testing in Communications Engineering: Minimizing Error Probability, Study notes of Digital Communication Systems

An in-depth analysis of hypothesis testing in communications engineering, focusing on minimizing error probability. It covers the concept of hypothesis testing, the use of gaussian distributions, and the derivation of the optimal threshold (γ) for decision making. The document also includes examples of digital and optical communication systems and the application of the likelihood ratio test.

Typology: Study notes

Pre 2010

Uploaded on 03/16/2009

koofers-user-rdf
koofers-user-rdf 🇺🇸

5

(1)

10 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 459: Communications I
Supplemental Notes on Hypothesis Testing
Prepared by: Suneil Hosmane
Based on Lectures by Prof. Hadjicostis
University of Illinois at Urbana-Champaign
Department of Electrical and Computer Engineering
© Copyright 2005 Christoforos Hadjicostis. All rights reserved.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Hypothesis Testing in Communications Engineering: Minimizing Error Probability and more Study notes Digital Communication Systems in PDF only on Docsity!

ECE 459: Communications I

Supplemental Notes on Hypothesis Testing

Prepared by: Suneil Hosmane

Based on Lectures by Prof. Hadjicostis

University of Illinois at Urbana-Champaign

Department of Electrical and Computer Engineering

© Copyright 2005 Christoforos Hadjicostis. All rights reserved.

Introduction

Hypothesis testing is a recurrent theme in many disciplines, especially that of

Communications Engineering. In Digital Communications, the fundamental idea behind

hypothesis testing is the following: We have two hypotheses H 0

and H 1

which could

represent respectively a “0” or “1” being transmitted. If we are given the probability of

receiving a “0” given that H 0

occurred (meaning that we actually sent a 0) and the

probability of receiving a “1” given that H 1

occurred, how do we decide which signal was

actually sent?

Example: Oversimplified Digital Communication System

We are given a Digital Communication System that transmits a single bit (0 or 1).

During transmission, noise (represented by a R.V. N ) is introduced into the system. On

the receiving end, the receiver is presented with two hypotheses. Hypothesis H 0

states

that a “0” was sent, and Hypothesis H 1

states that a “1” was sent. If we are also given the

information below, how do we determine which bit was actually received so that we

minimize the probability of error?

H

0

: A A + n

H

1

: - A - A + n

n

Assume that a priori, the two hypotheses have the following probabilities:

Pr(H 0

) = P

0,

Pr(H 1

) = P

1,

P

0

+ P

1

And that the noise N is a Gaussian R.V.

f N

(n) = Ν (0, σ

2

n

exp(-

2 π

2

2

σ σ

Under H 0

: Under H 1

F

z|H

(z|H 0

) is Ν (A, σ

2

) F

z|H

(z|H 1

) is Ν (-A, σ

2

Note: These pictures are a little deceiving. The Gaussian distribution does not have a

finite bound like depicted in the pictures above. It actually extends from – infinity to +

z = Z

We can then solve for

γ

and obtain our optimal solution for the threshold test:

“H

0

γ

Z

“H

1

Notice that even if we choose

γ

in an optimal fashion, it is still unclear at this point that

the above rule will be the best we can do in terms of minimizing the probability of error.

This is so because we arbitrarily set the rule to be of the form

γ

Z

Likelihood Ratio Test

It turns out that to minimize the probability of error we need to use a MAP rule.

Choose H 0

if:

Pr(H 0

| Z = z) > Pr(H 1

| Z = z)

Choose H 1

if:

Pr(H 0

| Z = z) < Pr(H 1

| Z = z)

If we arrange terms, we can arrive at the following rule:

“H

1

P

0

∙f z|H

(z | H 0

P

1

∙f z|H

(z | H 1

“H

0

“H

0

0

1

z|H 1

z|H 0

f (z|H )

f (z|H )

1

0

P

P

This is know as the Likelihood Ratio Test

“H

1

By looking at the weighted probabilities of P 0

∙f z|H

(z | H 0

) and P 1

∙f z|H

(z | H 1

we can choose which hypothesis occurred.

Let us use the Likelihood Ratio Test to find the optimal decision rule in the previous

example.

“H

0

0

1

2

2

2

2

exp(

exp(

P

P

z A

z A

“H

1

“H

0

0

1

2

2

2

2

exp(

exp(

P

P

z A

z A

“H

1

“H

0

0

1

2

2

2

2

exp(

P

z A z A P

“H

1

“H

0

0

1

2

2 2

2

2 2

exp(

P

z zA A z zA A P

“H

1

“H

0

0

1

2

exp(

P

zA P

“H

1

“H

0

ln( )

1

2

P

P

A

z

so we have now solved for our

γ

“H

1

γ

= ln( )

1

2

P

P

A

σ

0

1

k

1 1

k

0 0

A u

A u

P

P

“H

1

“H

0

0

1

k

1

0

1

0

u

u

A

A

P

P

“H

1

“H

0

0

1

0

1

k

1

0

A

A

u

u

P

P

“H

1

“H

0

0

1

0

1

k

1

0

A

A

ln

u

u

ln

P

P

“H

1

“H

0

0

1

0

1

1

0

A

A

ln

u

u

ln

P

P

k

“H

1

“H

0

1

0

0

1

0

1

u

u

ln

A

A

ln

P

P

k

“H

1

“H

0

1

0

0

1

0

1

u

u

ln

1 - u

1 - u

ln

P

P

k

“H

1

“H

0

( ) ( ) ( ) ( )

( 0 ) ( 1 )

1 1 0 0

lnu ln u

ln ln 1 - u ln ln 1 - u

> P P

k

“H

1

“H

0

k c

where

( ) ( ) ( ) ( )

( 0 ) ( 1 )

1 1 0 0

lnu ln u

ln ln 1 - u ln ln 1 - u

P P

c

“H

1

Since c can be any real number but k is an integer:

“H

0

 

k c

(if

 

k ≥ c

then “H 0

” is selected, otherwise if

 

k < c

then “H 1

“H

1

” is selected.)

So what is the error probability?

Error Probability

Pr(Error) = Pr(Error ∩ H 0

) + Pr(Error ∩ H 1

= Pr(H 0

) ∙ Pr(Error | H 0

) + Pr(H 1

) ∙ Pr(Error | H 1

= P

0

∙ Pr(Error | H 0

) + P

1

∙ Pr(Error | H 1

 

=

1

0

c

k

k

P u u

 

=

k c

k

P 1 ( 1 u 1 ) u 1

( )

 

( )

 

1

1

c

1

0 1

0

c

0

0

1 - u

u

1 - u

1 - u

1 - u

= 1 - u ⋅ ⋅ P + ⋅ ⋅ P