CS70 ProblemSet12 Template
CS70 ProblemSet12 Template
Name:
SID:
Sundry Points
Before you start your homework, write down your team. Who else did you work with on this homework? List
names and student IDs. (In case of hw party, you can also just describe the group.) How did you work on
this homework? Working in groups of 3-5 will earn credit for your Sundry grade.
#
1
2
3
4
5
Name(s)
Example Student
SID
00000000
Bush
48.9%
Buchanan
0.3%
Nader
1.6%
Browne
0.3%
Others
0.1%
In Palm Beach County, the actual votes cast (before the recounts began) were as follows:
Gore
268945
Bush
152846
Buchanan
3407
Nader
5564
Browne
743
Others
781
Total
432286
To model this situation probabilistically, we need to make some assumptions. Lets model the vote cast by each voter
in Palm Beach County as a random variable Xi , where Xi takes on each of the six possible values (five candidates
of Others) with the probabilities corresponding to the Florida percentages. (This, e.g., Pr[Xi = Gore] = 0.4888.)
There are a total of n = 432286 voters, and their votes are assumed to be mutually independent. Let the r.v.
B denote the total votes cast for Buchanan in Palm Beach County (i.e., the number of votes i for which Xi =
Buchanan).
a. Compute the expectation E[B] and the variance Var(B).
Solution
b. Use Chebyshevs inequality to compute an upper bound b on the probability that Buchanan receives at least
3407 votes, i.e., find a number b such that
Pr[B > 3407] 6 b
Based on this result, do you think Buchanans vote is significant?
Solution
c. Suppose that your bound b in part (b) is exactly accurate, i.e., assume that Pr[X > 3407] is exactly equal
to b. (In fact the true value of this probability is much smaller). Suppose also that all 67 counties in Florida
have the same number of voters as Palm Beach County, and that all behave independently according to the
same statistical model as Palm Beach County. What is the probability that in at least one of the counties,
Buchanan receives at least 3407 votes? How would this affect your judgment as to whether the Palm Beach
tally is significant?
Solution
X()
Y ()
random
1 2
0 0
0 2
a. Calculate V = L[Y | X]
Solution
b. Calculate W = E[Y | X]
Solution
c. Calculate E[(Y V )2 ]
Solution
d. Calculate E[(Y W )2 ]
Solution
variables X
3 4 5
1 1 2
3 5 2
and Y .
6
2
0