题目
Problem
The continuous random variable Y has the following probability density function
f(y)=⎩⎨⎧256(y−1)for 1⩽y<2503(4y2−y3)for 2⩽y<40otherwise
(a) Sketch f(y)
(2)
(b) Find the mode of Y
(3)
(c) Use algebraic integration to calculate E(Y2)
(4)
Given that E(Y)=2.696
(d) find Var(Y)
(2)
(e) Find the value of y for which P(Y⩾y)=0.9
Give your answer to 3 significant figures.
(4)
(Total for Question 3 is 15 marks)
题目中文翻译
连续随机变量 Y 的概率密度函数为
f(y)=⎩⎨⎧256(y−1)for 1⩽y<2503(4y2−y3)for 2⩽y<40otherwise
(a) 画出 f(y) 的图像。
(2)
(b) 求 Y 的众数。
(3)
(c) 使用代数积分求 E(Y2)。
(4)
已知 E(Y)=2.696。
(d) 求 Var(Y)。
(2)
(e) 求满足 P(Y⩾y)=0.9 的 y 值,并将答案取 3 位有效数字。
(4)
(第 3 题共 15 分)
解答
(a)
解法一
思路
展开
在 1⩽y<2,图像是一条从 (1,0) 上升到左极限 (2,6/25) 的直线。在 y=2,第二段给出函数值 12/25,所以此处有跳跃;随后曲线先上升,在 y=8/3 达到峰值,再下降至 (4,0)。定义域外密度为 0。
答题过程
展开
The sketch has the following key features:
- f(y)=0 for y<1 and for y⩾4;
- a straight line from (1,0) towards (2,6/25) for 1⩽y<2;
- a jump at y=2, where f(2)=12/25;
- a curved section with a maximum at y=8/3, returning to (4,0).
(b)
解法一
思路
展开
第一段密度一直递增,但其最高值不超过 6/25;第二段从 12/25 开始,显然更高。因此只需对第二段密度求导,令导数为 0,并排除不在区间内或不是内部峰值的解。
答题过程
展开
For 2⩽y<4,
f(y)=503(4y2−y3).
Differentiating,
f′(y)==503(8y−3y2)503y(8−3y).
Setting f′(y)=0 gives
y=0ory=38.
The value y=0 is outside this part of the support. Also,
f′(y)>0for 2<y<38
and
f′(y)<0for 38<y<4.
Thus the density has its global maximum at
mode(Y)=38.
(c)
解法一
思路
展开
二阶矩定义为 E(Y2)=∫y2f(y)dy。密度函数在 y=2 前后表达式不同,所以必须拆成两个定积分,并完整展开后逐项积分。
答题过程
展开
=======E(Y2)∫12y2256(y−1)dy+∫24y2503(4y2−y3)dy∫12(256y3−256y2)dy+∫24(5012y4−503y5)dy[1006y4−756y3]12+[25012y5−3003y6]24[258−(−501)]+[1251024−125112]5017+12591225019097.636.
(d)
解法一
思路
展开
利用 (c) 求出的精确二阶矩,并代入题目给出的 E(Y)=2.696。用二阶矩减去均值的平方,即可得到方差。
答题过程
展开
Using the result from part (c),
====Var(Y)E(Y2)−[E(Y)]22501909−(2.696)20.3675840.368(3 s.f.).
(e)
解法一
思路
展开
P(Y⩾y)=0.9 等价于左侧面积为 0.1。先算第一段在 [1,2] 下方的总面积为 3/25=0.12,因此所求 y 位于第一段。该部分是三角形,可直接用底乘高的一半建立方程。
答题过程
展开
Since
P(Y⩽y)=1−0.9=0.1,
and
==P(Y<2)21(2−1)(256)253=0.12,
the required value lies in 1<y<2.
The area under the straight-line section from 1 to y is a triangle, so
21(y−1)×[256(y−1)]=0.1.
Thus,
253(y−1)2=(y−1)2=y=101651±65.
Only the positive sign gives a value in [1,2), so
y===1+651.91287…1.91(3 s.f.).
解法二
思路
展开
也可以直接积分。由所求分位数位于 [1,2),把第一段密度从 1 积分到 y 并令结果等于 0.1,即可得到同一个方程。
答题过程
展开
For 1<y<2,
∫1y256(t−1)dt=256[2t2−t]1y=253(y−1)2=0.10.10.1.
Therefore,
y==1+651.91(3 s.f.),
where the other algebraic solution is rejected because it is outside the interval [1,2).