



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




(a) Find P (|X| ≤ 1).
10 pts Solution.
P (|X| ≤ 1) = P (− 1 ≤ X ≤ 1)
= P
(b) Write down the p.d.f. fX (x) of X. (The formula should be an explicit, elementary function of x; in particular, it should not involve Φ.) 10 pts Solution. The general formula for the density of a normal distribution with parameters μ and σ is f (x) = (1/
2 πσ)e−(x−μ) (^2) /(2σ (^2) )
. Here μ = 1, σ =
4 = 2, so
fX (x) =
2 π
exp
x − 1 2
, −∞ < x < ∞
(c) Let Y = eX^. Find the p.d.f. fY (y) of Y. (Again, the formula should be an explicit, elementary function of y.) 10 pts Solution. [This is a standard change-of-variables exercise, of much the same type as Problem 39, Chapter 5, from HW 7.] We start by computing the c.d.f. of Y : The range of Y is (0, ∞) (since Y = eX^ and X has range (−∞, ∞)), and for y in this range
(∗) FY (y) = P (Y ≤ y) = P (eX^ ≤ y) = P (X ≤ ln y) = Φ
ln y − 1 2
Differentiating, we get the density:
fY (y) =
d dy
ln y − 1 2
2 y
ln y − 1 2
2 y
2 π
exp
(ln y − 1)^2
2 y
2 π
e−(1/8)(ln^ y−1)
2 (0 < y < ∞)
Comments: The key to the solution is the relation (∗), which relates the c.d.f. of Y , FY (y), to the c.d.f. of X, and to the Φ-function. As emphasized in class and in hw solutions, the correct approach in change-of-variables problems for densities is via the corresponding c.d.f.’s. To earn credit on this problem, this key step has to be present. Simply substituting x = ln y into the formula for the density of X would be completely wrong, and although it leads to an answer that looks superficially similar to the correct answer, the approach is totally flawed.
(a) Find P (X ≥ 5 Y ). 10 pts Solution. [This is a variation of the “light-bulb race” problem from class, which asked for the probability P (X ≥ Y ), with X and Y having different exponential distributions.] Since an exponential distribution with parameter λ has mean μ = 1/λ, the parameter λ in the distribution of X and Y must be λ = 1/(1/10) = 10, and the joint c.d.f. is f (x, y) = fX (x)fY (y) = 10e−^10 x 10 e−^10 y, 0 < x < ∞, 0 < y < ∞. Hence,
P (X ≥ 5 Y ) =
y=
x=5y
10 e−^10 x 10 e−^10 ydydx
y=
e−^5 ·^10 y 10 e−^10 ydy
y=
10 e−^60 ydy =
Remark: The parameter λ in the exponential distribution is not equal to the mean μ, but the reciprocal: Thus, λ = 1/μ = 1/(1/10) = 10, and not λ = 1/10. While the final answer, 1/6, ends up being the same with the latter choice of λ, the argument is not correct if one works with λ = 1/10.
(b) Let Z be the maximum (i.e., larger) of X and Y. Find the density, fZ (z), of Z. 10 pts Solution. [This is a variation on Problem 49(b), Chapter 6 from HW 9, and an illustration of the max/min trick that came up in class on several occasions.] As usual, we first compute the c.d.f. FZ (z). We have FZ (z) = P (Z ≤ z) = P (max(X, Y ) ≤ z) = P (X ≤ z, Y ≤ z) (by the maximum trick) = P (X ≤ z)P (Y ≤ z) (by the independence of X and Y ) = (1 − e−^10 z^ )^2 , 0 ≤ z < ∞. Now take the derivative to get the p.d.f.: fZ (z) = F (^) Z′ (z) = 2(1 − e−^10 z^ )10e−^10 z^ = 20
e−^10 z^ − e−^20 z^
, 0 ≤ z < ∞
(c) Let S = X + Y. Find the density, fS (s), of S. 10 pts Solution. [This is just like HW Problem 27 in Chapter 6, but simpler, since the case distinction necessary in that hw problem is not needed here.] As in the hw problem, we use the convolution formula for the density of a sum of two independent random variables: We have, for s ≥ 0,
fS (s) =
x=−∞
fX (x)fY (s − x)dx
∫ (^) s
x=
10 e−^10 x 10 e−10(s−x)dx
= 100e−^10 s
∫ (^) s
x=
dx
= 100se−^10 s, 0 ≤ s < ∞
(b) Suppose X and Y are random variables such that Var(X + Y ) = 15 and Var(X − Y ) = 5. Find Cov(X, Y ). 8 pts Solution. [This is an exercise in using the properties of a covariance.] We have
Var(X + Y ) = Var(X) + Var(Y ) + 2 Cov(X, Y ), Var(X − Y ) = Var(X) + Var(−Y ) + 2 Cov(X, −Y ) = Var(X) + Var(Y ) − 2 Cov(X, Y ),
(since Var(−Y ) = Var(Y ) and Cov(X, −Y ) = − Cov(X, Y )). Subtracting these two equations and substituting the given values for Var(X + Y ) and Var(X − Y ), we get 15 − 5 = 4 Cov(X, Y ), so Cov(X, Y ) = 2..
(c) Suppose that X and Y are independent random variables with moment-generating functions
MX (t) = (1 − 2 t)−^2 , MY (t) = (1 − 2 t)−^3.
Find Var(X + Y ).
9 pts Solution. [This is a simplified form of Problem 9 from HW 10.] Since X and Y are independent, X + Y has mgf
MX+Y (t) = MX (t)MY (t) = (1 − 2 t)−^5.
Hence,
M (^) X′+Y (t) = 5 · 2(1 − 2 t)−^6 , M (^) X′+Y (0) = 10, M (^) X′′+Y (t) = 10 · 6 · 2(1 − 2 t)−^7 , M (^) X′′+Y (0) = 120, Var(X + Y ) = M (^) X′′+Y (0) − M (^) X′+Y (0)^2 = 120 − 102 = 20
Comments: (1) This problem was meant to be done in the same way as Problem 9 from HW 10, namely, using the multiplication property of mgf’s. With this method the calculations required are minimal. One could also compute separately Var(X) and Var(Y ) via the corresponding mgf’s, and adding up the two variances, but this requires much more calculation. (2) It is crucial that the derivatives of the moment-generating functions be evaluated at t = 0 to get the moments. Without plugging in t = 0 one would get a function of t as answer, which makes no sense since expectation and variance are numerical quantities and thus should not involve any variables.
(d) (True/false questions) For each of the following statements, indicate clearly whether the state- ment is true or false by placing a mark (T) (True) or (F) (False) next to the question; if you are unsure, leave the answer blank. Grading: 3 points for a correct answer, 0 points for an answer left blank, and -2 points for each incorrect answer. Thus, the maximal score is 15 points, 4 correct and 1 incorrect answer result in a total score of 4 · 3 + 1 · (−2) = 10 points, while 4 correct answers and one answer left blank results in a total of 12 points. A. If X and Y are independent, then Cov(X, Y ) = 0. B. If E(XY ) = E(X)E(Y ), then X and Y are independent. C. If X and Y are independent, then MXY (t) = MX (t)MY (t). D. If X and Y are independent continuous r.v.’s, then fX|Y (x|y) = fX (x).
E. If X 1 , X 2 ,... are mutually independent r.v.’s, and Sn =
∑n i=1 Xi, then^ S^1 , S^2 ,... ,^ are also mutually independent.
15 pts Solution.
A. If X and Y are independent, then Cov(X, Y ) = 0. True (One of the properties of independent r.v.’s. (cf. p. 2 of the variance/covariance/mgf handout).) B. If E(XY ) = E(X)E(Y ), then X and Y are independent. False (The condition E(XY ) = E(X)E(Y ) is equivalent to Cov(X, Y ) = 0, but the latter does not imply that X and Y are independent (cf. the note on p. 2 of the vari- ance/covariance/mgf handout).) C. If X and Y are independent, then MXY (t) = MX (t)MY (t). False (Independence implies that the mgf of the sum (not the product) is the product of the individual mgf’ (cf. the note on p. 2 of the variance/covariance/mgf handout).) D. If X and Y are independent continuous r.v.’s, then fX|Y (x|y) = fX (x). True By the definition of the conditional density and the independence of X and Y ,
fX|Y (x|y) = f (x, y) fY (y)
fX (x)fY (y) fY (y)
= fX (x).
E. If X 1 , X 2 ,... are mutually independent r.v.’s, and Sn =
∑n i=1 Xi, then^ S^1 , S^2 ,... ,^ are also mutually independent. False (In Problem 5 in HW 10, we calculated that Cov(Sn, Sk) equals kσ^2 if k ≤ n, and in particular is not 0. Hence Sn and Sk cannot be independent.)
(a) Find P (D ≤ 0 .1). 10 pts Solution. [This problem was worked in class. Similar problems appeared in the hw assign- ments; e.g., Problem 13, Chapter 6, in HW 8.] We have D = |X − Y |, where X and Y denote the two points, and we need to compute P (|X − Y | ≤ 0 .1). Since X and Y are independent and uniformly distributed on [0, 1], the joint distribution of X and Y is uniform over the unit square, we can compute probabilities involving X and Y via areas. With R denoting the region on which |x − y| ≤ 0 .1 (see sketch), we get
Area(R) Area(Unit Square)
=
Comments: The above geometric approach, via areas, is the one used in the class problem and the homework problems referred to above. One could, in principle, compute P (|X − Y | ≤ 0 .1) via double integrals, but this approach is much more complicated and highly error prone. In particular, to get the correct integration limits one needs to split up the integral into three separate double integrals, corresponding to the ranges 0 ≤ x ≤ 0 .1, 0. 1 ≤ x ≤ 0 .9, and