Assignment 5
Assignment 5
4.1-8. In a smoking survey among boys between the ages of 12 and 17, 78% prefer to
date nonsmokers, 1% prefer to date smokers, and 21% don’t care. Suppose three such
boys are selected randomly. Let X equal the number who prefer to date nonsmokers and
Y equal the number who prefer to date smokers.
(a) Determine the joint pmf of X and Y . Be sure to include the support of the pmf.
(b) Find the marginal pmf of X. Again include the support.
(c) Are X and Y independent or dependent? Why or why not?
4.2-6. The joint pmf of X and Y is f (x, y) = 1/6, 0 6 x + y 6 2, where x and y are
nonnegative integers.
(a) Sketch the support of X and Y .
(b) Record the marginal pmfs fX (x) and fY (y) in the ”margins.”
(c) Compute Cov(X, Y ).
(d) Determine ⇢, the correlation coefficient.
5.6-8. Let X equal the weight in grams of a miniature candy bar. Assume that
µ = E(X) = 24.43 and 2 = Var(X) = 2.20. Let X̄ be the sample mean of a random
sample of n = 30 candy bars. Find
(a) E(X̄). (b) Var(X̄). (c) P (24.17 6 X̄ 6 24.82), approximately.
1
4 1 8
.
-
a )X =
{0
,
1 ,
2
. 3 }
o, 3
}
Y
= {
1 , 2 ,
XtY ≤ 3
! ”
β ]
*
-
x
P (x =
xi ( =
y) = ( 0 78 ) ( 0
. . 01 ) (0 .
21
} !(}
!
x x
y)!
- -
b)
marginal puf (
ofx
品( 0 ,0 )
+ P
3
(
0, 1 ) + P(
P
0
,
2
)+ P( 0
, 3 )
3
=
(0 .
21 ) +
3 (0.
. 21 ) ( 0
.
01 )+3( 0 . 21 ) ( 0 01 .
) +
(0 . 01 )
= 0.
01064
F后r x =
1 ,
P( 1 2)
P (x =
1 ) =
P
(
1, 0
) + P (1 , 1 ) +
,
" 2
=
3 ① 78 ) (0 .
.
r 1 ) + 6(0 .
78 ) ( 0 01 ) ( 0 . ,
21 ) + 3 (0 78 ) (0 . .
01 )
= 0 .
113256
Forx =
2 ,
P (x =
2) = P (2 0) ,
+
P(2 1) ,
3 ) + 3 ( 0 78 P 10
P
=
( 78 ) ( 0
0 . .
21 .
. 01 )
= 0 .
401544
Forx 了 =
,
P (X =
3) =
P(3 ,
0 )
=
( 0 783 .
= 0 . 474552
c
) ∵ XtY ≤ 3
ifX =
3 ,
Y =
O
if Y =
3 ,
,
=O
.
iX and Y ave
dependent
4 .
2
-
0
) 2
)
(
1, 0
)
0
1, 1
( (
b)
marginal pufofX
fx ( 0 ) =
f ( 0 0) + f ( 0 1 ) + f ( 0 , , ,
2)
+ 吉告
Ʃ
fx ( 1 ) =
f( 1
, 0 ) +f ( 1
, )
坑
冷
二
二
二
方
方
fx ( r) f ( 2 =
,
0 )
㓉
ofY
marginal puf
fy (o ) f ( 0 = , 0) +f ( 1 ,
0 ) + f (2 ,
0
)
=
+ 六坑
÷
fy ( 1 ) f(0 1 ) + f ( 1
=
, ,
1)
它 六
冷
f< ( ) f ( 0
2 2)
=
,
÷
) E(X )
c = 0 ×Ʃ+ 1 ×
号 + 2x 台
号
E (Y ) = O ×Ʃ+ 1× 号 +2 它 ×
ELX 疆0x 0
x 安 tox 1
×÷+ O ×2 × 6 + 1 × 0
× 6 + 1 * 1
× 6 +2 x 0 号
它
ω v (x ( ) ,
=
E ( X4 ) -
E (x ) EY )
台 (信号 )
考
d) E (X ) 号 2×
( P
=
62×Ʃ+ 1 × +
= 1
2
Var ( x) = E ( X^>) -
E (x )
1
=
1 - 号影
号
^×Ʃ+ <× + 22 它
)
(Y2
E
= 0 1 号 ×
= 1
Var (Y ) = E(Y ) E( YF -
= 1- (
号
ωv (x , Y )
9 -
)
varlx) -vary
—
号
—
-
)Y mim ( ,X ,λ s
Exp ( 3λ )
~
5 3
.
-
12 =
X
2
)
.
Y ~
Exp ( 3 )
F< ( y ) = 1 ny
-
e
-
e
3y
= 1 -
3 2
Fy ( 2 ) =|
-
2)
-
P(Y < = -
e
-
6
=
1 -
e
二
方
二
、
二
二
二
二
方
一
十
31
P ( Yc 1 ) Fy ( 1 )= 1
-
= -
e
凸
=
1 -
P ( KYC 2) =
P (Y < 2) -
P (Y< 1 )
3
il
+
e
3 6
P ( < min ( X , )
-
x 2
,
λs ) < 2 =
e
-
5 6 -
8 a ) E (T ) = 24 .
43
3
.
b ) Var ( T) =
2 20 .
×
30 -
1
= 2 ,
27586207
c
) P (24 17 ,
≤ T ≤ 24 82) .
arn )
24 .
P (17
≤24 . 82 -
≤ 2
- 286
=
=
P ( 0 1723 ≤ 2 ≤ 0 1585 )
-
. .
= 0 0675 + 0
.
1026 .
= 0 .
1701