Stat 5131 Final Exam
Let X be the number of wins. Then
,
where
n = 100 and
p = 18 / 38 = 9 / 19. The number of losses is n - X.
Let W denote the gambler's net winnings.
Then
W = X - (n - X) = 2 X - n.
The probability of rolling a six on each roll is 1 / 6 and the rolls
are independent, the number of sixes X has a
distribution
with n = 200 and p = 1 / 6. The mean is
Just for the record (not part of the solution), the exact probability is 0.1223. The normal approximation gives almost three significant figures despite the skewness of the distribution. Without the continuity correction, the approximation is much worse.
By the memoryless property of the exponential distribution, the remaining
service time for the first customer when I arrive has the same distribution
as all the other service times. The time until I leave is the sum of five
i. i. d.
random variables with
per hour.
By the formulas for the exponential distribution,
if
,
then
The mean of the sum of n i. i. d. random variables with mean
is
.
So the mean of the sum of five
random
variables is
minutes = 25 minutes.
The variance of the sum of n i. i. d. random variables with variance
is
.
So the variance of the sum of five
random variables is
,
and the standard deviation is
minutes.
The distribution of the sum of the five service times (the sum of five
i. i. d.
random variables) is
by the ``reproductive rule'' for gamma random variables. But this doesn't
help since we don't have a table for the gamma distribution.
We have to do this another way using the Poisson distribution. The number
of customers served in 30 minutes is
with t = 30minutes (assuming customers keep arriving so the server is always busy).
So
.
I get out in under 30 minutes if
the number of customers served in this time is at least 5 (I'm the fifth).
The probability
of this is
when
.
Clearly this argument
also works if no one arrives after me. Whether I get out in under 30 minutes
or not does not depend on what happens to people who arrive after me.
Using the Poisson table, this is
.
From the fact that a gamma density integrates to one we have
Write
W = X - Y - Z. Then W is normal (any linear function of a normal
is normal, the sum of independent normals is normal, hence any linear
combination of normals is normal). To figure out which normal, we only
need calculate its mean and variance.
The conditional p. d. f. of X given Y is
The regression function of X on Y is
This uses the general change of variable formula for monotone but
not linear change of variable (Theorem 8 of Chapter 3 in Lindgren):
If X = h(Y) then