SlideShare a Scribd company logo
1 of 11
Download to read offline
Statistics 100A
Homework 3 Solutions
Ryan Rosario
Chapter 4
1. Two balls are chosen randomly from an urn containing 8 white, 4 black, and 2 orange balls.
Suppose that we win $2 for each black ball selected and we lose $1 for each white ball selected.
Let X denote our winnings. What are the possible values of X, and what are the probabilities
associated with each value?
First construct the sample space of all possible draws. We must draw 2 balls at random from
this url:
S = {(W, W), (W, B), (W, O), (B, W), (B, O), (B, B), (O, W), (O, B), (O, O)}
Also, we need to assign values of X for each s ∈ S.
s X
(W,W) −2
(W, B) +1
(W, O) −1
(B, W) +1
(B, O) +2
(B, B) +4
(O, W) −1
(O, B) +2
(O, O) 0
Now we must compute the probabilities for each value of X.
X = +1 when we draw a white ball and black ball, or when we draw a black ball and a white
ball. We assume sampling without replacement:
P(X = 1) =
8
14
·
4
13
+
4
14
·
8
13
= 0.3516
X = −1 when we draw a white ball and orange ball, or an orange ball and white ball.
P(X = −1) =
8
14
·
2
13
+
2
14
·
8
13
= 0.176
X = +2 when we draw a black ball followed by an orange ball, or an orange ball followed by
a black ball.
P(X = +2) =
4
14
·
2
13
+
2
14
·
4
13
= 0.088
X = −2 when we draw two white balls.
P(X = −2) =
8
14
·
7
13
= 0.308
1
X = +4 when two black balls are drawn.
P(X = +4) =
4
14
·
3
13
= 0.066
X = 0 when two orange balls are drawn.
P(X = 0) =
2
14
·
1
13
= 0.011
Then the probability distribution is given by
x P(X = x)
−2 0.308
−1 0.176
0 0.011
+1 0.3516
+2 0.088
+4 0.066
4. Five men a 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. Find P(X = i), i = 1, 2, 3, . . . , 8, 9, 10..
First off, note that the lowest possible position is 6, which means that all five women score
worse than the five men. So P(X = i) = 0 for i = 7, 8, 9, 10 .
Now let’s find how many different ways there are to arrange the 10 people such that the
women all scored lower than the men. There are 5! ways to arrange the women and 5! ways
to arrange the men, so
P(X = 6) =
5!5!
10!
= 0.004
Now consider the top woman scoring 5th on the exam.
W
There are 5 possible positions for the lower scoring women, and we have 4 women that must
be assigned to these ranks, which can be accomplished in
5
4
different ways. Additionally,
these 5 women can be arranged in 5! ways, and the men can be arranged in 5! ways. Thus,
P(X = 5) =
5
4
5!5!
10!
= 0.0198
Similarly for P(X = 4), there are 6 positions for the 4 remaining women. The women can be
arranged in 5! ways and the men can be arranged in 5! ways.
P(X = 4) =
6
4
5!5!
10!
= 0.0595
2
and so on...
P(X = 3) =
7
4
5!5!
10!
≈ 0.139
P(X = 2) =
8
4
5!5!
10!
≈ 0.278
P(X = 1) =
9
4
5!5!
10!
= 0.5
8. If the die in problem 7 is assumed fair, calculate the probabilities associated with the random
variables in parts (a) through (d).
Let X = f(X1, X2) where X1 and X2 are the faces showing on the first and second roll and
f is given by
(a) f(X1, X2) = max {X1, X2}
The maximum value of the two rolls is 1 and the maximum value of the two rolls is 6.
Therefore X = {1, 2, 3, 4, 5, 6}.
x Possibilities P(X = x)
1 ¥ and ¥ 1
36
2 ¦ and ¥¦ or ¥ and ¦ 3
36
3 § and ¥¦ or ¥¦ and § 5
36
4 ¨ and ¥¦§¨ or ¥¦§ and ¨ 7
36
5 © and ¥¦§¨© or ¥¦§¨ and © 9
36
6  and ¥¦§¨© or ¥¦§¨© and  11
36
(d) f(X1, X2) = X1 − X2
In the extreme case, the first roll shows a 1 and the second shows a 6, or vice verse.
Then, X = {−5, −4, −3, −2, −1, 0, 1, 2, 3, 4, 5}.
x Possibilities P(X = x)
−5 ¥,  1
36
−4 ¥, © , ¦,  2
36
−3 ¥, ¨ , ¦, © , §,  3
36
−2 ¥, § , ¦, ¨ , §, © , ¨,  4
36
−1 ¥, ¦ , ¦, § , §, ¨ , ¨, © , ©,  5
36
0 ¥, ¥ , ¦, ¦ , §, § , ¨, ¨ , ©, © , ,  6
36
For brevity, note that P(X = i) = P(X = −i) for i = 1, 2, 3, 4, 5, 6.
3
14. Five distinct numbers are randomly distributed to players numbered 1 through 5. Whenever
two players compare their numbers, the one with the highest one is declared the winner.
Initially, players 1 and 2 compare their numbers; the winner then compares with player 3, and
so on. Let X denote the number of times player 1 is a winner. Find P(X = i), i = 0, 1, 2, 3, 5.
Find the probability that player 1 wins an even number of times.
This problem ended up being much easier than the solution lead me to believe!
We let X be the number of times player 1 is a winner.
Let’s start with the case that player 1 never wins. That is, player 1 loses to player 2. If we
construct the sample space, we would see that P(X = 0) = 1
2 because exactly one-half of the
5! permutations have the first number (player 1) greater than the second number (player 2).
P(X = 0) =
1
25!
5!
= 1
2
Player 1 wins exactly 1 game if player 3 has a larger number than player 1, but player 1 has a
larger number than player 2. The number of ways this can happen is the same as the number
of ways that player 2 loses to player 1 and player 3 (hypothetically), etc. Per the solution I
used, P(X = 1) = P(Y2  Y1  Y3) where Yi denotes the number given to player i. When
i = j =, there are 3! ways to arrange the inequality Yi  Yj  Yk. Exactly one of these
arrangements gives us the inequality Y2  Y1  Y3. Therefore,
P(X = 1) =
1
3!5!
5!
=
1
3!
= 1
6
Now consider the case that player 1 wins exactly 2 games. This means Y1  Y2 and Y1  Y3
but Y1  Y4. The easiest way to do this is to consider all of the possible ways that this can
happen,
SPlayer 1 wins 2 games. = {(Y1, Y2, Y3, Y4)}
= {(3, 1, 2, 4), (3, 1, 2, 5), (3, 2, 1, 4), (3, 2, 1, 5), (4, 1, 2, 5), (4, 2, 1, 5)
(4, 1, 3, 5), (4, 3, 1, 5), (4, 2, 3, 5), (4, 3, 2, 5)}
Then,
P(X = 2) =
10
5!
= 1
12
To win 3 games, Y1  Y2, and Y1  Y3 and Y1  Y4 but Y1  Y5. One way to think of this is
that we must restrict Y1 = 4 and Y5 = 5 and vary the others, giving 3! arrangements. Or, we
can just list out the different combinations.
SPlayer 1 wins 3 games. = {(Y1, Y2, Y3, Y4, Y5)}
= {(4, 1, 2, 3, 5), (4, 2, 3, 1, 5), (4, 3, 2, 1, 5),
(4, 1, 3, 2, 5), (4, 2, 1, 3, 5), (4, 3, 1, 2, 5)}
P(X = 3) =
3!
5!
=
1
20
4
To win all 4 games, Y1  Y2  Y3  Y4  Y5.
SPlayer 1 wins 4 games. = {(Y1, Y2, Y3, Y4, Y5)}
= {(5, ∗, ∗, ∗, ∗)}
where ∗ denotes a wildcard meaning these players have some other number besides 5 here.
For brevity, I do not list all of the arrangements, since we have enough information to solve
the problem once we restrict Y1 = 5. Thus,
P(X = 4) =
4!
5!
=
1
5
Finally,
P(X = even) = P(X = 2) + P(X = 4) =
1
12
+
1
5
=
17
60
19. If the distribution of X is given by
F(b) =



0 b  0
1
2 0 ≤ b  1
3
5 1 ≤ b  2
4
5 2 ≤ b  3
9
10 3 ≤ b  3.5
1 b ≥ 3.5
calculate the probability mass function of X.
First we must find P(X = i), i = 0, 1, 2, 3, 3.5. To do that, we note that F(b) = P(X ≤ b)
and that
P(X = i) = P(X ≤ i) − P(X  i) = F(i) − P(X  i)
This is really just a jump function between values of b. F is also called the cumulative
distribution function (CDF).
−2 −1 0 1 2 3 4 5
x
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1y
5
P(X = i) F(i) − P(X  i) Calculation p(i)
P(X = 0) F(0) − P(X  0) 1
2 − 0 1
2
P(X = 1) F(1) − P(X  1) 3
5 − 1
2
1
10
P(X = 2) F(2) − P(X  2) 4
5 − 3
5
1
5
P(X = 3) F(3) − P(X  3) 9
10 − 4
5
1
10
P(X = 3.5) F(3.5) − P(X  3.5) 1 − 9
10
1
10
Which is represented as,
p(x) =



1
2 if x = 0
1
10 if x = 1
1
5 if x = 2
1
10 if x = 3
1
10 if x = 3.5
0 otherwise
0 1 2 3
x
0
0.1
0.2
0.3
0.4
0.5y
6
20. A gambling book recommends the following “winning strategy” for the game of roulette. It
recommends that a gambler bet $1 on red. If red appears (which has a probability of 18
38),
then the gambler should take her $1 profit and quit, If the gambler loses the bet (which has
probability 20
38 of occurring), she should make additional $1 bets on red on each of the next
two spins of the roulette wheel and then quit. Let X denote the gambler’s winnings when she
quits.
(a) Find P(X  0).
First construct the sample space. Let R be the event that the ball lands on a red space
and let R be the complement of R. The sequence of spins will be of length 1 (if she
wins on the first spin), or of length 3 (if she does not win on the first spin).
S = R, R RR, R R R, R RR , R R R
If the wheel lands on a red space, then she wins $1 profit, otherwise she wins nothing
and loses the $1 she bet. We can compute the values for X.
s X
R 1
R RR 1
R R R −1
R RR −1
R R R −3
Then P(X  0) = P(X = 1) which only happens one of two ways; she either wins on
the first bet, or she loses on the first bet but wins on the next two spins. We assume
that each spin of the roulette wheel is independent. Then,
P(X  0) = P(X = 1)
= P(R) + P(R RR)
=
18
38
+
20
38
18
38
18
38
= 0.5918
The probability that she wins any profit is 0.5918.
(b) Are you convinced that the strategy is indeed a “winning” strategy? Explain your answer!
Typically this question would be answered after calculating E(X). Based on the proba-
bility in the previous part, it may seem like a winning strategy since the probability of
profiting from the game is 0.5918 which is slightly better than flipping a coin. Actually,
this is not a winning strategy, as we will see in the next part.
7
(c) Find E(X).
By definition,
E(X) =
n
i=1
xP(X = x)
.
So, we need to construct the probability distribution.
x = P(X = x)
−3 P(R R R ) = 20
38
3
= 0.1458
−1 P(R R R) + P(R RR ) = 2 · 18
38 · 20
38
2
= 0.2624
+1 (part a) = 0.5918
Then,
E(X) = −3 · 0.1458 + (−1) · 0.2624 + 1 · 0.5918 = −0.108 ≈ −$0.11
She should expect to lose 11 cents. Therefore, this is not a winning strategy.
21. A total of 4 buses carrying 148 students from the same school arrives 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 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?
In the first sampling method, we draw one of 148 students at random. Naturally, the
probability of choosing a student from the fullest bus is higher than the probability of
drawing a student from the other buses. Thus, the fuller buses are weighted higher than
the other buses, so we would expect E(X) to be larger. In the second method, one of the
four bus drivers is randomly selected. Each bus driver is equally likely to be chosen!
Each bus is weighted the sum, therefore, E(Y ) ≤ E(X). Equality holds when each bus
contains the same number of students.
Analogy: Consider calculating your GPA two different ways. Suppose your grades
this quarter are as follows: A, C, C. The class that you earned an A in is worth 5 units
and the classes you earned the Cs in are worth 4 units. Computing your GPA using the
standard method of weighting the grades by units would weight the higher grade heavier
than each of the two Cs. This calculation is similar to the calculation of E(X). The
GPA in this case is 3.00.
Now suppose we ignore the course units and recompute the GPA such that each grade
is weighted the same. Then the GPA is 2.67. This calculation is similar to E(Y ). In
this particular case, we see that the weighted method is higher.
8
(b) Compute E(X) and E(Y ).
First we need the probability distributions for X and Y .
X corresponds to the method of drawing a student at random. The probability that a
student comes from bus i, i = {A, B, C, D} is simply the number of students on that bus
divided by the total number of students.
x = P(X = x)
40 40
148
33 33
148
25 25
148
50 50
148
Then, E(X) = 40 · 40
148 + 33 · 33
148 + 25 · 25
148 + 50 · 50
148 = 39.28 .
Y corresponds to the method of drawing a bus driver at random. The probability that
a bus driver comes from a particular bus is constant, 1
4.
x = P(X = x)
40 1
4
33 1
4
25 1
4
50 1
4
Then, E(Y ) = 40 · 1
4 + 33 · 1
4 + 25 · 1
4 + 50 · 1
4 = 37 .
30. A person tosses a fair coin until a tail appears for the first time. If the tail appears on the nth
flip, the person wins 2n dollars. Let X denote the player’s winnings. This problem is known
as the St. Petersburg paradox.
This is an example of the geometric distribution. We use the geometric distribution when we
want to calculate the probability that it takes n trials to get a success. In this case, a success
is the event that a tail is showing.
(a) Show that E(X) = +∞.
Proof. We know that X denotes the player’s winnings, so X = 2n for n ≥ 1. The
probability that a player wins on the nth game is 1
2
n
. Then,
E(X) =
∞
i=1
xP(X = x) =
∞
i=1
2n
·
1
2
n
=
∞
i=1
1 = +∞
9
(b) Would you be willing to play $1 million to play this game once?
Hell no ! Suppose you pay $1 million to play once and you win on the first game. You
only win $2. Suppose you lose on the first game (which is likely), then you lost your bet.
E(X) = ∞ is the expected value in the long run, not on one game!
(c) Would you be willing to play $1 million for each game if you could play for as long as
you liked and only had to settle up when you stopped playing?
Yes , the expectation in the long run is “something large,” so we could expect to profit.
This is not a universally accepted answer though. From Wikipedia,
“According to the usual treatment of deciding when it is advantageous and therefore
rational to play, you should therefore play the game at any price if offered the oppor-
tunity. Yet, in published descriptions of the paradox, e.g. (Martin, 2004), many people
expressed disbelief in the result. Martin quotes Ian Hacking as saying ”few of us would
pay even $25 to enter such a game” and says most commentators would agree.”
I highly recommend the Wikipedia article on the St. Petersburg paradox!
37. Find Var (X) and Var (Y ) for X and Y as given in Problem 21.
By definition,
Var (X) = E (X − E(X))2
= E(X2
) − E(X)2
x x2 P(X = x)
40 1600 40
148
33 1089 33
148
25 625 25
148
50 2500 50
148
E(X2
) =
n
i=1
x2
P(X = x) = 1600 ·
40
148
+ 1089 ·
33
148
+ 625 ·
25
148
+ 2500 ·
50
148
= 1625.4
Thus,
Var (X) = E(X2
) − E(X)2
= 1625.4 − 39.282
= 82.2
Similarly,
y y2 P(Y = y)
40 1600 1
4
33 1089 1
4
25 625 1
4
50 2500 1
4
E(Y ) =
1
4
(1600 + 1089 + 625 + 2500) = 1453.5
Var (Y ) = E(Y 2
) − E(Y )2
= 1453.5 − 372
= 84.5
10
38. If E(X) = 1 and Var (X) = 5, find
Recall the following properties of expectation and variance
E(c) = c, E(cX) = cE(X), E(X + Y ) = E(X) + E(Y )
Var (c) = 0, Var (cX) = c2
Var (x) , Var (X + Y ) = Var (X)+Var (Y ) iff X, Y indpdt
Var (x) = E(X2
) − E(X)2
(a) E (2 + X)2
E (2 + X)2
= E [(2 + X) (2 + X)]
= E 4 + X2
+ 4X
= E(4) + E(X2
) + E(4X)
= 4 + E(X2
) + 4E(X)
Recall that Var (x) = E(X2) − E(X)2
= 4 + Var (X) + E(X)2
+ 4E(X)
= 4 + 5 + 12
+ 4 · 1
= 14
(b) Var (4 + 3X)
Var (4 + 3X) = Var (4) + Var (3X)
= 0 + 32
Var (X)
= 9 · Var (X)
= 9 · 5
= 45
11

More Related Content

What's hot

5 complex numbers y
5 complex numbers y5 complex numbers y
5 complex numbers ymath260
 
11 graphs of first degree functions x
11 graphs of first degree functions x11 graphs of first degree functions x
11 graphs of first degree functions xmath260
 
Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium
Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium
Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium Jie Bao
 
Module 2 polynomial functions
Module 2   polynomial functionsModule 2   polynomial functions
Module 2 polynomial functionsdionesioable
 
RS Agarwal Quantitative Aptitude - 7 chap
RS Agarwal Quantitative Aptitude - 7 chapRS Agarwal Quantitative Aptitude - 7 chap
RS Agarwal Quantitative Aptitude - 7 chapVinoth Kumar.K
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic DivisionJimbo Lamb
 
Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variablesRohan Bhatkar
 
Brian Prior - Probability and gambling
Brian Prior - Probability and gamblingBrian Prior - Probability and gambling
Brian Prior - Probability and gamblingonthewight
 
1.2 algebraic expressions y
1.2 algebraic expressions y1.2 algebraic expressions y
1.2 algebraic expressions ymath260
 
RS Agarwal Quantitative Aptitude - 10 chap
RS Agarwal Quantitative Aptitude - 10 chapRS Agarwal Quantitative Aptitude - 10 chap
RS Agarwal Quantitative Aptitude - 10 chapVinoth Kumar.K
 
11X1 T13 05 polynomial results
11X1 T13 05 polynomial results11X1 T13 05 polynomial results
11X1 T13 05 polynomial resultsNigel Simmons
 
1.2 algebraic expressions y
1.2 algebraic expressions y1.2 algebraic expressions y
1.2 algebraic expressions ymath260
 
RS Agarwal Quantitative Aptitude - 4 chap
RS Agarwal Quantitative Aptitude - 4 chapRS Agarwal Quantitative Aptitude - 4 chap
RS Agarwal Quantitative Aptitude - 4 chapVinoth Kumar.K
 
1.2Algebraic Expressions-x
1.2Algebraic Expressions-x1.2Algebraic Expressions-x
1.2Algebraic Expressions-xmath260
 
Chapter 6 taylor and maclaurin series
Chapter 6 taylor and maclaurin seriesChapter 6 taylor and maclaurin series
Chapter 6 taylor and maclaurin seriesIrfaan Bahadoor
 
RS Agarwal Quantitative Aptitude - 6 chap
RS Agarwal Quantitative Aptitude - 6 chapRS Agarwal Quantitative Aptitude - 6 chap
RS Agarwal Quantitative Aptitude - 6 chapVinoth Kumar.K
 
RS Agarwal Quantitative Aptitude - 9 chap
RS Agarwal Quantitative Aptitude - 9 chapRS Agarwal Quantitative Aptitude - 9 chap
RS Agarwal Quantitative Aptitude - 9 chapVinoth Kumar.K
 
cvpr2011: game theory in CVPR part 1
cvpr2011: game theory in CVPR part 1cvpr2011: game theory in CVPR part 1
cvpr2011: game theory in CVPR part 1zukun
 

What's hot (19)

5 complex numbers y
5 complex numbers y5 complex numbers y
5 complex numbers y
 
11 graphs of first degree functions x
11 graphs of first degree functions x11 graphs of first degree functions x
11 graphs of first degree functions x
 
Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium
Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium
Beyond Nash Equilibrium - Correlated Equilibrium and Evolutionary Equilibrium
 
Module 2 polynomial functions
Module 2   polynomial functionsModule 2   polynomial functions
Module 2 polynomial functions
 
RS Agarwal Quantitative Aptitude - 7 chap
RS Agarwal Quantitative Aptitude - 7 chapRS Agarwal Quantitative Aptitude - 7 chap
RS Agarwal Quantitative Aptitude - 7 chap
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Division
 
Quantitative Techniques random variables
Quantitative Techniques random variablesQuantitative Techniques random variables
Quantitative Techniques random variables
 
Brian Prior - Probability and gambling
Brian Prior - Probability and gamblingBrian Prior - Probability and gambling
Brian Prior - Probability and gambling
 
1.2 algebraic expressions y
1.2 algebraic expressions y1.2 algebraic expressions y
1.2 algebraic expressions y
 
RS Agarwal Quantitative Aptitude - 10 chap
RS Agarwal Quantitative Aptitude - 10 chapRS Agarwal Quantitative Aptitude - 10 chap
RS Agarwal Quantitative Aptitude - 10 chap
 
11X1 T13 05 polynomial results
11X1 T13 05 polynomial results11X1 T13 05 polynomial results
11X1 T13 05 polynomial results
 
1.2 algebraic expressions y
1.2 algebraic expressions y1.2 algebraic expressions y
1.2 algebraic expressions y
 
RS Agarwal Quantitative Aptitude - 4 chap
RS Agarwal Quantitative Aptitude - 4 chapRS Agarwal Quantitative Aptitude - 4 chap
RS Agarwal Quantitative Aptitude - 4 chap
 
7 chap
7 chap7 chap
7 chap
 
1.2Algebraic Expressions-x
1.2Algebraic Expressions-x1.2Algebraic Expressions-x
1.2Algebraic Expressions-x
 
Chapter 6 taylor and maclaurin series
Chapter 6 taylor and maclaurin seriesChapter 6 taylor and maclaurin series
Chapter 6 taylor and maclaurin series
 
RS Agarwal Quantitative Aptitude - 6 chap
RS Agarwal Quantitative Aptitude - 6 chapRS Agarwal Quantitative Aptitude - 6 chap
RS Agarwal Quantitative Aptitude - 6 chap
 
RS Agarwal Quantitative Aptitude - 9 chap
RS Agarwal Quantitative Aptitude - 9 chapRS Agarwal Quantitative Aptitude - 9 chap
RS Agarwal Quantitative Aptitude - 9 chap
 
cvpr2011: game theory in CVPR part 1
cvpr2011: game theory in CVPR part 1cvpr2011: game theory in CVPR part 1
cvpr2011: game theory in CVPR part 1
 

Viewers also liked

Inspiring colorful interior design
Inspiring colorful interior designInspiring colorful interior design
Inspiring colorful interior designInterior Designology
 
ใบงานสำรวจตนเอง
ใบงานสำรวจตนเองใบงานสำรวจตนเอง
ใบงานสำรวจตนเองnatnaree2098
 
Apa itu Webpraktis - untuk slideshare
Apa itu Webpraktis - untuk slideshareApa itu Webpraktis - untuk slideshare
Apa itu Webpraktis - untuk slideshareNiky Nathaniel
 
Solar Team - Project Reference
Solar Team - Project ReferenceSolar Team - Project Reference
Solar Team - Project ReferenceDanilo Mamaril
 
Solar Team - Project Reference
Solar Team - Project ReferenceSolar Team - Project Reference
Solar Team - Project ReferenceDanilo Mamaril
 
Cute Bedroom Interior Design Ideas
Cute Bedroom Interior Design IdeasCute Bedroom Interior Design Ideas
Cute Bedroom Interior Design IdeasInterior Designology
 
Project Referece - Solar Team
Project Referece - Solar TeamProject Referece - Solar Team
Project Referece - Solar TeamDanilo Mamaril
 
โครงร่างโครงงาน
โครงร่างโครงงานโครงร่างโครงงาน
โครงร่างโครงงานnatnaree2098
 
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์natnaree2098
 
L’avenir du métier de bibliothécaire - Trouver du travail en bibliothèque
L’avenir du métier de bibliothécaire - Trouver du travail en bibliothèqueL’avenir du métier de bibliothécaire - Trouver du travail en bibliothèque
L’avenir du métier de bibliothécaire - Trouver du travail en bibliothèqueDominique Lahary
 
Twitter in the classroom
Twitter in the classroomTwitter in the classroom
Twitter in the classroomHar1982
 
Qualità della vita Qualità del lavoro
Qualità della vita Qualità del lavoroQualità della vita Qualità del lavoro
Qualità della vita Qualità del lavoroIenonline
 

Viewers also liked (18)

Inspiring colorful interior design
Inspiring colorful interior designInspiring colorful interior design
Inspiring colorful interior design
 
ใบงานสำรวจตนเอง
ใบงานสำรวจตนเองใบงานสำรวจตนเอง
ใบงานสำรวจตนเอง
 
Apa itu Webpraktis - untuk slideshare
Apa itu Webpraktis - untuk slideshareApa itu Webpraktis - untuk slideshare
Apa itu Webpraktis - untuk slideshare
 
Solar Team - Project Reference
Solar Team - Project ReferenceSolar Team - Project Reference
Solar Team - Project Reference
 
Solar Team - Project Reference
Solar Team - Project ReferenceSolar Team - Project Reference
Solar Team - Project Reference
 
Cute Bedroom Interior Design Ideas
Cute Bedroom Interior Design IdeasCute Bedroom Interior Design Ideas
Cute Bedroom Interior Design Ideas
 
CV UPDATED1
CV UPDATED1CV UPDATED1
CV UPDATED1
 
Project Referece - Solar Team
Project Referece - Solar TeamProject Referece - Solar Team
Project Referece - Solar Team
 
โครงร่างโครงงาน
โครงร่างโครงงานโครงร่างโครงงาน
โครงร่างโครงงาน
 
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
แบบเสนอโครงร่างโครงงานคอมพิวเตอร์
 
L’avenir du métier de bibliothécaire - Trouver du travail en bibliothèque
L’avenir du métier de bibliothécaire - Trouver du travail en bibliothèqueL’avenir du métier de bibliothécaire - Trouver du travail en bibliothèque
L’avenir du métier de bibliothécaire - Trouver du travail en bibliothèque
 
Termico pasos
Termico pasosTermico pasos
Termico pasos
 
Process to IPO by CAPITAL.com.my
Process to IPO by CAPITAL.com.myProcess to IPO by CAPITAL.com.my
Process to IPO by CAPITAL.com.my
 
Twitter in the classroom
Twitter in the classroomTwitter in the classroom
Twitter in the classroom
 
Qualità della vita Qualità del lavoro
Qualità della vita Qualità del lavoroQualità della vita Qualità del lavoro
Qualità della vita Qualità del lavoro
 
Kitab zuhud dan kelembutan hati
Kitab zuhud dan kelembutan hatiKitab zuhud dan kelembutan hati
Kitab zuhud dan kelembutan hati
 
Kitab qurban
Kitab qurbanKitab qurban
Kitab qurban
 
Ford F-250 Super Duty Features & Highlights
Ford F-250 Super Duty Features & HighlightsFord F-250 Super Duty Features & Highlights
Ford F-250 Super Duty Features & Highlights
 

Similar to Statistics homework solutions for roulette gambling strategy

8th grade-math-algebra-game-review
8th grade-math-algebra-game-review8th grade-math-algebra-game-review
8th grade-math-algebra-game-reviewsjustus
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notesRohan Bhatkar
 
Nash equilibrium and applications
Nash equilibrium and applicationsNash equilibrium and applications
Nash equilibrium and applicationsAlyaa Muhi
 
Jointly Distributed Random Variaables.ppt
Jointly Distributed Random Variaables.pptJointly Distributed Random Variaables.ppt
Jointly Distributed Random Variaables.pptRohitKumar639388
 
Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.Let's Tute
 
Introduction to probability solutions manual
Introduction to probability   solutions manualIntroduction to probability   solutions manual
Introduction to probability solutions manualKibria Prangon
 
Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...
Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...
Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...polanesgumiran
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONshahzadebaujiti
 
15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdfvedantsk1
 
138191 rvsp lecture notes
138191 rvsp lecture notes138191 rvsp lecture notes
138191 rvsp lecture notesAhmed Tayeh
 

Similar to Statistics homework solutions for roulette gambling strategy (20)

Sol12
Sol12Sol12
Sol12
 
8th grade-math-algebra-game-review
8th grade-math-algebra-game-review8th grade-math-algebra-game-review
8th grade-math-algebra-game-review
 
Qt random variables notes
Qt random variables notesQt random variables notes
Qt random variables notes
 
Practice Test 2 Solutions
Practice Test 2  SolutionsPractice Test 2  Solutions
Practice Test 2 Solutions
 
Nash equilibrium and applications
Nash equilibrium and applicationsNash equilibrium and applications
Nash equilibrium and applications
 
Chapter 4-1 (1).pptx
Chapter 4-1 (1).pptxChapter 4-1 (1).pptx
Chapter 4-1 (1).pptx
 
Jointly Distributed Random Variaables.ppt
Jointly Distributed Random Variaables.pptJointly Distributed Random Variaables.ppt
Jointly Distributed Random Variaables.ppt
 
Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.Probability - Question Bank for Class/Grade 10 maths.
Probability - Question Bank for Class/Grade 10 maths.
 
lect1207
lect1207lect1207
lect1207
 
Introduction to probability solutions manual
Introduction to probability   solutions manualIntroduction to probability   solutions manual
Introduction to probability solutions manual
 
Advanced s
Advanced sAdvanced s
Advanced s
 
Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...
Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...
Delos-Santos-Analyn-M.-_Repoter-No.-1-Multiplication-and-Division-of-Polynomi...
 
PROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTIONPROBABILITY DISTRIBUTION
PROBABILITY DISTRIBUTION
 
Unit 2 Probability
Unit 2 ProbabilityUnit 2 Probability
Unit 2 Probability
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf15 Probability Distribution Practical (HSC).pdf
15 Probability Distribution Practical (HSC).pdf
 
probability ppt
probability pptprobability ppt
probability ppt
 
Latex smart solution
Latex smart solutionLatex smart solution
Latex smart solution
 
138191 rvsp lecture notes
138191 rvsp lecture notes138191 rvsp lecture notes
138191 rvsp lecture notes
 
Probability Theory 9
Probability Theory 9Probability Theory 9
Probability Theory 9
 

Recently uploaded

Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 

Recently uploaded (20)

Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 

Statistics homework solutions for roulette gambling strategy

  • 1. Statistics 100A Homework 3 Solutions Ryan Rosario Chapter 4 1. Two balls are chosen randomly from an urn containing 8 white, 4 black, and 2 orange balls. Suppose that we win $2 for each black ball selected and we lose $1 for each white ball selected. Let X denote our winnings. What are the possible values of X, and what are the probabilities associated with each value? First construct the sample space of all possible draws. We must draw 2 balls at random from this url: S = {(W, W), (W, B), (W, O), (B, W), (B, O), (B, B), (O, W), (O, B), (O, O)} Also, we need to assign values of X for each s ∈ S. s X (W,W) −2 (W, B) +1 (W, O) −1 (B, W) +1 (B, O) +2 (B, B) +4 (O, W) −1 (O, B) +2 (O, O) 0 Now we must compute the probabilities for each value of X. X = +1 when we draw a white ball and black ball, or when we draw a black ball and a white ball. We assume sampling without replacement: P(X = 1) = 8 14 · 4 13 + 4 14 · 8 13 = 0.3516 X = −1 when we draw a white ball and orange ball, or an orange ball and white ball. P(X = −1) = 8 14 · 2 13 + 2 14 · 8 13 = 0.176 X = +2 when we draw a black ball followed by an orange ball, or an orange ball followed by a black ball. P(X = +2) = 4 14 · 2 13 + 2 14 · 4 13 = 0.088 X = −2 when we draw two white balls. P(X = −2) = 8 14 · 7 13 = 0.308 1
  • 2. X = +4 when two black balls are drawn. P(X = +4) = 4 14 · 3 13 = 0.066 X = 0 when two orange balls are drawn. P(X = 0) = 2 14 · 1 13 = 0.011 Then the probability distribution is given by x P(X = x) −2 0.308 −1 0.176 0 0.011 +1 0.3516 +2 0.088 +4 0.066 4. Five men a 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. Find P(X = i), i = 1, 2, 3, . . . , 8, 9, 10.. First off, note that the lowest possible position is 6, which means that all five women score worse than the five men. So P(X = i) = 0 for i = 7, 8, 9, 10 . Now let’s find how many different ways there are to arrange the 10 people such that the women all scored lower than the men. There are 5! ways to arrange the women and 5! ways to arrange the men, so P(X = 6) = 5!5! 10! = 0.004 Now consider the top woman scoring 5th on the exam. W There are 5 possible positions for the lower scoring women, and we have 4 women that must be assigned to these ranks, which can be accomplished in 5 4 different ways. Additionally, these 5 women can be arranged in 5! ways, and the men can be arranged in 5! ways. Thus, P(X = 5) = 5 4 5!5! 10! = 0.0198 Similarly for P(X = 4), there are 6 positions for the 4 remaining women. The women can be arranged in 5! ways and the men can be arranged in 5! ways. P(X = 4) = 6 4 5!5! 10! = 0.0595 2
  • 3. and so on... P(X = 3) = 7 4 5!5! 10! ≈ 0.139 P(X = 2) = 8 4 5!5! 10! ≈ 0.278 P(X = 1) = 9 4 5!5! 10! = 0.5 8. If the die in problem 7 is assumed fair, calculate the probabilities associated with the random variables in parts (a) through (d). Let X = f(X1, X2) where X1 and X2 are the faces showing on the first and second roll and f is given by (a) f(X1, X2) = max {X1, X2} The maximum value of the two rolls is 1 and the maximum value of the two rolls is 6. Therefore X = {1, 2, 3, 4, 5, 6}. x Possibilities P(X = x) 1 ¥ and ¥ 1 36 2 ¦ and ¥¦ or ¥ and ¦ 3 36 3 § and ¥¦ or ¥¦ and § 5 36 4 ¨ and ¥¦§¨ or ¥¦§ and ¨ 7 36 5 © and ¥¦§¨© or ¥¦§¨ and © 9 36 6 and ¥¦§¨© or ¥¦§¨© and 11 36 (d) f(X1, X2) = X1 − X2 In the extreme case, the first roll shows a 1 and the second shows a 6, or vice verse. Then, X = {−5, −4, −3, −2, −1, 0, 1, 2, 3, 4, 5}. x Possibilities P(X = x) −5 ¥, 1 36 −4 ¥, © , ¦, 2 36 −3 ¥, ¨ , ¦, © , §, 3 36 −2 ¥, § , ¦, ¨ , §, © , ¨, 4 36 −1 ¥, ¦ , ¦, § , §, ¨ , ¨, © , ©, 5 36 0 ¥, ¥ , ¦, ¦ , §, § , ¨, ¨ , ©, © , , 6 36 For brevity, note that P(X = i) = P(X = −i) for i = 1, 2, 3, 4, 5, 6. 3
  • 4. 14. Five distinct numbers are randomly distributed to players numbered 1 through 5. Whenever two players compare their numbers, the one with the highest one is declared the winner. Initially, players 1 and 2 compare their numbers; the winner then compares with player 3, and so on. Let X denote the number of times player 1 is a winner. Find P(X = i), i = 0, 1, 2, 3, 5. Find the probability that player 1 wins an even number of times. This problem ended up being much easier than the solution lead me to believe! We let X be the number of times player 1 is a winner. Let’s start with the case that player 1 never wins. That is, player 1 loses to player 2. If we construct the sample space, we would see that P(X = 0) = 1 2 because exactly one-half of the 5! permutations have the first number (player 1) greater than the second number (player 2). P(X = 0) = 1 25! 5! = 1 2 Player 1 wins exactly 1 game if player 3 has a larger number than player 1, but player 1 has a larger number than player 2. The number of ways this can happen is the same as the number of ways that player 2 loses to player 1 and player 3 (hypothetically), etc. Per the solution I used, P(X = 1) = P(Y2 Y1 Y3) where Yi denotes the number given to player i. When i = j =, there are 3! ways to arrange the inequality Yi Yj Yk. Exactly one of these arrangements gives us the inequality Y2 Y1 Y3. Therefore, P(X = 1) = 1 3!5! 5! = 1 3! = 1 6 Now consider the case that player 1 wins exactly 2 games. This means Y1 Y2 and Y1 Y3 but Y1 Y4. The easiest way to do this is to consider all of the possible ways that this can happen, SPlayer 1 wins 2 games. = {(Y1, Y2, Y3, Y4)} = {(3, 1, 2, 4), (3, 1, 2, 5), (3, 2, 1, 4), (3, 2, 1, 5), (4, 1, 2, 5), (4, 2, 1, 5) (4, 1, 3, 5), (4, 3, 1, 5), (4, 2, 3, 5), (4, 3, 2, 5)} Then, P(X = 2) = 10 5! = 1 12 To win 3 games, Y1 Y2, and Y1 Y3 and Y1 Y4 but Y1 Y5. One way to think of this is that we must restrict Y1 = 4 and Y5 = 5 and vary the others, giving 3! arrangements. Or, we can just list out the different combinations. SPlayer 1 wins 3 games. = {(Y1, Y2, Y3, Y4, Y5)} = {(4, 1, 2, 3, 5), (4, 2, 3, 1, 5), (4, 3, 2, 1, 5), (4, 1, 3, 2, 5), (4, 2, 1, 3, 5), (4, 3, 1, 2, 5)} P(X = 3) = 3! 5! = 1 20 4
  • 5. To win all 4 games, Y1 Y2 Y3 Y4 Y5. SPlayer 1 wins 4 games. = {(Y1, Y2, Y3, Y4, Y5)} = {(5, ∗, ∗, ∗, ∗)} where ∗ denotes a wildcard meaning these players have some other number besides 5 here. For brevity, I do not list all of the arrangements, since we have enough information to solve the problem once we restrict Y1 = 5. Thus, P(X = 4) = 4! 5! = 1 5 Finally, P(X = even) = P(X = 2) + P(X = 4) = 1 12 + 1 5 = 17 60 19. If the distribution of X is given by F(b) =    0 b 0 1 2 0 ≤ b 1 3 5 1 ≤ b 2 4 5 2 ≤ b 3 9 10 3 ≤ b 3.5 1 b ≥ 3.5 calculate the probability mass function of X. First we must find P(X = i), i = 0, 1, 2, 3, 3.5. To do that, we note that F(b) = P(X ≤ b) and that P(X = i) = P(X ≤ i) − P(X i) = F(i) − P(X i) This is really just a jump function between values of b. F is also called the cumulative distribution function (CDF). −2 −1 0 1 2 3 4 5 x 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1y 5
  • 6. P(X = i) F(i) − P(X i) Calculation p(i) P(X = 0) F(0) − P(X 0) 1 2 − 0 1 2 P(X = 1) F(1) − P(X 1) 3 5 − 1 2 1 10 P(X = 2) F(2) − P(X 2) 4 5 − 3 5 1 5 P(X = 3) F(3) − P(X 3) 9 10 − 4 5 1 10 P(X = 3.5) F(3.5) − P(X 3.5) 1 − 9 10 1 10 Which is represented as, p(x) =    1 2 if x = 0 1 10 if x = 1 1 5 if x = 2 1 10 if x = 3 1 10 if x = 3.5 0 otherwise 0 1 2 3 x 0 0.1 0.2 0.3 0.4 0.5y 6
  • 7. 20. A gambling book recommends the following “winning strategy” for the game of roulette. It recommends that a gambler bet $1 on red. If red appears (which has a probability of 18 38), then the gambler should take her $1 profit and quit, If the gambler loses the bet (which has probability 20 38 of occurring), she should make additional $1 bets on red on each of the next two spins of the roulette wheel and then quit. Let X denote the gambler’s winnings when she quits. (a) Find P(X 0). First construct the sample space. Let R be the event that the ball lands on a red space and let R be the complement of R. The sequence of spins will be of length 1 (if she wins on the first spin), or of length 3 (if she does not win on the first spin). S = R, R RR, R R R, R RR , R R R If the wheel lands on a red space, then she wins $1 profit, otherwise she wins nothing and loses the $1 she bet. We can compute the values for X. s X R 1 R RR 1 R R R −1 R RR −1 R R R −3 Then P(X 0) = P(X = 1) which only happens one of two ways; she either wins on the first bet, or she loses on the first bet but wins on the next two spins. We assume that each spin of the roulette wheel is independent. Then, P(X 0) = P(X = 1) = P(R) + P(R RR) = 18 38 + 20 38 18 38 18 38 = 0.5918 The probability that she wins any profit is 0.5918. (b) Are you convinced that the strategy is indeed a “winning” strategy? Explain your answer! Typically this question would be answered after calculating E(X). Based on the proba- bility in the previous part, it may seem like a winning strategy since the probability of profiting from the game is 0.5918 which is slightly better than flipping a coin. Actually, this is not a winning strategy, as we will see in the next part. 7
  • 8. (c) Find E(X). By definition, E(X) = n i=1 xP(X = x) . So, we need to construct the probability distribution. x = P(X = x) −3 P(R R R ) = 20 38 3 = 0.1458 −1 P(R R R) + P(R RR ) = 2 · 18 38 · 20 38 2 = 0.2624 +1 (part a) = 0.5918 Then, E(X) = −3 · 0.1458 + (−1) · 0.2624 + 1 · 0.5918 = −0.108 ≈ −$0.11 She should expect to lose 11 cents. Therefore, this is not a winning strategy. 21. A total of 4 buses carrying 148 students from the same school arrives 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 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? In the first sampling method, we draw one of 148 students at random. Naturally, the probability of choosing a student from the fullest bus is higher than the probability of drawing a student from the other buses. Thus, the fuller buses are weighted higher than the other buses, so we would expect E(X) to be larger. In the second method, one of the four bus drivers is randomly selected. Each bus driver is equally likely to be chosen! Each bus is weighted the sum, therefore, E(Y ) ≤ E(X). Equality holds when each bus contains the same number of students. Analogy: Consider calculating your GPA two different ways. Suppose your grades this quarter are as follows: A, C, C. The class that you earned an A in is worth 5 units and the classes you earned the Cs in are worth 4 units. Computing your GPA using the standard method of weighting the grades by units would weight the higher grade heavier than each of the two Cs. This calculation is similar to the calculation of E(X). The GPA in this case is 3.00. Now suppose we ignore the course units and recompute the GPA such that each grade is weighted the same. Then the GPA is 2.67. This calculation is similar to E(Y ). In this particular case, we see that the weighted method is higher. 8
  • 9. (b) Compute E(X) and E(Y ). First we need the probability distributions for X and Y . X corresponds to the method of drawing a student at random. The probability that a student comes from bus i, i = {A, B, C, D} is simply the number of students on that bus divided by the total number of students. x = P(X = x) 40 40 148 33 33 148 25 25 148 50 50 148 Then, E(X) = 40 · 40 148 + 33 · 33 148 + 25 · 25 148 + 50 · 50 148 = 39.28 . Y corresponds to the method of drawing a bus driver at random. The probability that a bus driver comes from a particular bus is constant, 1 4. x = P(X = x) 40 1 4 33 1 4 25 1 4 50 1 4 Then, E(Y ) = 40 · 1 4 + 33 · 1 4 + 25 · 1 4 + 50 · 1 4 = 37 . 30. A person tosses a fair coin until a tail appears for the first time. If the tail appears on the nth flip, the person wins 2n dollars. Let X denote the player’s winnings. This problem is known as the St. Petersburg paradox. This is an example of the geometric distribution. We use the geometric distribution when we want to calculate the probability that it takes n trials to get a success. In this case, a success is the event that a tail is showing. (a) Show that E(X) = +∞. Proof. We know that X denotes the player’s winnings, so X = 2n for n ≥ 1. The probability that a player wins on the nth game is 1 2 n . Then, E(X) = ∞ i=1 xP(X = x) = ∞ i=1 2n · 1 2 n = ∞ i=1 1 = +∞ 9
  • 10. (b) Would you be willing to play $1 million to play this game once? Hell no ! Suppose you pay $1 million to play once and you win on the first game. You only win $2. Suppose you lose on the first game (which is likely), then you lost your bet. E(X) = ∞ is the expected value in the long run, not on one game! (c) Would you be willing to play $1 million for each game if you could play for as long as you liked and only had to settle up when you stopped playing? Yes , the expectation in the long run is “something large,” so we could expect to profit. This is not a universally accepted answer though. From Wikipedia, “According to the usual treatment of deciding when it is advantageous and therefore rational to play, you should therefore play the game at any price if offered the oppor- tunity. Yet, in published descriptions of the paradox, e.g. (Martin, 2004), many people expressed disbelief in the result. Martin quotes Ian Hacking as saying ”few of us would pay even $25 to enter such a game” and says most commentators would agree.” I highly recommend the Wikipedia article on the St. Petersburg paradox! 37. Find Var (X) and Var (Y ) for X and Y as given in Problem 21. By definition, Var (X) = E (X − E(X))2 = E(X2 ) − E(X)2 x x2 P(X = x) 40 1600 40 148 33 1089 33 148 25 625 25 148 50 2500 50 148 E(X2 ) = n i=1 x2 P(X = x) = 1600 · 40 148 + 1089 · 33 148 + 625 · 25 148 + 2500 · 50 148 = 1625.4 Thus, Var (X) = E(X2 ) − E(X)2 = 1625.4 − 39.282 = 82.2 Similarly, y y2 P(Y = y) 40 1600 1 4 33 1089 1 4 25 625 1 4 50 2500 1 4 E(Y ) = 1 4 (1600 + 1089 + 625 + 2500) = 1453.5 Var (Y ) = E(Y 2 ) − E(Y )2 = 1453.5 − 372 = 84.5 10
  • 11. 38. If E(X) = 1 and Var (X) = 5, find Recall the following properties of expectation and variance E(c) = c, E(cX) = cE(X), E(X + Y ) = E(X) + E(Y ) Var (c) = 0, Var (cX) = c2 Var (x) , Var (X + Y ) = Var (X)+Var (Y ) iff X, Y indpdt Var (x) = E(X2 ) − E(X)2 (a) E (2 + X)2 E (2 + X)2 = E [(2 + X) (2 + X)] = E 4 + X2 + 4X = E(4) + E(X2 ) + E(4X) = 4 + E(X2 ) + 4E(X) Recall that Var (x) = E(X2) − E(X)2 = 4 + Var (X) + E(X)2 + 4E(X) = 4 + 5 + 12 + 4 · 1 = 14 (b) Var (4 + 3X) Var (4 + 3X) = Var (4) + Var (3X) = 0 + 32 Var (X) = 9 · Var (X) = 9 · 5 = 45 11