Coupon collecting with equal probability
I love this question because it reminds me of when I grinded for purple loots in World of Warcraft.
Independent trials of picking one of N coupons with equal probability, what is the expected number you have to collect to get a full set? Reasonable question.
Let $X$ bet the number of coupons to collect a full set. So for example the $P(X < N)=0$ since you're not going to collect all N types before N picks.
Now cleverly realize that $X = X_0 + ...$ where each $X_i$ is a RV that equals the number of coupons to collect to get a new type not already collected. From this you notice that each $X_i$ is a Geometric RV with probability $p=\frac{N-i}{N}$ and expected value $\frac{1}{p} = \frac{N}{N-i}$. Important to note is that you start at $X_0$ because you will get a new coupon for sure on the first pick that you don't already have.
Now using the LOE you can do $E[X] = E[X_0+...+X_{N-1}] = E[X_0] +...+ E[X_{N-1}] = \frac{N}{N}+\frac{N}{N-1}+\frac{N}{N-2}+...+\frac{N}{1}$
This grows faster than linear (which makes sense as you add more coupons to collect) but not as fast as $x^2$. It grows at approximately $1.1xlnx$ if my calculations are correct. For example if there are 500 coupons then the expected number of picks is about $3400$ to get a complete set.
Articles
Personal notes I've written over the years.
- When does the Binomial become approximately Normal
- Gambler's ruin problem
- The t-distribution becomes Normal as n increases
- Marcus Aurelius on death
- Proof of the Central Limit Theorem
- Proof of the Strong Law of Large Numbers
- Deriving Multiple Linear Regression
- Safety stock formula derivation
- Derivation of the Normal Distribution
- Comparing means of Normal populations
- Concentrate like a Roman
- How to read a Regression summary in R
- Notes on Expected Value
- How to read an ANOVA summary in R
- The time I lost faith in Expected Value
- Notes on Weighted Linear Regression
- How information can update Conditional Probability
- Coupon collecting singeltons with equal probability
- Coupon collecting with n pulls and different probabilities
- Coupon collecting with different probabilities
- Coupon collecting with equal probability
- Adding Independent Normals Is Normal
- The value of fame during and after life
- Notes on the Beta Distribution
- Notes on the Gamma distribution
- Notes on Conditioning
- Notes on Independence
- A part of society
- Conditional Expectation and Prediction
- Notes on Covariance
- Deriving Simple Linear Regression
- Nature of the body
- Set Theory Basics
- Polynomial Regression
- The Negative Hyper Geometric RV
- Notes on the MVN
- Deriving the Cauchy density function
- Exponential and Geometric relationship
- Joint Distribution of Functions of RVs
- Order Statistics
- The Sample Mean and Sample Variance
- Probability that one RV is greater than another
- St Petersburg Paradox
- Drunk guy by a cliff
- The things that happen to us