题目
Problem
(i) The probability density function of a continuous random variable X is given by
f(x)=⎩⎨⎧20x301⩽x⩽3otherwise
(a) Using algebraic integration find E(X2). You must show your working.
(3)
Given that E(X)=2.42
(b) find the value of Var(X) correct to 3 significant figures.
(2)
(ii) A random sample of size 10 is taken from a continuous random variable Y.
(a) Find the probability that at least 7 of these values are smaller than the upper quartile of Y.
(3)
(b) Find the probability that less than or equal to 5 of these values are larger than the upper quartile of Y.
(2)
(Total for Question 4 is 10 marks)
题目中文翻译
(i) 连续随机变量 X 的概率密度函数为
f(x)=⎩⎨⎧20x301⩽x⩽3otherwise
(a) 使用代数积分求 E(X2)。你必须展示你的计算过程。
已知 E(X)=2.42
(b) 求 Var(X) 的值,精确到 3 位有效数字。
(ii) 从连续随机变量 Y 中随机抽取大小为 10 的样本。
(a) 求其中至少 7 个值小于 Y 的上四分位数的概率。
(b) 求其中不超过 5 个值大于 Y 的上四分位数的概率。
(第 4 题共 10 分)
解答
(i)(a)
解法一
思路
展开
连续随机变量的二阶矩为 E(X2)=∫x2f(x)dx。概率密度只在 1≤x≤3 时非零,因此在这个区间内积分并保留精确值。
答题过程
展开
Using the definition of the second moment,
E(X2)====∫13x2(20x3)dx[120x6]1312036−161591.
(i)(b)
解法一
思路
展开
利用方差公式 Var(X)=E(X2)−[E(X)]2,代入 (a) 的精确二阶矩与题目给出的均值 2.42,再按要求取 3 位有效数字。
答题过程
展开
Using the result from part (i)(a),
Var(X)===E(X2)−[E(X)]21591−(2.42)20.210266…
Therefore, correct to 3 significant figures,
Var(X)=0.210.
(ii)(a)
解法一
思路
展开
任意一个样本值小于上四分位数的概率为 0.75。令 S 表示 10 个样本值中小于上四分位数的个数,则 S 服从二项分布,所求为 P(S≥7)。
答题过程
展开
Let S be the number of sample values smaller than the upper quartile of Y. Since Y is continuous,
S∼B(10,0.75).
Therefore,
P(S≥7)===≈1−P(S≤6)1−0.22412…0.77587…0.776.
解法二
思路
展开
也可改为统计大于上四分位数的样本值。由于分布连续,样本值恰好等于上四分位数的概率为 0;至少 7 个值较小,等价于至多 3 个值较大。
答题过程
展开
Let L be the number of sample values larger than the upper quartile of Y. Then
L∼B(10,0.25).
Hence
P(L≤3)=0.77587…≈0.776.
(ii)(b)
解法一
思路
展开
继续令 L 表示大于上四分位数的样本值个数,则 L∼B(10,0.25),题目所求可直接写成累积概率 P(L≤5)。
答题过程
展开
Using L∼B(10,0.25),
P(L≤5)=0.98027…≈0.980.
解法二
思路
展开
若沿用“较小值的个数” S,至多 5 个值较大等价于至少 5 个值较小,因此可用补事件计算 P(S≥5)。
答题过程
展开
Using S∼B(10,0.75),
P(S≥5)===≈1−P(S≤4)1−0.019727…0.98027…0.980.