Docsity

Calculating Probabilities & Expectations from Joint & Marginal Distributions, Assignments of Probability and Statistics

Toggle sidebar
bg1
Math 5010-1, Spring 2005
Assignment 8
Problems
#2, p. 290.
(a) Write p(x, y) = P{X1=x, X2=y}, and Riand Wifor the events that the ith
draw is respectively red or white. Note that
p(0,0) = P(R2| R1)P(R1) = 7
12 ×8
13
p(0,1) = P(R1)P(W2| R1) = 8
13 ×5
12,
p(1,0) = P(W1)P(R2| W1) = 5
13 ×8
12,
p(1,1) = P(W1)P(W2| W1) = 5
13 ×4
12.
(b) Next, write p(a, b, c) = P{X1=a, X2=b, X3=c}to find that
p(0,0,0) = 8
13 ×7
12 ×6
11,
p(0,0,1) = 8
13 ×7
12 ×5
11,
p(0,1,0) = 8
13 ×5
12 ×7
11,
p(1,0,0) = 5
13 ×8
12 ×7
11,
p(1,0,1) = 5
13 ×8
12 ×4
11,
p(1,1,0) = 5
13 ×4
12 ×9
11,
p(0,1,1) = 8
13 ×5
12 ×4
11,
p(1,1,1) = 5
13 ×4
12 ×3
11.
[These are it, because of the principle of counting.]
#8, p. 290.
(a) Want RRf(x, y)dx dy = 1. In this case, dx dy is easier to compute. So,
Z∞
−∞ Z∞
−∞
f(x, y)dx dy =cZ∞
0Zy
−y
(y2−x2)e−ydx dy
=cZ0∞2y3−2
3y3e−ydy
=4c
3Z∞
0
y3e−ydy =4c
3Γ(4).
1
pf3
pf4

Partial preview of the text

Download Calculating Probabilities & Expectations from Joint & Marginal Distributions and more Assignments Probability and Statistics in PDF only on Docsity!

Math 5010-1, Spring 2005 Assignment 8

Problems

#2, p. 290. (a) Write p(x, y) = P {X 1 = x, X 2 = y}, and Ri and Wi for the events that the ith draw is respectively red or white. Note that

p(0, 0) = P (R 2 | R 1 )P (R 1 ) =

×

p(0, 1) = P (R 1 )P (W 2 | R 1 ) =

×

p(1, 0) = P (W 1 )P (R 2 | W 1 ) =

×

p(1, 1) = P (W 1 )P (W 2 | W 1 ) =

×

(b) Next, write p(a, b, c) = P {X 1 = a, X 2 = b, X 3 = c} to find that

p(0, 0 , 0) =

×

×

p(0, 0 , 1) =

×

×

p(0, 1 , 0) =

×

×

p(1, 0 , 0) =

×

×

p(1, 0 , 1) =

×

×

p(1, 1 , 0) =

×

×

p(0, 1 , 1) =

×

×

p(1, 1 , 1) =

×

×

[These are it, because of the principle of counting.]

#8, p. 290. (a) Want

f (x, y) dx dy = 1. In this case, dx dy is easier to compute. So, ∫ (^) ∞

−∞

−∞

f (x, y) dx dy = c

0

∫ (^) y

−y

(y^2 − x^2 )e−y^ dx dy

= c

2 y^3 −

y^3

e−y^ dy

4 c 3

0

y^3 e−y^ dy = 4 c 3

Γ(4) = 3! = 6. Therefore, c = 1/8. (b) First fX : fX (x) =

|x|

y^2 − x^2

e−y^ dy (−∞ < x < ∞)

|x|

y^2 e−y^ dy − x^2

|x|

e−y^ dy

|x|

y^2 e−y^ dy − x^2 e−|x|

The remaining integral is computed by two applications of integration-by-parts: ∫ y^2 e−y^ dy = −y^2 e−y^ + 2

ye−y^ dy

= −y^2 e−y^ + 2

[

−ye−y^ +

e−y^ dy

]

= −y^2 e−y^ − 2 ye−y^ − 2 e−y^. Therefore,

fX (x) =

[

x^2 e−|x|^ + 2|x|e−|x|^ + 2e−|x|

]

(−∞ < x < ∞).

The fY -computation is easier:

fY (y) =

∫ (^) y

−y

y^2 − x^2

e−y^ dx

y^3 e−y^ −

y^3 e−y^ (y > 0).

(c) E[X] =

−∞ xfX^ (x)^ dx, so^ E[X] = 0 by symmetry. #14, p. 291. Let X and Y denote the distance to 0 of the accident and the ambulance, respec- tively. We know that X and Y are independent, both uniformly distributed on [0, 1]. Therefore,

fX (x) =

1 /L, if 0 < x < L 0 , otherwise ,^ and^ fY^ (y) =

1 /L, if 0 < y < L, 0 , otherwise. Thanks to independence,

f (x, y) =

1 /L^2 , if 0 < x < L and 0 < y < L, 0 , otherwise. Therefore, for all 0 < a < L,

P {|X − Y | ≤ a} =

R

f (x, y) dx dy,

Because fX (x)fY (y) = f (x, y), X and Y are independent. Theoretical Exercises

#14, p. 297. This was worked out during lecture.