Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
2
`n(2) = 0.347.
2
ANSWER: They later became Golden Earring.
2. Suppose X and Y are two random variables such that E[X] = 3, Var(X) = 4,
E[Y ] = 2, Var(Y ) = 9, and Cov(X, Y ) = 2.
(a) Find the correlation between 2X and 3Y .
ANSWER:
Cov(X, Y )
= q
= 1/3.
Var(2X)Var(3Y )
Var(X)Var(Y )
Corr(2X, 3Y ) = q
Cov(2X, 3Y )
Y = X?
ANSWER: The c.d.f. of Y is
= Pr(X y ) =
Z y2
0
3x2 dx
= y6.
Thus, the required p.d.f. is g(y) = 6y 5 , 0 y 1.
4. Suppose that f (x, y) = cxy if 0 < y < x < 1.
(a) Find c.
ANSWER: Use 1 =
R1Rx
0
cxy dy dx to get c = 8.
Rx
0
3
(c) Find Corr(X, Y ).
ANSWER: Using the usual methods, we have
4
,
5
E[X] =
Var(X) =
and
E[XY ] =
Thus,
2
,
75
Z 1Z x
0
Var(Y ) =
8x2 y 2 dy dx =
E[XY ] E[X]E[Y ]
8
,
15
E[Y ] =
Var(X)Var(Y )
11
,
225
4
.
9
= 0.492.
E[Y |x] =
<
yf (y|x) dy =
Then
Z x
2y 2
0
x2
2x
.
3
dy =
<
8
.
15
5. Suppose X is a discrete random variable whose only possible values are the nonnegative integers. Define the probability generating function of X by
gX (s) E[sX ] =
sk Pr(X = k).
k=0
d
ds
gX (s)|s=1 .
ANSWER:
d
d X
d
gX (s)|s=1 =
E[sX ]
= E
s
s=1
ds
ds
ds
= E Xs
s=1
X1
= E[X].
s=1
4
(b) If X Pois(), find gX (s). (You may need the fact that
k=0
y k /k! = ey .)
ANSWER:
gX (s) =
ke
k=0
k!
= e
X
(s)k
k=0
k!
= e(s1) .
(c) Suppose that X Pois(). Use the above two parts of the problem to find
E[X].
ANSWER:
E[X] =
gX (s)|s=1 = e(s1)
= .
s=1
ds
42
)
2
= (1) = 0.8413.
5
ANSWER: 2X1 X2 X3 Nor(2 1 1, 4 + 1 + 1) Nor(0, 6), so an easy
symmetry argument says that the desired probability is 1/2.
7. Quickie Probability Questions Just Write Your Answer.
(a) If X is a continuous random variable with p.d.f. f (x) = (1/2)ex/2 for x 0,
find E[X].
ANSWER: 2.
(c) TRUE or FALSE? The Law of the Unconscious Statistician states that, if g()
is a continuous function and X is a random variable, then E[g(X)] = g(E[X]).
ANSWER: False.
Z Z y
f (x, y) dx dy.
ANSWER: True. 2
(e) TRUE or FALSE? E[E(X|Y )] = E[X].
ANSWER: True.
6
Further suppose that the conditional p.d.f. of X given Y is
f (x|y) = 2x/y 2 , 0 x y 1.
Show your work on the following questions.
(a) Find f (x, y).
ANSWER: f (x, y) = f (x|y)fY (y) = 8xy, 0 x y 1.
R1
x
f (x, y) dy = 4x(1 x2 ), 0 x 1.
R1
0
Ry
0
xf (x|y) dx = 2y/3, 0 y 1.
(e) Use Part 8d to find E[X]. (This should match your answer in Part 8b.)
ANSWER: E[X] = E[E[X|Y ]] =
2
R1
0
E[X|y]fY (y) dy =
R1
0
(8/3)y 4 dy = 8/15.
R1R1
0
Var(X)Var(Y )
= 0.4924. 2
9. Given the following joint p.d.f.s (or other info), determine whether or not X and
Y must be independent. Just answer yes or no.
7
(a) g(x, y) = 2 e(x+y) , x > 0, y > 0.
ANSWER: Yes.
(e) Cov(X, Y ) = 0.
ANSWER: No.
= q
Var(X)Var(Y )
= 0.447. 2
8
11. Short Answer Questions.
(a) Suppose X has p.d.f. f (x) = 5x4 , 0 x 1. Find E[2X 5].
ANSWER: 2E[X] 5 = 10/3.
(b) If X again has p.d.f. f (x) = 5x4 , 0 x 1, find Var(2X 5).
ANSWER: 4Var(X) = 0.0793.
(c) Suppose X can equal 1 or 2, each with probability 1/2. Find E[`n(X)].
ANSWER:
1
2
`n(2) = 0.347.
(d) Suppose X has m.g.f. MX (t) = 0.3et + 0.7. Whats the distribution of X?
ANSWER: Bern(0.3).
(e) If X has m.g.f. 4/(4 t), for t < 4, find the m.g.f. of 2X 1.
ANSWER: 4et /(4 2t), t < 2.
(f) Suppose that X and Y are independent Exponential() random variables.
What is the m.g.f. of X + Y ?
ANSWER: (/( t))2 .
(g) Suppose X Exp(1/5). What is Pr(X > 7|X > 5).
ANSWER: By the memoryless property, Pr(X > 7|X > 5) = Pr(X > 2) =
e2/5 .
12. Dont forget to practice questions from your favorite distributions, e.g., from Homework 7 Bernoulli, binomial, geometric, negative binomial, Poisson, uniform, exponential, etc., etc.