Prob NStat 3
Prob NStat 3
Problems
1. Five men and 5 women are ranked according to their scores on an examination.
Assume that no two scores are alike and all 10! possible rankings are equally likely.
Let X denote the highest ranking achieved by a woman (for instance, X = 2 if
the top-ranked person was male and the next-ranked person was female). Find
P{X = i}, i = 1, 2, 3, . . . , 8, 9, 10.
2. Let X represent the difference between the number of heads and the number of
tails obtained when a coin is tossed n times. What are the possible values of X ?
3. In Problem 2, if the coin is assumed fair, for n = 3, what are the probabilities
associated with the values that X can take on?
4. The distribution function of the random variable X is given
⎧
⎪0 x<0
⎪x
⎪
⎪
⎪ 0≤x<1
⎪
⎪2
⎪
⎪
⎪
⎨2
F (x) = 3 1≤x<2
⎪
⎪
⎪
⎪ 11
⎪
⎪ 2≤x<3
⎪
⎪
⎪
⎪ 12
⎩
1 3≤x
(a) Plot this distribution function.
(b) What is P{X > 12 }?
(c) What is P{2 < X ≤ 4}?
(d) What is P{X < 3}?
(e) What is P{X = 1}?
5. Suppose the random variable X has probability density function
% 3
cx , if 0 ≤ x ≤ 1
f (x) =
0, otherwise
fI (x) = 6x(1 − x) 0 ≤ x ≤ 1
fR (x) = 2x 0≤x≤1
We will then keep track of scores over a certain time span and conclude that
the meteorologist with the highest average score is the best predictor of weather.
Suppose now that a given meteorologist is aware of this and so wants to maximize
his or her expected score. If this individual truly believes that it will rain tomorrow
with probability p∗ , what value of p should he or she assert so as to maximize the
expected score?
24. An insurance company writes a policy to the effect that an amount of money A
must be paid if some event E occurs within a year. If the company estimates that
E will occur within a year with probability p, what should it charge the customer
so that its expected profit will be 10 percent of A?
25. A total of 4 buses carrying 148 students from the same school arrive at a football
stadium. The buses carry, respectively, 40, 33, 25, and 50 students. One of the
students is randomly selected. Let X denote the number of students that were on
the bus carrying this randomly selected student. One of the 4 bus drivers is also
randomly selected. Let Y denote the number of students on her bus.
(a) Which of E[X ] or E[Y ] do you think is larger? Why?
(b) Compute E[X ] and E[Y ].
26. Suppose that two teams play a series of games that end when one of them has won
i games. Suppose that each game played is, independently, won by team A with
probability p. Find the expected number of games that are played when i = 2.
Also show that this number is maximized when p = 12 .
27. The density function of X is given by
a + b x2 0≤x≤1
f (x) =
0 otherwise
If E[X ] = 35 , find a, b.
28. The lifetime in hours of electronic tubes is a random variable having a probability
density function given by
Compute E[X n ] (a) by computing the density of X n and then using the definition
of expectation and (b) by using Proposition 4.5.1.
31. The time it takes to repair a personal computer is a random variable whose density,
in hours, is given by
1
0<x<2
f (x) = 2
0 otherwise
√
The cost of the repair depends on the time it takes and is equal to 40 + 30 x
when the time is x. Compute the expected cost to repair a personal computer.
32. If E[X ] = 2 and E[X 2 ] = 8, calculate (a) E[(2+4X )2 ] and (b) E[X 2 +(X +1)2 ].
33. Ten balls are randomly chosen from an urn containing 17 white and 23 black
balls. Let X denote the number of white balls chosen. Compute E[X ]
(a) by defining appropriate indicator variables Xi , i = 1, . . . , 10 so that
10
X = Xi
i=1
(b) by defining appropriate indicator variables Yi = 1, . . . , 17 so that
17
X = Yi
i=1
F (m) = 1/2
F (mp ) = p
38. Compute the expectation and variance of the number of successes in n indepen-
dent trials, each of which results in a success with probability p. Is independence
necessary?
39. Suppose that X is equally likely to take on any of the values 1, 2, 3, 4. Compute
(a) E[X ] and (b) Var(X ).
40. Let pi = P{X = i} and suppose that p1 + p2 + p3 = 1. If E[X ] = 2, what values
of p1 , p2 , p3 (a) maximize and (b) minimize Var(X )?
41. Compute the mean and variance of the number of heads that appear in 3 flips of
a fair coin.
42. Argue that for any random variable X
Cov(X, Y )
46. Find Corr(X1 , X2 ) for the random variables of Problem 44. Corr(X, Y ) = √
Var(X)Var(Y )
47. Verify: Cov(aX , Y ) = a Cov(X , Y ) for any constant a.
48. Prove n
n
Cov Xi , Y = Cov(Xi , Y )
i =1 i=1
by using mathematical induction.
49. Let X have variance σx2 and let Y have variance σy2 . Starting with
show that
−1 ≤ Corr(X , Y )
conclude that
−1 ≤ Corr(X , Y ) ≤ 1
Using the result that Var(Z ) = 0 implies that Z is constant, argue that, if
Corr(X , Y ) = 1 or −1, then X and Y are related by
Y = a + bx
where the sign of b is positive when the correlation is 1 and negative when it
is −1.
50. Consider n independent trials, each of which results in any of the outcomes i, i =
1, 2, 3, with respective probabilities p1 , p2 , p3 , 3i=1 pi = 1. Let Ni denote the
number of trials that result in outcome i, and show that Cov(N1 , N2 ) = −np1 p2 .
Also explain why it is intuitive that this covariance is negative. (Hint: For i =
1, . . . , n, let
1 if trial i results in outcome 1
Xi =
0 if trial i does not result in outcome 1
Similarly, for j = 1, . . . , n, let
1 if trial j results in outcome 2
Yj =
0 if trial j does not result in outcome 2
Argue that
n
n
N1 = Xi , N2 = Yj
i=1 j=1
Cov(X1 − X 2 , X1 + X2 ) = 0
Compute the moment generating function of X and use your result to deter-
mine its mean and variance. Check your answer for the mean by a direct
calculation.
54. If the density function of X is f (x) = 1, 0 < x < 1
determine E[e tX ]. Differentiate to obtain E[X n ] and then check your
answer.
55. Suppose that X is a random variable with mean and variance both equal to 20.
What can be said about P{0 ≤ X ≤ 40}?
56. From past experience, a professor knows that the test score of a student taking her
final examination is a random variable with mean 75.
(a) Give an upper bound to the probability that a student’s test score will
exceed 85.
Suppose in addition the professor knows that the variance of a student’s test
score is equal to 25.
(b) What can be said about the probability that a student will score between
65 and 85?
(c) How many students would have to take the examination so as to ensure, with
probability at least .9, that the class average would be within 5 of 75?
57. Let X and Y have respective distribution functions FX and FY , and suppose that
for some constants a and b > 0,
x−a
FX (x) = FY
b
(a) Determine E[X ] in terms of E[Y ].
(b) Determine Var(X ) in terms of Var(Y ).
Hint: X has the same distribution as what other random variable?