Docsity

Test #2 Solutions for ISyE 6739 - Summer 2002, Exams of Data Analysis & Statistical Methods

Toggle sidebar
bg1
1
ISyE 6739 — Test #2 Solutions
Summer 2002
This test is open notes, open books. You have exactly 90 minutes.
1. Quickie Probability Questions — Just Write Your Answer.
(a) If Xis a continuous random variable with p.d.f. f(x) = (1/2)e−x/2for x≥0,
find E[X].
ANSWER: 2. 2
(b) Suppose that Xhas m.g.f. MX(t) = pet+q. What’s E[X]?
ANSWER: M0
X(t) = pet|t=0 =p.2
(c) TRUE or FALSE? The Law of the Unconscious Statistician states that, if g(·)
is a continuous function and Xis a random variable, then E[g(X)] = g(E[X]).
ANSWER: False. 2
(d) TRUE or FALSE? If Xand Yare independent continuous RV’s, then
Pr(X≤Y) = Z∞
−∞ Zy
−∞
f(x, y)dx dy.
ANSWER: True. 2
(e) TRUE or FALSE? E[E(X|Y)] = E[X].
ANSWER: True. 2
(f) If X∼Exp(3), what is its moment generating function?
ANSWER: 3/(3 −t), for t < 3. 2
pf3
pf4

Partial preview of the text

Download Test #2 Solutions for ISyE 6739 - Summer 2002 and more Exams Data Analysis & Statistical Methods in PDF only on Docsity!

ISyE 6739 — Test #2 Solutions

Summer 2002

This test is open notes, open books. You have exactly 90 minutes.

  1. Quickie Probability Questions — Just Write Your Answer. (a) Iffind X Eis a continuous random variable with p.d.f.[X]. f (x) = (1/2)e−x/^2 for x ≥ 0, ANSWER: 2. 2 (b) Suppose that X has m.g.f. MX (t) = pet^ + q. What’s E[X]? ANSWER: M (^) X′ (t) = pet|t=0 = p. 2 (c) TRUE or FALSE? The Law of the Unconscious Statistician states that, ifis a continuous function and X is a random variable, then E[g(X)] = g(E[ (^) Xg(]).·) ANSWER: False. 2 (d) TRUE or FALSE? If X and Y are independent continuous RV’s, then Pr(X ≤ Y ) =^ ∫^ −∞∞^ ∫^ −∞y f (x, y) dx dy. ANSWER: True. 2 (e) TRUE or FALSE? E[E(X|Y )] = E[X]. ANSWER: True. 2 (f) If X ∼ Exp(3), what is its moment generating function? ANSWER: 3/(3 − t), for t < 3. 2
  1. Suppose that Y is a random variable with p.d.f. fY (y) = 4y^3 , 0 ≤ y ≤ 1. 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. 2 (b) Find fX (x). ANSWER: fX (x) = ∫^ x^1 f (x, y) dy = 4x(1 − x^2 ), 0 ≤ x ≤ 1. 2 (c) Use Part 2b to find E[X]. ANSWER: E[X] = ∫^01 xfX (x) dx = 8/15. 2 (d) Find E[X|y]. ANSWER: E[X|y] = ∫^0 y xf (x|y) dx = 2y/3, 0 ≤ y ≤ 1. 2 (e) Use Part 2d to find E[X]. (This should match your answer in Part 2b.) ANSWER: 2 E[X] = E[E[X|Y ]] = ∫^01 E[X|y]fY (y) dy = ∫^01 (8/3)y^4 dy = 8/15.

(f) Find the correlation between X and Y. ANSWER: Var(X) = 11 (^) /After the usual algebra, we get225, E[Y ] = 4/5, E[Y 2 ] = 2/3, Var E(Y[X ) = 2] = 8/75./15, E[X^2 ] = 1/3, Further, E[XY ] = ∫^01 ∫^ x^1 8 x^2 y^2 dy dx = 4/9, so that ρ = E[^ √XY Var^ ]^ (−X^ E)Var[X](EY[ Y) ] = 0. 4924. 2

  1. Suppose that E(X) = 3, E(Y ) = 2, Var(X) = 5, Var(Y ) = 4, and Cov(X, Y ) = −2. (a) Find E(2X + 3Y ). ANSWER: 2E[X] + 3E[Y ] = 12. 2 (b) Find Var(2X + 3Y ). ANSWER: 12 Cov(X, Y (^) ) = 32. 4 Var(X ) + 9 2 Var(Y ) + 2Cov(2X, 3 Y ) = 4 Var(X) + 9Var(Y ) +

(c) Find the correlation between X and Y. ANSWER: We have ρ = √ VarCov(X(X, Y)Var^ )(Y ) = − 0. 447. 2