























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























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:
possible signals corrupted by random channel or receiver noise.
possible signals is actually
present based on this observation.
This is an
-ary hypothesis testing problem
Most signal detection problems can be cast into such an
-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
optimum
in
some sense.
There are several meaningful optimality criteria that can be used.
ECE642: Detection and Estimation Theory
Binary Hypothesis Testing
In binary (
possible hypotheses (or
states of nature
), denoted by
0
and
1 ,
corresponding to two possible probability distributions
0
and
1 ,
respectively, on the observation space (
), where,
: observation set
: set of observation events (a collection of subsets of
We may write this problem as
0
: (^) Y
0
versus
1
: (^) Y
1
where the notation
means that
has distribution
ECE642: Detection and Estimation Theory
Decision Rules (Hypothesis Tests)
A decision rule
δ
for
0
versus
1
is any
partition
of the observation
set
into sets
1
∈
and
0
=
1 c
such that,
i) We choose hypothesis
1
as true when
y
∈
1
and
ii) We choose hypothesis
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
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
0
under the decision
rule
δ
is:
R 0 ( δ ) = C
00
P 0 ( Γ 0 ) +
10
P 0 ( Γ 1 )
where
j ( Γ
i )
Probability of choosing
i when
j is true
Thus, for
(^) 1 the conditional risk
j^ ( δ )
in general is,
j^ ( δ ) = C 0
(^) j P
j ( Γ
0 ) +
1 (^) j P j ( Γ 1 )
for
ECE642: Detection and Estimation Theory
A Priori Probabilities
The
a priori
probability
π
j^ is the probability that hypothesis
j is
true (unconditioned on the value of
Thus,
π 0
Probability of the occurrence of hypothesis
0
π 1
Probability of the occurrence of hypothesis
1
Note that,
π
1
(^) π
0
ECE642: Detection and Estimation Theory
Bayes Rule for hypothesis Testing
Bayes optimal
decision rule for
0
versus
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
0
versus
1 .
ECE642: Detection and Estimation Theory
Minimization of Bayes Risk
Substituting for
0 ( δ )
and
1 ( δ )
we have that,
r ( δ ) =
π 0 (^) [ C
00
P 0 ( Γ 0 ) +
10
P 0 ( Γ
1 )] +
(^) π
1 (^) [ C
01
P 1 ( Γ 0 ) +
11
P 1 ( Γ
1 )]
But note that,
j ( Γ 0 ) =
j ( Γ 1 c ) =
j ( Γ 1 )
r Hence, ( δ ) = π 0
00
(^) ( 1 (^) −
0 ( Γ
1 )) +
10
0 ( Γ 1 )]
π 1 (^) [ C
01
(^) ( 1 (^) −
1 ( Γ
1 )) +
11
1 ( Γ 1 )]
π 0 C
00
(^) +
(^) π
1 C
01
(^) π
0 (^) ( C
10
(^) −
00
) (^) P
0 ( Γ
1 ) +
(^) π
1 (^) ( C
11
01
) (^) P 1 ( Γ 1 )
1
= 0
π
j^ C
0 (^) j
1
= 0 π
j^ ( C
1 (^) j −
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
= 0 π
j^ ( C
1 (^) j −
0 (^) j )
p j^ ( y ) ≤ 0 }
= { y ∈ Γ |
π
1
( C
11
01
(^) p
1 ( y ) ≤ π 0
00
(^) −
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
11
01
(note that, this make sense since the cost of
correctly choosing
1 , when
1
is true, should be less than the cost
of incorrectly choosing
0
when
1
is true).
Then, we have that
π 1 (^) ( C
11
(^) −
01
) p 1 ( y ) ≤ π 0
00
10
) p 0 ( y ) ,
p 1 ( y ) ≥ π 0
00
10
)
π 1 (^) ( C
11
01
) p 0 ( y )
or
p 1 ( y ) ≥ π 0
10
00
)
π
1 (^) (
C
01
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
y )
defined above is known as the
likelihood ratio
(or
the likelihood ratio statistic) between
0
and
1 .
(In computing
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
), or a
probability-ratio test
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
and then makes its decision by
comparing this ratio to the
threshold
τ .