Question: Write a function coupon(n) for simulating the coupon collectors problem. That is, let X be the number of draws required to obtain all n items
Write a function coupon(n) for simulating the coupon collector’s problem. That is, let X be the number of draws required to obtain all n items when sampling with replacement. Use your function to simulate the mean and standard deviation of X for n = 10 and n = 52.
Step by Step Solution
3.31 Rating (181 Votes )
There are 3 Steps involved in it
Function simco... View full answer
Get step-by-step solutions from verified subject matter experts
