返回题库

掷骰决定抽样量:抽到绿球个数的期望

Expectation Computation of Selecting Green Balls

专题
Probability / 概率
难度
L4

题目详情

XX 表示掷一枚公平六面骰直到首次出现 6 的掷骰次数。给定 X=xX=x 后,从一个装有 5 个红球、4 个绿球的罐子中“有放回”抽取 xx 次。

YY 为样本中绿球的个数。求 E(Y)E(Y)

Let XX represent the number of rolls of a fair die until a six appears for the first time. Given X=xX = x, a sample of size xx is chosen with replacement from an urn containing 5 red balls and 4 green balls. Let YY be the number of green balls in the sample. Determine E(Y)E(Y).

解析

给定 X=xX=x,每次抽到绿球概率为 4/94/9,且独立,因此

YX=xBin(x,4/9),E[YX=x]=x49.Y\mid X=x\sim\mathrm{Bin}(x,4/9),\quad \mathbb{E}[Y\mid X=x]=x\cdot\frac{4}{9}.

XX 再取期望:XX 是参数 p=1/6p=1/6 的几何分布(取值从 1 开始),因此 E[X]=1/p=6\mathbb{E}[X]=1/p=6

所以

E[Y]=E[E[YX]]=49E[X]=496=83.\mathbb{E}[Y]=\mathbb{E}[\mathbb{E}[Y\mid X]]=\frac{4}{9}\mathbb{E}[X]=\frac{4}{9}\cdot 6=\frac{8}{3}.