




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!





November 6, 2008
1 (15 pts) Compute E[X] and Var[X] for
i) X a random variable that takes the values 1, 2, 3 with probabilities 0.2, 0.5, 0.3; ii) X a random variable with the density function given by
f (x) =
{ (^) x 2 if^ x^ ∈^ [0,^ 2] 0 else
iii) X a random variable with the cumulative distribution function given by
F (x) =
0 if x < 0 ln x if x ∈ [1, e] 1 if x > e
Answer: i) E[X] = 1 · 0 .2 + 2 · 0 .5 + 3 · 0 .3 = 2.1 For the variance:
E[X^2 ] = 12 · 0 .2 + 2^2 · 0 .5 + 3^2 · 0 .3 = 4. 9 Var[X] = E[X^2 ] − E[X]^2 = 4. 9 − (2.1)^2 = 0. 49
ii)
∫ (^2)
0
x · f (x) dx =^1 2
∫ (^2)
0
x^2 dx = x
3 6
∣∣ ∣∣ ∣
2
0
∫ (^2) 0
x^2 · f (x) dx =
∫ (^2) 0
x^3 dx =
x^4 8
∣∣ ∣∣ ∣
2
0
Var[X] = E[X^2 ] − E[X]^2 = 4 −
iii) You have to compute the density function first
f (x) = (F (x))′^ =^1 x for x ∈ [1, e]. Thus
E[X] =
∫ (^) e
1
x · f (x) dx =
∫ (^) e
1
1 dx = e − 1
Similarly, Var[X] = 2(e − 1)
2 (10 pts) A man claims to have extrasensory perception (ESP). As a test, a fair coin is flipped 10 times, and the man is asked to predict the outcome in advance. He gets 7 out of 10 correct. What is the probability that he would have done at least this well if he had no ESP?
Answer: Binomial distribution B
( 10 , (^12)
)
. The requested probability is:
(( 10 7
) +... +
( 10 10
)) = 120 + 45 + 10 + 1 1024
4 (10 pts) What is the probability that out of 1000 poker games, you get at least once a straight flush? Note: Straight flush means 5 consecutive cards of the same suit (e.g. 6,7,8,9,10 of diamond). You get 5 cards once and you are not allowed to exchange any.
Answer: Binomial distribution/Approximation of the binomial distribution by Poisson. The parameters for the binomial distribution are n = 1000 and
p = P (straight flush out of 5 given cards) =^4 (^52 ·^9 5
[The denominator should be clear, for the numerator note that a straight flush is determined by the suit and lowest card (can be 2,... 10). Thus, 4 × 9 possibilities to get a straight flush. Note: Also correct 4 · 10, if the ace is considered both high and low card.] Thus,
P (B(1000, p) ≥ 1) ∼= P (P oisson(λ) ≥ 1) = 1 − P (P oisson(λ) = 0) = 1 − e−λ,
where λ = n · p ∼= 0. 013
5 (10 pts) The average height of a 25-year-old man is 71 inches. For about 70% of all 25-year-old men, the height is within 2 inches of the mean. What percentage of the 25-year-old men are over 6 feet? What percentage in the 6-footer club are over 6 foot 5 inches? [N.B. 1 foot=12 inches]
Answer: Normal distribution. The parameters are given μ = 71, σ = 2.
P (N (71, 2) ≥ 72) = P (N (0, 1) ≥ 0 .5) ∼= 1 − 0 .691 = 0. 301
For the second part, we want the conditional probability
P (N (71, 2) ≥ 77 | N (71, 2) ≥ 72) = P^ (N^ (71,^ 2)^ ≥^ 77) P (N (71, 2) ≥ 72)
7 (10 pts) A man aiming at a target receives 10 points if his shot is within 1 inch of the target, 5 points if it is between 1 and 3 inches of the target, and 3 points if it is between 3 and 6 inches of the target. Find the expected number of points scored if the distance from the shot to the target is uniformly distributed between 0 and 10.
Answer: If the target is assumed to consist of concentric circles, then the probabilities are 1 100
(obtained by computing the areas of the various regions)
for 10, 5, 3, and 0 points respectively. Thus the expectation is
E[X] =
Similarly, if the target is assumed linear, then the probabilities are 1 10 ,^
10 ,^ etc.
8 (15 pts)
i) In 10000 independent tosses of a coin, the coin landed heads 5800 times. Is it reasonable to assume that the coin is not fair?
Answer: Approximation of the normal by the distribution. Need to compute
P (N (5000, 50) ≥ 5800) = P (N (0, 1) ≥ 16)
very small probability (16 standard deviations!). Thus, probably not a fair coin.
ii) The average lifetime of a radio is 8 years. If Jones buys a used radio, what is the probability that will be working after an additional 8 years?
Answer: Exponential distribution with parameter λ = 18. The exponential distribution is forgetful. Thus, the probability to use for at least 8 more years is the same as the probability of using a new radio for at least 8 years, i.e.
P
( Exp
) ≥ 8
) = e−^1 =^1 e
iii) A point is chosen at random in the segment [0, 1]. Find the probability that the ratio of the shorter to longer segment is at least 12.
Answer: Uniform distribution. If x denotes the distance to the left end point of the interval. We get 1 2
≤ x 1 − x
Thus, we should have x ∈
]
The probability is the length of this segment, i.e. (^13)