



























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 05 - September
th
, Tuesday
Fall 2007
ECE642: Detection and Estimation Theory
Just a Reminder ...
No classes next week. Next class on Sep 11th.
ECE642: Detection and Estimation Theory
Example 1: Location Testing with Gaussian Error (ctd...)
Recall from equation (4), of lecture #3 that
e ( μ^ 1 − μ 0
σ 2
)(
y −
(^) μ 1
μ 0
2
)
Hence (2) can be written as
P 0 ( p 1 ( Y
η p 0 ( Y
= P 0 ( Y > η ′
where
η ′ = ( σ 2
μ 1 −
(^) μ
0 )
log
η
) +
μ 1
(^) μ
0
Since
(^) σ
2 )
under
0 ,
P 0 ( Y > η ′
) = Q ( η ′ −
(^) μ
0
σ
ECE642: Detection and Estimation Theory
Example 1: Location Testing with Gaussian Error (ctd...)
Hence from (4) and (6):
P 0 ( p 1 ( Y
η p 0 ( Y
= Q ( η ′ −
(^) μ
0
σ
Figure 1:
Computation of Neyman-Pearson Test Threshold for Location Testing with
Gaussian Error (Note that
Q
( x ) =
1 (^) −
(^) Φ
( x ) ).
ECE642: Detection and Estimation Theory
Example 1: Neyman-Pearson Optimal Decision Rule
Note that since
η 0 ′ ) =
0, in this case the randomization can be
chosen arbitrarily (say
γ 0
=
Thus, an
α
-level Neyman-Pearson test for this problem is given by,
δ˜ NP
y )
if
y
≥
η
0 ′
if
y
<
η
0 ′
The detection probability of the test
δ˜ NP
is,
D ( δ˜ NP
1 {
δ˜ NP
} = P 1 ( Y ≥ η
0 ′ )
Since
(^) σ
2 )
under
1 ,
D ( δ˜ NP
η
0 ′ (^) −
(^) μ
1
σ ) = Q ( Q − 1 ( α
μ 0
σ
μ 1
σ
ECE642: Detection and Estimation Theory
Example 1: Location Testing with Gaussian Error (ctd...)
Let us define the the parameter
d
(related to SNR) as in equation (15)
of lecture #3:
d
μ 1 −
(^) μ
0
σ
Then, we can rewrite the above detection probability as
D
( δ˜
NP
Q − 1 ( α )
(^) d
)
ECE642: Detection and Estimation Theory
ROC Curve of a Test
function of the false-alarm probabilityAlso, (12) can be seen as giving the detection probability as a
α
for a fixed SNR value
d
A parametric plot of this relationship is called the
Receiver
Operating Characteristic
Figure 3:
Receiver Operating Characteristics for Neyman-Pearson Testing of Location
Testing with Gaussian Error.
ECE642: Detection and Estimation Theory
Example 2: Neyman-Pearson Testing for Binary Channel
optimality as the design criteria.Let us revisit the binary channel problem with the Neyman-Pearson
Figure 4:
Binary Channel.
Neyman-Pearson test.This example will illustrate when we need randomization in the
ECE642: Detection and Estimation Theory
Example 2: An Assumption on the Binary Channel
For simplicity, let us assume that
λ 0
(^) λ
1
Then, we have
λ 1
(^) λ
0
λ 1
(^) λ
0
and
λ 0
(^) λ
1
(^) λ
1
λ
0
ECE642: Detection and Estimation Theory
Example 2: Binary Channel (ctd...)
From (15) and (16)
λ 1
(^) λ
0
<
(^) λ
1
λ 0
Then,
η
)
if
η
λ 1
1 − λ 0
λ 0
if
λ 1
1 − λ 0 ≤ η < 1 − λ 1
λ 0
if
η ≥ 1 − λ 1
λ 0
A plot of (18) looks like ...
ECE642: Detection and Estimation Theory
Example 2: Neyman-Pearson threshold for Binary Channel
By inspection of this plot, the desired threshold
η
0
for an
α
−
level
test can be obtained as (recall that it is the smallest
η
for which
η )
≤
α
),
η 0
if
α
λ 1
1 − λ 0
if
λ 0 ≤ α < 1
1 − λ 1
λ 0
if 0
α
λ 0
ECE642: Detection and Estimation Theory
Example 2: Randomization for Neyman-Pearson Testing of Binary
Channel
Also by inspection, the
randomization constant
is given by (recall
that, it is given by
γ 0 = α − P 0 ( L ( Y
(^) )
η 0 )
P 0 ( L ( Y (^) )=
η 0 )
γ 0
arbitrary
if
α
α − P 0 ( L (
Y (^) )
λ 1
1 − λ 0 (^) )
P 0 ( L ( Y (^) )=
λ 1
1 − λ 0 (^) )
if
λ 0 ≤ α < 1
α − P 0 ( L (
Y (^) )
(^1) − λ 1
λ 0
)
P 0 ( L ( Y (^) )=
(^1) − λ 1
λ 0
)
if 0
α
λ 0
ECE642: Detection and Estimation Theory
Example 2: Neyman-Pearson Testing for Binary Channel: If
α
Now using (13), (19) and (20), the resulting Neyman-Pearson test is:
i)
If
α
(then, from (19),
η 0
=
δ ˜ NP
y )
if
L ( y ) > 0
γ 0
if
y ) =
if
L ( y ) < 0
But since
γ 0
is arbitrary when
α
1 (from (20)), we may choose
γ 0
=
1 in (21), so that the Neyman-Pearson test simplifies to:
δ˜ NP
y )
if
L ( y ) ≥ 0
if
L ( y ) < 0
ECE642: Detection and Estimation Theory
Neyman-Pearson Testing for Binary Channel: If
α
(ctd...)
If But using (13):
y
=
L ( y ) = λ 1
(^) λ
0
≥
(from (14))
Hence, from (22):
δ˜ NP
( y = 0 ) = 1
If
y = 1 : L ( y ) = 1
(^) λ
1
λ 0
(from (14))
Hence, from (22):
δ˜ NP
( y = 1 ) = 1
Thus, from (23) and (24):
δ˜
NP
( y ) = 1 ∀ y