

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!


SOLUTION (a) The likelihood ratio is Λ(n) = e
− 33 n/n! e−^11 n/n! =^
3 n e^2 ≈^
3 n
π 0 π 1 for all^ n^ ≥^ 0? The likelihood ratio is minimized by n = 0, and the minimum value is (^) e^12. So if (^) e^12 > π π^01 , or equivalently, π 0 < (^) 1+^1 e 2 ≈ (^81). 4 , then the MAP rule will always declare H 1. (c) The likelihood ratio is (e
− 33 n (^1) /n 1 !)(e− 33 n (^2) /n 2 !) (e−^11 n^1 /n 1 !)(e−^11 n^2 /n 2 !) ,^ =^
3 n^1 +n^2 e^4 ≈^
3 n^1 +n^2 54 and the MAP threshold is π 0 π 1 = 4. Therefore, the map rule is to decide^ H^1 if and only if^
3 n^1 +n^2 54 >^ 4 or, equivalently, if and only if n 1 + n 2 ≥ 5.
ceu^ if 0 ≤ u ≤ 4 0 else. For all parts of this problem, you can use terms such as e^4 in your answer. Numerical values are not required. (a) [2 points] Sketch fX. (b) [6 points] Find the constant c. (c) [6 points] Find P (X ≥ 3 | 2 ≤ X ≤ 6). (d) [6 points] Find P (2 ≤ X ≤ 6 | X ≥ 3).
SOLUTION (a)
c 0
f (u) X
u
ce
4
4
(b) 1 =
0 ce
udu = c(e (^4) − 1) so that c = 1 e^4 − 1. (c) P ({X ≥ 3 } ∩ { 2 ≤ X ≤ 6 }) = P (3 ≤ X ≤ 6) = P (3 ≤ X ≤ 4) =
3 ce
udu = c(e (^4) − e (^3) )
and P (2 ≤ X ≤ 6) = P (2 ≤ X ≤ 4) =
2 ce udu = c(e (^4) − e (^2) ).
So, P (X ≥ 3 | 2 ≤ X ≤ 6) = e (^4) −e 3 e^4 −e^2 =^
e^2 −e e^2 − 1 =^
e(e−1) (e+1)(e−1) =^
e e+. (d) P ({ 2 ≤ X ≤ 6 } ∩ {X ≥ 3 }) = P (3 ≤ X ≤ 6) = P (3 ≤ X ≤ 4) and P (X ≥ 3) = P (3 ≤ X ≤ 4). So, P (2 ≤ X ≤ 6 | X ≥ 3) = 1.
SOLUTION (a) The interarrival time in a Poisson process with arrival rate λ (time between two successive chalk breaks on this instance) is an exponential random variable with parameter λ. Hence, the average length of time between successive chalk-breaks is the mean of this exponential random variable, which is λ−^1 = 5 minutes. (b) The number of times that the professor breaks the chalk during a 50 minute lecture is a Poisson random variable N (0, 50] with parameter λ × 50 = 10 and mean value E[N (0, 50]] = 10. (c) Given the total number is 8, the times of the breaks can be considered to be independent and uniform over the 50 minute period. Thus, each of the 8 is broken in the first 30 minutes with probability 30/50=0.6, and the conditional distribution of the number broken in the first 30 minutes is binomial with parameters n = 8 and p = 30/50 = 0.6. So P (N (0, 30] = 3|N (0, 50] =
3
3 } (or, nearly equivalently, P {X < 8. 27 }) for the following two choices of distribution type: (a) [8 points] Assuming X is a Gaussian random variable. (b) [8 points] Assuming X is a uniform random variable.
SOLUTION (a) If X is Gaussian, P {X < 10 −
(b)A random variable uniformly distributed on [a, b] has mean
a + b 2 and variance
(b − a)^2 12
. Hence,
we have that b − a = 6, and a + b = 20, giving a = 7, b = 13. That is, X is uniformly distributed over [7, 13]. Therefore, P {X < 8. 27 } = 8.^276 − 7 ≈ 0. 211.
SOLUTION (a) The pdf is shown.
1/ ! 2 4! 2 4
− 2
−u du +
0
u du
−u^2 2
0
− 2
u^2 2
4
0
(b) Y = |Z| takes on values in [0, 4], and hence FY (v) = 0 for v < 0 and FY (v) = 1 for v > 4. If 0 ≤ v ≤ 2 , FY (v) = P {Y ≤ v} = P {−v ≤ Z ≤ v} = v/ 3 ⇒ fY (v) = 1/ 3. If 2 ≤ v ≤ 4 , FY (v) = P {Y ≤ v} = P {Z ≤ v} = (v + 2)/ 6 ⇒ fY (v) = 1/ 6. Else, v < 0 or v > 4, and fY (v) = 0.
f (v)
2
1/ 1/ 0 4
v
Y