

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
x =
n=
x(n) ∼
σ^2 N
, under H 0
A, σ
2 N
, under H 1
PF A = P r{|x| > γ | H 0 }
= Q(γ/
σ^2 /N ) +
1 − Q(−γ/
σ^2 /N )
= 2Q(γ/
σ^2 /N )
1
2
PF A = Q(γ/
σ^2 /N )
and hence
γ =
σ^2
N
− 1
Then
PD = P r{|x| > γ | H 1 }
γ − A √ σ^2 /N
−γ − A √ σ^2 /N
γ − A √ σ^2 /N
γ + A √ σ^2 /N
− 1
σ^2
− 1
σ^2
x ∼
σ^2 N
, under H 0
σ^2 N
, under H 1
and
PF A = P r{|x| > γ | H 0 }
= 2Q(γ/
σ^2 /N ),
with
γ =
σ^2
N
− 1
(Note that this doesn’t depend on A.)
To determine
PD = P r{|x| > γ | H 1 }
we first derive an expression for p(x; H 1 ) starting from
p(x; H 1 ) =
−∞
p(x; A, H 1 )p(A)dA
and then simplifying.
p(x; A, H 1 ) =
2 πσ^2 /N
exp
σ^2 N
)(x − A) 2
p(x; H 1 ) =
−∞
2 πσ A^2
2 πσ^2 /N
exp
σ^2 N
)(x − A) 2
exp
2 σ^2 A
2
dA
−∞
2 πσ A^2
2 πσ^2 /N
exp
2 σ B^2
σ^2 B ( σ^2 N
)x
σ^2 /N
σ^2 B ( σ^2 N
x 2
(^) dA
where
σ 2 B =^
1 σ^2 /N +^
1 σ^2 A
and note that
1 ( σ^2 N
σ 2 B ( σ^2 N
) 2 =^ σ
2 B
σ B^2
σ^2 N
σ^2 N
= σ 2 B
σ^2 N
σ^2 A
σ^2 N
σ^2 N
σ^2 B
σ^2 A
σ^2 N
Hence,
p(x; H 1 ) =
2 πσ^2 B √ 2 πσ A^2
2 π
σ^2 N
) exp
σ^2 B
σ^2 A
σ^2 N
x 2
−∞
2 πσ^2 B
exp
2 σ^2 B
σ B^2 ( σ^2 N
)x
(^) dA
2 π
σ^2 A
σ^2 N
σ^2 B
exp
σ^2 A
σ^2 N
σ B^2
x 2