Professional Documents
Culture Documents
5.1 Contracts for two construction jobs are randomly assigned to one or more of three firms, A,
B, and C. Let Y1 denote the number of contracts assigned to firm A, and Y2 the number of
contracts assigned to firm B. Recall that each firm can receive 0, 1, or 2 contracts.
Solution. (a) Let’s list all nine possible assignments of construction jobs to the three firms:
AA, AB, AC, BA, BB, BC, CA, CB, CC. (The first symbol signifies the selection for the
first job, the second — for the second one). These assignments are equally likely. Hence, the
probability of each of them is 1/9. Now, let’s determine the values of Y1 and Y2 in each case:
Assignment (y1 , y2 ) p(y1 , y2 )
AA (2, 0) 1/9
AB (1, 1) 1/9
AC (1, 0) 1/9
BA (1, 1) 1/9
BB (0, 2) 1/9
BC (0, 1) 1/9
CA (1, 0) 1/9
CB (0, 1) 1/9
CC (0, 0) 1/9
To find the joint probability function for Y1 and Y2 , we need to rearrange these data into the
following table:
y1
0 1 2
0 1/9 2/9 1/9
y2 1 2/9 2/9 0
2 1/9 0 0
(b) Compute
2 1 1
F (1, 0) = P (Y1 ≤ 1, Y2 ≤ 0) = p(0, 0) + p(1, 0) = + = . ¤
9 9 3
Stat 366 Lab 3 Solutions (September 26, 2006) page 2
5.6 Let Y1 and Y2 have the joint probability density function given by
k y1 y2 , 0 ≤ y1 ≤ 1, 0 ≤ y2 ≤ 1,
f (y1 , y2 ) =
0, elsewhere.
(a) Find the value of k that makes this a probability density function.
(b) Find the joint distribution function for Y1 and Y2 .
(c) Find P (Y1 ≤ 1/2, Y2 ≤ 3/4).
Let’s compute:
Z Z Z µ ¶ Z
1 1 1
y12 ¯¯1 k 1 k
1=k y1 y2 dy1 dy2 = k y2 ¯ dy2 = y2 dy2 = .
0 0 0 2 y1 =0 2 0 4
So, overall
1, y1 ≥ 1, y2 ≥ 1,
y2y2, 0 ≤ y1 ≤ 1, 0 ≤ y2 ≤ 1,
1 2
F (y1 , y2 ) = y12 , 0 ≤ y1 ≤ 1, y2 ≥ 1,
y22 , 0 ≤ y2 ≤ 1, y1 ≥ 1,
0, y1 ≤ 0, y2 ≤ 0.
¡ 1 ¢2 ¡ 3 ¢2 9
(c) We have P (Y1 ≤ 1/2, Y2 ≤ 3/4) = F (1/2, 3/4) = 2 4
= 64
. ¤
Stat 366 Lab 3 Solutions (September 26, 2006) page 3
5.12 Suppose that the random variables Y1 and Y2 have joint probability density function f (y1 , y2 )
given by
6y 2 y2 , 0 ≤ y1 ≤ y2 , y1 + y2 ≤ 2,
1
f (y1 , y2 ) =
0, elsewhere.
Now, to find the probability P (Y1 + Y2 < 1) we need to evaluate the following integral:
Z 1/2 Z 1−y1 Z 1/2 ¡ ¢
6y12 y22 dy2 dy1 = 3y12 (1 − y1 )2 − y12 dy1
0 y1 0
Z 1/2
3 4 ¯¯1/2 1 3 1
= (3y12 − 6y13 ) dy1 = y13 − y1 ¯ = − = . ¤
0 2 0 8 32 32
5.14 Let Y1 and Y2 denote the proportions of time (out of one working day) during which employees
I and II, respectively, perform their assigned tasks. The joint relative frequency behavior of
Y1 and Y2 is modeled by the density function
y1 + y2 , 0 ≤ y1 ≤ 1, 0 ≤ y2 ≤ 1,
f (y1 , y2 ) =
0, elsewhere.
Solution. This is almost a pure integration technique problem. For the first probability
consider the integral
Z 1 Z 1/2 Z 1 Z 1/2 Z 1 Z 1/2
(y1 + y2 ) dy1 dy2 = y1 dy1 dy2 + y2 dy1 dy2
1/4 0 1/4 0 1/4 0
Z Z
3 1/2
1 1
3 1 ³ 1 ´2 1 1 ³ ³ 1 ´2 ´ 21
= y1 dy1 + y2 dy2 = · · + · · 1− = .
4 0 2 1/4 4 2 2 2 2 4 64
Solution. (a) Refer to the table in the solution to Exercise 5.1 (a) above. To find the marginal
probability distribution of Y1 , we just need to add up numbers in respective columns of that
table. We have
4 1
P (Y1 = 1) = , P (Y2 = 2) = .
9 9
¡ 2 ¢ ¡ 1 ¢y1 ¡ 2 ¢2−y1
(b) If Y1 is binomial with such parameters, then it must be p(y1 ) = y1 3 3
. We can
easily check that this equality holds for y1 = 0, 1, 2. Hence, no conflict. ¤
Stat 366 Lab 3 Solutions (September 26, 2006) page 5
Because the joint density is symmetric in y1 and y2 , the other marginal density is
f2 (y2 ) = 2y2 , 0 ≤ y2 ≤ 1.
f (y1 , y2 ) 4y1 y2
f1 (y1 |Y2 = y2 ) = f1 (y1 |y2 ) = = = 2y1 .
f (y2 ) 2y2
f (y1 , y2 ) 4y1 y2
f2 (y2 |Y1 = y1 ) = f2 (y2 |y1 ) = = = 2y2 .
f (y1 ) 2y1
(e) Since we already know the conditional density f1 (y1 |y2 ), we can use it now:
³ Z ¯ Z 3/4
3 1´ 3/4 ³
¯ 1´ 9
P Y1 ≤ | Y2 = = f1 y1 ¯ Y2 = dy1 = 2y1 dy1 = . ¤
4 2 0 2 0 16
Stat 366 Lab 3 Solutions (September 26, 2006) page 6
(a) Show that the marginal density of Y1 is a beta density with α = 3 and β = 2.
(b) Derive the marginal density of Y2 .
(c) Derive the conditional density of Y2 given Y1 = y1 .
(d) Find P (Y2 < 1.1 | Y1 = .60).
Second, 1 ≤ y2 ≤ 2: Z 2−y2
6y12 y2 dy1 = 2y2 (2 − y2 )3 .
0
(c) We have
y2
f (y1 , y2 )
, y 1 ≤ y2 ≤ 2 − y1 ,
f2 (y2 |y1 ) = = 2 − 2y1
f1 (y1 )
0, elsewhere.
(d) Let’s use the result in (c): we know that y1 = .60. So,
y2
f2 (y2 |y1 = .60) = , .6 ≤ y2 ≤ 1.4.
.8