Professional Documents
Culture Documents
(1)
(2)
1http://www.cdc.gov/flu/about/season/flu-season-2016-2017.htm
2This problem is a popular guest at various tests, exams, and interviews.
3The exact definition of a normal number is a bit more complicated, https://en.wikipedia.
org/wiki/Normal_number.
1
(3)
Surely, this does not look random. In this problem, we will investigate whether this
fact indeed contradicts the normality hypothesis.
(a) Suppose that independent trials, each of which is equally likely to have any
of m possible outcomes {1, 2, . . . , m} are performed until the same outcome
occurs k consecutive times. Let Nk denote the number of trials. Show that
E[Nk ] = 1 + m + . . . + mk1 .
(4)
(b) If the normality hypothesis is true, the fact (3) means that n9 = 24, 658, 609
is a realization of random variable N9 with m = 10. The further away n9
from the mean E[N9 ] is, the stronger the evidence against the hypothesis.
If n9 is less then one standard standard deviation (which is the square root
of the variance) away from the mean, then the evidence is considered to be
weak. Use the fact that V[Nk ] E[Nk ]2 to assess whether the evidence is
weak or not.
Problem 5. (10 points) Democrats vs Republicans.
Assume for simplicity that all people living in the US support either Democrats
or Republicans. Draw a county at random, and Q and 1 Q be respectively the
proportions of people in that county that support the Democratic and Republican
parties. Suppose that Q is uniformly distributed, Q U [0, 1]. This model is
reasonable if we know nothing about the true distribution of Democrats. If some
information is available however, then more realistic models can be used, such as
the beta distribution, which is often used for modeling proportions5. Next, draw n
people at random from that county, and let X be the number of those people who
support Democrats. Given Q = q, we can model X as a Binomial random variable,
X|Q = q Bin(n, q). Find the expected value of X and its variance.
4For a popular introduction, see the following Huffington Post article at http://www.
huffingtonpost.com/david-h-bailey/are-the-digits-of-pi-random_b_3085725.html.
5The uniform distribution on [0, 1] is a special case of the beta distribution Beta(, ) with
= = 1.