Write a function coupon(n) for simulating the coupon collectors problem. That is, let X be the number

Question:

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.

Coupon
A coupon or coupon payment is the annual interest rate paid on a bond, expressed as a percentage of the face value and paid from issue date until maturity. Coupons are usually referred to in terms of the coupon rate (the sum of coupons paid in a...
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: