题目
Problem
The random variable X has the geometric distribution Geo(p).
(a) Show that the probability generating function of X is 1−qtpt, where q=1−p.
[3]
(b) Use the probability generating function of X to show that Var(X)=p2q.
[5]
Kenny throws an ordinary fair 6-sided dice repeatedly. The random variable X is the number of throws that Kenny takes in order to obtain a 6. The random variable Z denotes the sum of two independent values of X.
(c) Find the probability generating function of Z.
[2]
题目中文翻译
随机变量 X 服从几何分布 Geo(p)。
(a) 证明 X 的概率生成函数为 1−qtpt,其中 q=1−p。
(3)
(b) 使用 X 的概率生成函数证明 Var(X)=p2q。
(5)
Kenny 反复投掷一枚普通公平的 6 面骰子。随机变量 X 表示 Kenny 为了掷出 6 所需的投掷次数。随机变量 Z 表示两个相互独立的 X 的取值之和。
(c) 求 Z 的概率生成函数。
(2)
原卷通用作答要求
Answer all questions. You should use a calculator where appropriate.
You must show all necessary working clearly; no marks will be given for unsupported answers from a calculator.
Give non-exact numerical answers correct to 3 significant figures, or 1 decimal place for angles in degrees, unless a different level of accuracy is specified in the question.
请回答所有题目。适当时应使用计算器。必须清楚展示所有必要的计算过程;仅给出计算器答案而没有过程,不予评分。除非题目另有精度要求,非精确数值答案保留 3 位有效数字,以度为单位的角度保留 1 位小数。
解答
(a)
解法一
思路
展开
把首次成功发生在第 j 次的概率乘以 tj。这些项形成公比为 qt 的等比级数。
答题过程
展开
The geometric distribution counts trials up to and including the first success. For j≥1, Pr(X=j)=qj−1p, where q=1−p. Thus
==GX(t)=j=1∑∞pqj−1tjptj=0∑∞(qt)j1−qtpt
where ∣qt∣<1.
(b)
解法一
思路
展开
求生成函数在 1 处的一阶和二阶导数。二阶导数给出阶乘矩,需要加回均值才能得到二阶矩。
答题过程
展开
Differentiating and simplifying,
GX′(t)===GX′′(t)=p(1−qt)−1+pqt(1−qt)−2(1−qt)2p(1−qt)+pqtp(1−qt)−2,2pq(1−qt)−3.
Since 1−q=p,
GX′(1)=p1,GX′′(1)=p22q.
Therefore
Var(X)===GX′′(1)+GX′(1)−[GX′(1)]2p22q+p1−p21p22q+p−1=p2q.
(c)
解法一
思路
展开
每次掷出 6 的概率为 1/6。先代入 (a),再用独立性求两个等待次数之和的生成函数。
答题过程
展开
Here p=1/6 and q=5/6, so GX(t)=t/(6−5t). Since Z is the sum of two independent copies,
GZ(t)=(6−5tt)2.