Docsity

Problem Set 10 Solutions - Probability with Engineering Application | ECE 313, Assignments of Statistics

Toggle sidebar
bg1
University Problem Set #10: Solutions ECE 413
of Illinois Page 1 of 1 Fall 2004
67.(a) In the figure below, I use to denote a probability mass of 1/12 and • to denote a probability mass of 1/6.
2
1
3
-1
123 4 5
4
(a) p
X(0) = 1/6 + 1/12 = 1/4, pX(1) = 1/3, pX(3) = 1/4, pX(5) = 1/6.
p
Y(–1) = 2×1/12 + 1/6 = 1/3, pY(3) = 1/3, pY(4) = 1/3.
(b) Since, for example, pX(3)pY(3) = (1/3)×(1/4) =1/12 ≠ pX,Y(3,3) = 0, the random variables are not
independent. We can also see this via the eyeball test: there are empty spots in the grid.
(c) P{X ≤ Y} = pX,Y(0,3) + pX,Y(1,3) + pX,Y(1,4) + pX,Y(3,4) = 1/2.
P{X + Y ≤ 8} = 1 – pX,Y(5,4) = 11/12.
(d) Given Y = 3, X takes on values 0, 1 and 5 with conditional probabilities (1/6)/(1/3), (1/12)/(1/3), and
(1/12)/(1/3), that is, 1/2, 1/4 and 1/4 respectively. Hence, E[X|Y=3] = 0•(1/2) + 1•(1/4) + 5•(1/4) = 3/2,
and E[X2|Y=3] = 02•(1/2) + 12•(1/4) + 52•(1/4) = 26/4, giving var(X|Y=3) = 26/4 – 9/4 = 17/4.
68.(a) pX(i) = ΣpX,Y(i,j) = 2–(i–1)•(1/3)•[1 + 1/3 + (1/3)2 + …] = 2–i, i = 1, 2, ... . This is a geometric pmf with
parameter 1/2.
pY(j) = ΣpX,Y(i,j) = 3–j× [1 + (1/2) + (1/2)2 + …] = 3–j×2 = (2/3)(1/3)j–1, j = 1, 2, ... . This is a geometric
pmf with parameter 2/3.
(b) p
X|Y(i|k) = pX,Y(i,k)/pY(k) = 2–(i–1)3–k/3–k×2 = 2–i, i = 1, 2, ... This is a geometric pmf with parameter
1/2.
(c) Yes, X and Y are independent random variables since pX,Y(i,j) = 2–(i–1)3–j = pX(i)pY(j) = 2–i× 3–j×2. This
can also be deduced from the fact that the conditional pmf of X is the same as the unconditional pmf.
69. See also Lecture 31. The pmf of Y is Poisson with parameter λp. If Y = k, then there must have been at
least k α-particles emitted by the source, i.e. we know that X takes on values k and larger only. It turns out
that, conditioned on Y = k, we can express X as k + Z where Z is a Poisson random variable with
parameter λ(1–p). The conditional pmf of X given Y = k is thus a Poisson pmf shifted k places to the
right: P{X = k+n} = exp(–λ(1–p))[λ(1–p)]n/n! for n = 0, 1, 2, …
70. The joint pdf is nonzero on the quarter-plane shown. For v > 0, the pdf of Y is given by
fY(v) = ⌡
⌠
u=–v
v
c•(v2–u2)•exp(–v)du = c•[v2u–u3/3]•exp(–v)⎪
⎪
⎪v
–v
= c•(4/3)•v3•exp(–v). We recognize this as a
gamma pdf with parameters (4,1) which gives us that c•(4/3) = 1/Γ(4) = 1/3! and thus c = 1/8.
For u > 0, fX(u) = ⌡
⌠
v=u
∞
(1/8)•(v2–u2)•exp(–v)dv = (1/8) •(–v2 –2v – 2 + u2))•exp(–v)⎪
⎪
⎪∞
u
= (1/4)•(1+u)•exp(–
u) while for u < 0, the integral is from v = -u to ∞. Thus, we get fX(u) = (1/4)•(1+|u|)•exp(–|u|).

Partial preview of the text

Download Problem Set 10 Solutions - Probability with Engineering Application | ECE 313 and more Assignments Statistics in PDF only on Docsity!

University Problem Set #10: Solutions ECE 413 of Illinois Page 1 of 1 Fall 2004

67.(a) In the figure below, I use to denote a probability mass of 1/12 and • to denote a probability mass of 1/6.

2

1

3

1 2 3 4 5

4

(a) p X (0) = 1/6 + 1/12 = 1/4, p X (1) = 1/3, p X (3) = 1/4, p X (5) = 1/6. p Y (–1) = 2×1/12 + 1/6 = 1/3, p Y (3) = 1/3, p Y (4) = 1/3. (b) Since, for example, p X (3)p Y (3) = (1/3)×(1/4) =1/12 ≠ p X , Y (3,3) = 0, the random variables are not independent. We can also see this via the eyeball test: there are empty spots in the grid. (c) P{ X ≤ Y } = p X , Y (0,3) + p X , Y (1,3) + p X , Y (1,4) + p X , Y (3,4) = 1/2. P{ X + Y ≤ 8} = 1 – p X , Y (5,4) = 11/12. (d) Given Y = 3, X takes on values 0, 1 and 5 with conditional probabilities (1/6)/(1/3), (1/12)/(1/3), and (1/12)/(1/3), that is, 1/2, 1/4 and 1/4 respectively. Hence, E[ X | Y =3] = 0•(1/2) + 1•(1/4) + 5•(1/4) = 3/2, and E[ X^2 | Y =3] = 0 2 •(1/2) + 1 2 •(1/4) + 5 2 •(1/4) = 26/4, giving var( X | Y =3) = 26/4 – 9/4 = 17/4.

68.(a) p X (i) = Σp X , Y (i,j) = 2 –(i–1)•(1/3)•[1 + 1/3 + (1/3) 2 + …] = 2–i^ , i = 1, 2, .... This is a geometric pmf with parameter 1/2. p Y (j) = Σp X , Y (i,j) = 3 –j× [1 + (1/2) + (1/2) 2 + …] = 3–j×2 = (2/3)(1/3) j–1^ , j = 1, 2, .... This is a geometric pmf with parameter 2/3. (b) p X | Y (i|k) = p X , Y (i,k)/p Y (k) = 2 –(i–1) 3 –k^ /3 –k×2 = 2 –i^ , i = 1, 2, ... This is a geometric pmf with parameter 1/2. (c) Yes, X and Y are independent random variables since p X , Y (i,j) = 2 –(i–1) 3 –j^ = p X (i)p Y (j) = 2 –i× 3 –j×2. This can also be deduced from the fact that the conditional pmf of X is the same as the unconditional pmf.

69. See also Lecture 31. The pmf of Y is Poisson with parameter λp. If Y = k, then there must have been at least k α-particles emitted by the source, i.e. we know that X takes on values k and larger only. It turns out that, conditioned on Y = k, we can express X as k + Z where Z is a Poisson random variable with parameter λ(1–p). The conditional pmf of X given Y = k is thus a Poisson pmf shifted k places to the right: P{ X = k+n} = exp(–λ(1–p))[λ(1–p)]n^ /n! for n = 0, 1, 2, … 70. The joint pdf is nonzero on the quarter-plane shown. For v > 0, the pdf of Y is given by

f Y (v) = ⌡⌠

u=–v

v c•(v 2 –u 2 )•exp(–v)du = c•[v 2 u–u 3 /3]•exp(–v)

⎪v

–v

= c•(4/3)•v 3 •exp(–v). We recognize this as a

gamma pdf with parameters (4,1) which gives us that c•(4/3) = 1/Γ(4) = 1/3! and thus c = 1/8.

For u > 0, f X (u) = ⌡⌠

v=u

∞ (1/8)•(v 2 –u 2 )•exp(–v)dv = (1/8) •(–v 2 –2v – 2 + u 2 ))•exp(–v)

u

= (1/4)•(1+u)•exp(–

u) while for u < 0, the integral is from v = -u to ∞. Thus, we get f X (u) = (1/4)•(1+|u|)•exp(–|u|).