



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This is the Solved Exam of Probability which includes White Balls, Replacement, Number, Calculate, Watched Gymnastics, Gymnastics and Baseball etc. Key important points are: Continuous Random Variables, Marginal Density Function, Density Functions, Convolution Formula, Uniform, Interval, Marginal Density, Joint Density Function, Conditional Density, Different Schools
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




F (x) =
a for x ≤ 0, x^2 for 0 < x < 1, b for x ≥ 1.
(a) Determine the constants a and b.
(b) Find the pdf of X. Be sure to give a formula for fX (x) that is valid for all x.
(c) Calculate the expected value of X.
(d) Calculate the standard deviation of X.
Answer:
(a) We must have a = limx→−∞ = 0 and b = limx→+∞ = 1, since F is a cdf.
(b) For all x 6 = 0 or 1, F is differentiable at x, so
f (x) = F ′(x) =
{ 2 x if 0 < x < 1, 0 otherwise.
(One could also use any f that agrees with this definition for all x 6 = 0 or 1.)
(c) E(X) = ∫ (^) ∞ −∞ x^ ·^ f^ (x)^ dx^ =^
∫ (^1) 0 x^ ·^2 x dx^ =^ 2
(d) E(X^2 ) =
∫ (^1) 0 x^2 ·^2 x dx^ =^ 1 2 , Var(X) =^ E(X
2 3 )
and σ(X) =
√ Var(X) =
√ (^1) 18 =^
1 3 √ 2 ≈^ .2357.
fX (x) =
{ 1 if 1 < x < 2, 0 otherwise.
Putting g(t) = 1/t we have Y = g(X); since g is monotone on the range of X with inverse function g−^1 (y) = (^1) y , Theorem 7.1 tells us that
fY (y) =
{ 1 · | (^) dyd^1 y | = (^) y^12 if 12 < y < 1, 0 otherwise.
(Check: ∫ (^) ∞ −∞ fY^ (y)^ dy^ =^
∫ (^1) 1 / 2 1 y^2 dy^ = 1.) We have^ E(Y^ ) =^
∫ (^) ∞ −∞ y fY^ (y)^ dy^ =^
∫ (^1) 1 / 2 1 y dy^ = ln 2. (Check: E(1/X) = ∫ (^) ∞ −∞ (^1) x ·^ fX^ (x)^ dx^ =^
∫ (^2) (^1 1) x dx^ = ln 2.)
(b) The marginal pdf for X is fX (x) =
∫ (^) ∞ −∞ fX,Y^ (x, y)^ dy, which equals^
∫ (^) x 0 1 x dy^ = 1 for 0 < x < 1 (and equals zero otherwise). That is, X is uniform on the interval from 0 to 1. Hence for each 0 < x < 1, the conditional pdf for Y given X = x is fY |X (y|x) = fX,Y (x, y)/fX (x), which is (^) x^1 for 0 < y < x and 0 otherwise.
(c) E(Y |X = x) =
∫ (^) ∞ −∞ y^ ·^ fY^ |X^ (y|x)^ dy^ =^
∫ (^) x 0 y x dy^ =^
1 2 x. (We can also derive this answer from the fact that the conditional distribution of Y given X = x was shown in (b) to be uniform on the interval (0, x), and from the fact that the expected value of a random variable that is uniform on an interval is just the midpoint of the interval.) To check the formula for E(Y |X), we re-calculate E(Y ) = E(E(Y |X)) = E(^12 X) = 1 2 E(X), which agrees with^ E(X) =^
1 2 ,^ E(Y^ ) =^
1
(d) E(XY ) =
∫ (^1) 0
∫ (^) x 0 xy^ ·^ 1 x dy dx^ =^
∫ (^1) 0 1 2 x
(^2) dx = 1 1 6 , so Cov(X, Y^ ) =^ E(XY^ )^ −^ E(X)E(Y^ ) = 6 −^ (
1 2 )(
1 4 ) =^
1
I repeatedly roll a fair die. If it comes up 6, I instantly win (and stop playing); if it comes up k, for any k between 1 and 5, I wait k minutes and then roll again. What is the expected elapsed time from when I start rolling until I win? (Note: If I win on my first roll, the elapsed time is zero.) Answer: Let T denote the (random) duration of the game, and let X be the result of the first roll. Then E(T ) = E(E(T |W )) = 16 (E(T |W = 1) + E(T |W = 2) +... + E(T |W =
(a) If we insist on being 90% certain that there will be no more than 35 students in each section, should UW continue to offer just three sections of Math 431 each fall, or would our level of aversion to the risk of overcrowding dictate that we create a fourth section?
(b) Repeat part (a) under the additional assumption that the variance in the enrollment level is known to be 20 (with no other additional assumptions).
Answer:
(a) Since we do not know the variance, the best we can do is use Markov’s inequality: P (X ≥ 106) ≤ 10690 ≈ .85; this is much bigger than .10, so to be on the safe side we should create a fourth section.
(b) Here we know the variance, but since normality is not assumed, we cannot use the Central Limit Theorem; we should use a two-sided or (better still) a one-sided
Chebyshev inequality. The two-sided inequality gives us P (X ≥ 106) ≤ P (|X − 90 | ≥
20 256 ≈^.^078 < .10, so we’re on the safe side with just three classes. (Or we could use the one-sided Chebyshev inequality: P (X ≥ 106) ≤ P (X − 90 ≥ 16) ≤ σ^2 σ^2 +16^2 =^
20 20+256 ≈^ .072.)
(a) A coin is tossed 50 times. Use the Central Limit Theorem (applied to a binomial random variable) to estimate the probability that fewer than 20 of those tosses come up heads.
(b) A coin is tossed until it comes up heads for the 20th time. Use the Central Limit Theorem (applied to a negative binomial random variable) to estimate the probability that more than 50 tosses are needed.
(c) Compare your answers from parts (a) and (b). Why are they close but not exactly equal?
Answer:
(a) The number of tosses that come up heads is a binomial random variable, which can be written as a sum of 50 independent indicator random variables. Since 50 is a reasonably large number, it makes sense to use the Central Limit Theorem, and to approximate X (the number of heads in 50 tosses) by a Gaussian with mean np = 50 · 12 = 25 and variance np(1 − p) = 50 · 12 · 12 = 12.5. So P (X < 20) = P (X ≤ 19 .5) = P (X√− 1225. 5 ≤ 19 √.^512 −.^255 = − √^512.^5. 5 ) = P (Z ≥ √^512.^5. 5 ), where Z is a standard Gaussian; using √^512.^5. 5 ≈ 1 .56, we have P (X < 20) ≈ 1 − Φ(1.56) ≈ 6%.
(b) The waiting time until the 20th heads-toss is a negative binomial random variable, which can be written as a sum of 20 independent geometric random variables. 20 is a decent-sized number, so, as in part (a), we may apply the Central Limit Theorem and approximate W (the number of tosses required to get heads 20 times) by a Gaussian with mean rp = (^120) / 2 = 40 and variance r(1 p− 2 p)= 20(1(1/2)/2) 2 = 40. So P (W > 50) = P (W ≥ 50 .5) = P (W√^ − 4040 ≥ 50 √.^5 − 4040 = 10 √ 40.^5 ) = P (Z ≥ √^1040.^5 ≈ 1 .66) ≈ 1 − Φ(1.66) ≈ 5%.
(c) Suppose the coin is tossed until it has been tossed at least 50 times and heads has come up at least 20 times. Then the outcomes for which X < 20 are precisely those for which W > 50, so the two events have equal probability. The reason we did not get the exact same answers in parts (a) and (b) is that the Central Limit Theorem is only an approximation, and when specific numbers are used there is likely to be some error.