[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

相关推荐
changjh12 天前
线性回归的似然函数推导
机器学习·线性回归·概率论
AI科技星3 天前
精细结构常数α的多维度物理比值特性及空间螺旋模型研究
人工智能·线性代数·架构·概率论·学习方法
AI科技星3 天前
基于奇合数边界的离散解析数论与双螺旋宇大统一体系(中英文双语纯净终稿)
人工智能·线性代数·架构·概率论·学习方法
chsmiao4 天前
深度学习之概率论
人工智能·深度学习·概率论
词元Max4 天前
3.4 概率论基础:贝叶斯思维与不确定性
概率论
Eloudy4 天前
光子的单缝衍射模型
线性代数·机器学习·概率论
AI科技星5 天前
依托Gε₀ = e²/(4παmₚ²)核心方程:全新公式推导+原创理论提炼+全维度精算验证
人工智能·线性代数·架构·概率论·学习方法
AI科技星8 天前
国家重点研发计划项目申报书
人工智能·线性代数·架构·概率论·学习方法
AI科技星8 天前
基于**v=c(空间光速螺旋运动)唯一第一性原理**重新完整求导证明
人工智能·线性代数·算法·机器学习·架构·概率论·学习方法
hai3152475439 天前
AI工业化编程的黎明:由逻辑压缩到知识融合的范式跃迁
开发语言·人工智能·线性代数·机器学习·数学建模·概率论