
ECE 313 Problem Set # 7 Fall 2002
Assigned: 10/9/16 Due: Wednesday 10/16/02
More discrete random variables
Assigned reading: Review Ross, Chapter 4.
Noncredit exercises: Chapter 4, Problems 35-43, 47-59, 70, and Theoretical Exercises 16-18, 25, 26.
1. Maximum variance Bernoulli and binomial random variables
(a) Suppose Xis a Bernoulli random variable with parameter p. So 0 ≤p≤1 and P[X= 1] = pand
P[X= 0] = 1 −p. What value of pmaximizes the variance of X, and what is the maximum value of the
variance?
(b) Suppose Yis a binomial random variable with parameters nand p. What value of pmaximizes the
variance of Y(for nfixed), and what is the maximum value of the variance?
2. Poisson distribution potpourri
(a) Let Xbe the number of leaves that fall off a certain tree in a one-minute interval of a sunny, windless
autumn afternoon in Urbana-Champaign. Explain why Xcan be viewed as a binomial random variable with
a very large parameter nand a very small parameter p. What is n? What is p?
(b) Accordingly, it is reasonable to suppose that Xis a Poisson random variable with mean λfor some
λ > 0. Suppose that λis unknown, but it is decided that λwill be estimated by observing X. If X= 12 is
observed, find the maximum likelihood estimate ˆ
λML . This is the value of λthat maximizes P[X= 12], or
equivalently, maximizes ln P[X= 12].
(c) Express P[X= 2|X≤3] as a function of λ.
3. On the shape of the Poisson distribution
State and prove a version of Proposition 6.1 (Ross, Section 4.6.1) in case Xis a Poisson random variable
with parameter λ > 0, and kgoes from 0 to ∞. (Hint: Very few changes are needed.)(Note: Working with
the ratios P[X=k]/P [X=k−1] is useful for numerical computation of binomial and Poisson distributions.
See Sections 4.6.2 and 4.7.1.)
4. Poisson approximation and the birthday paradox
This problem is about the birthdays of the students in a class. For the sake of this problem, assume every
year has 365 days (i.e. ignore leap years). Assume that the 365 possible birthdays are equally likely for each
student, and that the birthdays of the different students are independent.
(a) Suppose the students reveal their birthdays one at a time. Given that the first kstudents have distinct
birthdays, what is the probability that the k+ 1st student has a birthday distinct from the first k?
(b) Find a fairly simple expression for the probability that the birthdays of the first kstudents are distinct.
Compute your answer for k= 10,20,and 30. (Hint: Use part (a). A calculator or simple computer program
is useful. Your answers may be smaller than you might have guessed ahead of time. That is the “birthday
paradox.” Like most paradoxes, this one can be explained by sharpened intuition. Such explanation is the
purpose of the remainder of this problem.)
(c) Consider the first kstudents. Let Eij denote the event that the birthdays of students iand jare the same,
for 1 ≤i < j ≤k. Find P[E12], P[E12E13 ], and P[E12E13E23 ]. Are the events Eij pairwise independent?
Are they independent? (Hint: just check the definitions. Show your work.)
(d) Again consider the first kstudents. Let Xdenote the number of the events Eij with 1 ≤i < j ≤kthat
are true. Note that P[X= 0] = P[all kbirthdays are distinct]. Intuitively, the events Eij are approximately
independent. There are N=k
2such events, so that Xhas approximately the binomial distribution with
parameters Nand p=1
365 . Since Nis reasonably large (if kis large enough) and pis small, the random
variable Xhas approximately the Poisson distribution with mean λ=N p. Using this observation, give a
simple approximation to P[X= 0] in terms of kand λ. Compare the numerical values to those found in
part (b) for k= 10,k= 20, and k= 30. (Note: your answers are so small because λis roughly prop ortional
to k2, not just proportional to k.)