


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!



Homework Assignment # Solutions
d 0 , Λ(x) < 1 d 1 , Λ(x) > 1 with
Λ(x) = e−|x−A| e−|x| = e|x|−|x−A|
eA, x > A e^2 x−A, 0 < x < A e−A, x < 0 Therefore we use d(x) =
d 0 , x > A/ 2 d 1 , x < A/ 2 The detection probability is
PD =
A/ 2
e−|x−A|dx
−A/ 2
e−|x|dx
0
e−xdx
=
1 − e−A/^2
e−A/^2.
Thus, PD = 1 − 12 e−A/^2. The false alarm rate is
PF A =
A/ 2
e−|x|dx
=
e−A/^2.
Thus, PF A = 12 e−A/^2.
Λ(x) = e−|x−A| e−|x| = e|x|−|x−A|
eA, x > A e^2 x−A, 0 < x < A e−A, x < 0 but now the decision rule is
d(x) =
d 0 , Λ(x) < γ d 1 , Λ(x) > γ with γ to be determined to make PF A = 0.1. Since Λ(x) increases monotonically with x, we can see that no matter what the value of γ, the decision rule will take the form
d(x) =
d 0 , x < x 0 d 1 , x > x 0 Noting that
PF A =
x 0
e−|x|dx
2 e
−x (^0) , x 0 > 0 1 − 12 e−|x^0 |, x 0 < 0 , solving for x 0 yields
x 0 =
− ln (2PF A) , PF A < 1 / 2 ln (2 (1 − PF A)) , PF A > 1 / 2.
The value of PD is PD =
x 0
e−|x−A|dx
yielding
PD =
2 e −(x 0 −A), x 0 > A 1 − 12 e−|x^0 −A|, x 0 < A. The test does not depend on A, because the form of the decision rule (which is in- dependent of A) makes the false alarm rate depend only on p(x|H 0 ), which has no dependence on A. Note, however, that PD does depend on A.
ln(Λ(x)) = ln(
π
x^2 + |x|
The plot of this function is the following.
For a given N , we can use equation (1) to determine the smallest γ that achieves PF A = 0.01 via
γ =
erfc−^1 (0.02).
Then, the smallest value for A that achieves PD ≥ 0 .9 is found from equation (2) as
A = γ −
erfc−^1 (1.8).
Then N A^2 = 2
erfc−^1 (0.02) − erfc−^1 (1.8)
which is a constant independent of our choice of N. We can for instance choose N = 1 and then set A according to equation (3).