Seyed Masoud Hosseini · Overview · Study log · Ideas · Transcript · RSS feed
Probability · Lecture 23 of 76 · 7:15
The Coupon Collector Problem
Study guide
What this lecture covers
This recitation problem solves the classic coupon collector's problem: given a random draw each round from K equally likely categories (here, six possible grades), how many draws are expected before every category has appeared at least once? It builds on linearity of expectation and the geometric distribution from earlier in the course.
You'll see the standard trick of splitting a hard-to-analyze stopping time into a sum of simpler geometric random variables, then using linearity of expectation to add up their individual expectations without worrying about dependence between them.
Key ideas
- Stopping time decomposition: define
Y_ias the number of draws until the i-th new category appears, andX_i = Y_(i+1) - Y_ias the number of draws between consecutive new categories. - Telescoping sum:
Y_K(the total time to see all K categories) equals the sum of theX_idifferences, soE[Y_K] = E[sum of X_i]. - Geometric distribution per stage: once
icategories have been seen, each further draw succeeds (reveals a new category) with probability(K-i)/K, soX_iis geometric with that success parameter. - Expectation of a geometric variable: for success probability
p, the expected number of trials to succeed is1/p. - Linearity of expectation:
E[sum of X_i] = sum of E[X_i], which holds even though theX_iare not independent of each other in a simple way. - Harmonic sum result: for
K=6, the expected number of draws works out to6times a sum of reciprocals, giving approximately14.7. - General scaling law: for general
K,E[Y_K] = K * sum(1/i for i=1..K-1), which grows roughly likeK * ln(K).
Before you watch
- Know the geometric distribution and its expectation formula.
- Be comfortable with linearity of expectation, including that it applies to dependent random variables.
- This problem assumes you've seen discrete random variables and expectation from earlier lectures in the course.
Check your understanding
- Why is
X_igeometric with parameter(K-i)/Krather than a fixed parameter for everyi? - Why does linearity of expectation apply here even though the
X_iare not independent? - How does the expected time change if
Kdoubles, based on theK * ln(K)scaling law? - What would change in this analysis if the categories were not equally likely?
From the YouTube description
MIT 6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013
View the complete course: http://ocw.mit.edu/6-041SCF13
Instructor: Kuang Xu
License: Creative Commons BY-NC-SA
More information at http://ocw.mit.edu/terms
More courses at http://ocw.mit.edu
← Joint Probability Mass Function (PMF) Drill 1 · Lecture 7: Discrete Random Variables III →
