[Prob] (Coupon collector)

Suppose there are n types of toys, which you are collecting one by one, with the goal of getting a complete set. When collecting toys, the toy types are random (as is sometimes the case, for example, with toys included in cereal boxes or included with kids' meals from a fast food restaurant).

Assume that each time you collect a toy, it is equally likely to be any of the n types. What is the expected number of toys needed until you have a complete set?

Solution: Let N be the number of toys needed; we want to find E(N). Our strategy will be to break up N into a sum of simpler r.v.s so that we can apply linearity. So write

N = N1 + N2 + · · · + Nn,

where N1 is the number of toys until the first toy type you haven't seen before (which is always 1, as the first toy is always a new type), N2 is the additional number of toys until the second toy type you haven't seen before, and so forth.

with

相关推荐
金色光环17 小时前
概率论笔记:连续型随机变量函数的分布与尺度变换 连续型随机变量函数的分布:定义法与公式法推导
笔记·概率论
tigershang10 天前
从工具到结构:工科数学的升阶之路
神经网络·机器学习·概率论
computersciencer15 天前
事件的六种关系之包含关系
程序人生·数学建模·数据分析·概率论
红烧code21 天前
统计学中的六大估计方法:从最大似然到核密度估计的本质理解
数学建模·概率论
啥都想学点的研究生23 天前
一篇文章讲清楚:朴素贝叶斯
人工智能·机器学习·概率论
知识分享小能手1 个月前
深度学习学习教程,从入门到精通,概率与信息论 — 知识点详解(3)
人工智能·深度学习·学习·数据挖掘·概率论
知识分享小能手1 个月前
概理论与数理统计学习教程,从入门到精通,平稳随机过程(27)
学习·数据挖掘·概率论
知识分享小能手1 个月前
概理论与数理统计学习教程,从入门到精通,马尔可夫链(25)
学习·机器学习·概率论
爱喝热水的呀哈喽1 个月前
阿里镜像安装gpu torch
概率论
2301_800895101 个月前
概率论保研面试---h
概率论