519H0206 Homework3
519H0206 Homework3
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?
Let represent the difference between the number of heads and the number of
tail obtained when a coin is tosed n times. We are interested in all possible
outcomes of X. In n coins tossed tails can be obtained 0,1,2,…,n times. If
tails are obtained k times number of heads or obtained precisely n – k times.
Therefore, let us t be number of tails and h = n – t number of heads. Let us
define
X = h – t = n – t – t = n – 2t
Therefore all possible outcomes of X can be described by
{n – 2t|t ∈ {0,1,…,n}}.
So the probability that the family has exactly 2 girls is the probability that the
family has exactly two children times the probability that those two children
will be girls:
14⋅35%=8.75%14⋅35%=8.75%
Now find the probability that, given the family has exactly 3 children,
that exacly two are girls. Now you flip 3 times but only need to "win" twice-this
is a binomial experiment.
There are 3 choose 2 = 3 ways to have exactly two girls: 1st, 2nd, or 3rd is a
boy... interestingly the probability of having any particular permutation is
just 0.53=1/80.53=1/8 (because it's still 0.5×0.50.5×0.5 for two girls,
then 0.50.5 for one boy).
Now find the probability for having exactly 3 girls... that's easy, there's only one
way, you just have all 3 girls, probability is just 1818. Now, add these up
38+18=48=1238+18=48=12
So now use the percent of families with exactly 3 children to find this portion of
the probability:
12⋅30%=15%12⋅30%=15%
8.75%+15%=23.75%
23. Each night different meteorologists give us the “probability” that it will rain
the next day. To judge how well these people predict, we will score each of
them as follows: If a meteorologist says that it will rain with probability p, then
he or she will receive a score of
1 − (1 − p)2 if it does rain
1 − p2 if it does not rain
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 herexpected 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?
2p * (1 – p) – 2p(1 – p*) = 0
2(p* - p) = 0
p = p*
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?
The event E occurs with probability y p. Let x be the amount chagred by the
insurance company. This amount must be paid event if event E occurs or not.
So, expected profit is
x – Ap
The expected profit must be 10 percent of A. Hence,
0.10A = x – Ap
x = (p + 0.10)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?
There are 4 buses carrying 148 students. The buses carry, respectively, 40, 33,
25 and 50 srudents.
(b) Compute E[X] and E[Y ].
40 33 25 50
E(X) = 40 x 148 + 33 x 148 + 25 x 148 + 50 x 148 = 39.3
1 1 1 1
E(Y) = 40 x 4 + 33 x 4 + 25 x 4 + 50 x 4 = 37
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.
34. If X is a continuous random variable having distribution function F, then its
median is defined as that value of m for which F(m) = 1/2
Find the median of the random variables with density function
(a) f (x) = e−x, x ≥ 0;
(b) f (x) = 1, 0 ≤ x ≤ 1.
51. A construction firm has recently sent in bids for 3 jobs worth (in profits) 10,
20, and 40 (thousand) dollars. If its probabilities of winning the jobs are
respectively .2, .8, and .3, what is the firm’s expected total profit?
Compute Cov(Xi, Xj) and use this result to show that Var(X) = 1.
Letting Xi, i = 1, 2, 3 denote the firm’s profit from job i, then
total profit=X1 + X2 + X3
and so
E[total profit] = E[X1] + E[X2] + E[X3]
Now
E[X1] = 10(.2) + 0(.8) = 2E[X2] = 20(.8) + 0(.2) = 16E[X3] = 40(.3) + 0(.7)=12
and thus the firm’s expected total profit is 30 thousand dollars.
52. If X1 and X2 have the same probability distribution function, show that
Cov(X1 − X2, X1 + X2) = 0
53. Suppose that X has density function f (x) = e-x, x > 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[etX ].
Differentiate to obtain E[Xn] 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}?
P{0 < X < 40} ≥ 19/20
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.
By Markov’s inequality, an upper bound for the probability that a students
test score will exceed 85 is
E[ X ] 75
P(X > 85) ≤ 85 = 85 = 15/17
25
P(X > 75 + 10) ≤ 25+100 = 1/5
(b) What can be said about the probability that a student will score between
65 and 85?
P{|X – 75| ≥ 10} ≤ 25/100 = 1/4
P{|X – 75| < 10} ≥ 1 – 1/4 = 3/4
P{65 < X < 85} ≥ 3/4
(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?
1 – 1/n ≥ 9
n ≥ 10
Now,
x−a
FX (x) = FY( b )
x−a
P(X < x) = P(Y < b )
P(X < x) = P(bY < x – a)
P(X < x) = P(a + by < x)
X = a + bY
So ,
E(X) = Var(a + bY) = 0 + b2Var(Y) = b2Var(Y)
E(X) = a +bE(Y), Var(X) = b2Var(Y)