Sie sind auf Seite 1von 6

Math 510 midterm 3 answers

Problem 1 (10 pts) Suppose X and Y are independent exponential random variables both with parameter = 1. Find the probability that Y < 7X .

7x

P (Y < 7X )

=
7x

f (x, y ) dy dx ex ey dy dx
0 0

= =
0

ex ey

7x 0

dx

=
0

ex e7x + ex dx e8x + ex dx
0

= = = =

1 8x e ex 8 1 0 +1 8 7 8

Problem 2 (10 pts) Suppose X and Y have the mass distributions below. Find the joint mass distribution function for X and Y so that X and Y are independent. X 1 2 Prob. .4 .6 Y 1 2 3 Prob. .1 .5 .4

Since X and Y are independent, P (X = i, Y = j ) = P (X = i)P (Y = j ), and therefore we can make the following table for the joint mass distribution function. Y =1 Y =2 Y =3 X=1 .04 .2 .16 X=2 .06 .3 .24

Problem 3 (10 pts) Suppose X and Y are independent random variables, and suppose X is binomial with n = 10 and p = .4; while Y is binomial with n = 12 and p = .2. Find the expected value and variance of 2X + 3Y . (Recall that a binomial random variable has expected value np and variance npq .) Expected Value:

E [2X + 3Y ]

= 2E [X ] + 3E [Y ] = 2 10 .4 + 3 12 .2 = 8 + 7.2 = 15.2

Variance:

V ar(2X + 3Y )

= 4 V ar(X ) + 9 V ar(Y ) = 4 10 .4 .6 + 9 12 .2 .8 = 9.6 + 17.28 = 26.88

Problem 4 (10 pts) True or false: TRUE The correlation (X, Y ) is always a number in the range [1, 1].

FALSE For any random variables X and Y , we have V ar(X + Y ) = V ar(X ) + V ar(Y ). FALSE If E [XY ] = E [X ]E [Y ], then X and Y are independent. TRUE TRUE If X and Y are independent, then MX +Y (t) = MX (t) MY (t). If V ar(X + Y ) = V ar(X ) + V ar(Y ), then (X, Y ) = 0.

FALSE If E [XY |Z ] = E [X |Z ]E [Y |Z ], then E [XY ] = E [X ]E [Y ]. TRUE If the moment generating function for a random variable X is et , then X must be normal.
2

FALSE Let X and Y be continuous random variables. The density function for X and the density function for Y determine uniquely the joint density function for (X, Y ). FALSE If X and Y are independent, then SD(X + Y ) = SD(X ) + SD(Y ). FALSE If E [X + Y ] = E [X ] + E [Y ], then X and Y are independent.

Problem 5 (5 pts) Find the moment generating function M (t) for the random variable given in the table below: X 0 1 2 Prob. .3 .5 .2

M (t) = E [etX ] = .3 + .5 et + .2 e2t Problem 6 (5 pts) Find an example of two random variables X and Y so that (X, Y ) = 1. Let X be a non-constant random variable (say, a standard normal random variable) and let Y = X . Problem 7 (5 pts) Suppose a random variable X had the moment generating function given by the series below. Find the third moment of X . MX (t) = 1 + 5t + 9t2 + 80t3 + 3t4 + Since MX (t) = 1 + E [X ]t + we can match terms to nd E [X 2 ] 2 E [X 3 ] 3 t + t + 2! 3!

E [X 3 ] = 80 3! E [X 3 ] = 3! 80 = 480

and therefore

Problem 8 (10 pts) Suppose X and Y are normal random variables, both 1 with mean 4 and standard deviation 10. Suppose (X, Y ) = 5 . Find the variance of X + Y . Since (X, Y ) = we have
1 5

Cov (X, Y ) SD(X )SD(Y )

and therefore Cov (X, Y ) = Now V ar(X + Y )

1 Cov (X, Y ) = 5 10 10 10 10 = 20.

= Cov (X + Y, X + Y ) = Cov (X, X ) + 2Cov (X, Y ) + V ar(Y, Y ) = 102 + 2 20 + 102 = 240

Problem 9 (10 pts) Two people are playing a game. A fair die is rolled. If it turns up even, player A pays player B a number of dollars equal to the amount shown on the die. If it turns up odd, player B pays $3 to player A. The procedure is repeated until the die comes up 1, 2, 4, or 5, at which point the game ends. Find the expected winnings of player A. Example: The die is rolled, and comes up 6. Then player A pays $6 to player B. The die is rolled again, and comes up 1. Then player B pays $3 to player A, and the game is over. Player As winnings here is then 6 + 3 = 3 dollars. Let X be player As winnings at the end of the game. Let Y be the rst roll of the die. Then E [X ] = E [E [X |Y ]] and we consider the following table: Y 1 2 3 4 5 6 Therefore = E [E [X |Y ]] 1 1 1 1 1 1 = 3 + (2) + (3 + E [X ]) + (4) + 3 + (6 + E [X ]) 6 6 6 6 6 6 3 2 E [X ] + = 6 6 1 1 = E [X ] 3 2 2 1 E [X ] = 3 2 3 E [X ] = 4 E [X ] Problem 10 (5 pts) 50 people go to a fancy dinner, where there are 50 seats. The guests seat themselves randomly, and only later do they realize there are name cards, indicating that the seating was actually assigned beforehand. What is the expected number of people who are sitting at their correct seat? Let Xi = 1 if the ith guest sits at the correct seat 0 otherwise prob. 1/6 1/6 1/6 1/6 1/6 1/6 E [X |Y = y ] 3 2 3 + E [X ] 4 3 6 + E [X ]

Then the number of people who sit at the correct seat is N = X1 + + X50 4

and its expected value is E [N ] = E [X1 ] + + E [X50 ] Since E [Xi ] is the probability that the ith guest sits at the correct seat, and 1 this is 50 , we have 1 E [N ] = 50 =1 50 Problem 11 (10 pts) Prove that Cov (X + Y, Z ) = Cov (X, Z ) + Cov (Y, Z ).

Cov (X + Y, Z )

= = = = = =

E [(X + Y E [X + Y ])(Z E [Z ])] E [(X + Y E [X ] E [Y ])(Z E [Z ])] E [((X E [X ]) + (Y E [Y ]))(Z E [Z ])] E [(X E [X ])(Z E [Z ]) + (Y E [Y ])(Z E [Z ])] E [(X E [X ])(Z E [Z ])] + E [(Y E [Y ])(Z E [Z ])] Cov (X, Z ) + Cov (Y, Z )

Problem 12 (5 pts) Let X be exponential with parameter 1 and Y be exponential with parameter 2. Suppose X and Y are independent. Find the density function for X + Y .

fX +Y (t)

fX (s)fY (t s) ds es 2 e2(ts) , if s > 0 and t s > 0 0, otherwise ds

So we are really integrating over the values of s where s > 0 and s < t. This only occurs when t > 0, and then s ranges in the interval [0, t]. fX +Y = = Now
t t t s e 0

2 e2(ts) ds

0
t 0

if t > 0 if t 0

2 e2t es ds

if t > 0 if t 0

2 e2ts ds
0

2 e2t
0

es ds

= 2 e2t (1 et ) = 2 e2t 2 et 5

So fX +Y (t) =

2 e2t 2 et 0,

t>0 t0

Problem 13 (5 pts) Prove that (X, Y ) 1.

0 V ar = = = = 0 Therefore

X Y X Y X X Y Y V ar 2 Cov , + V ar X X Y Y 1 1 1 V ar(X ) 2 Cov (X, Y ) + V ar(Y ) X 2 X Y Y 2 1 2(X, Y ) + 1 2(1 (X, Y )) 1 (X, Y ) (X, Y ) 1

Das könnte Ihnen auch gefallen