题目
Problem
A continuous random variable X has cumulative distribution function F(x) given by
F(x)=⎩⎨⎧0,k(ax+bx3−x4−4),1,x<1,1⩽x⩽2,x>2,
where a, b and k are non-zero constants.
Given that the mode of X is 1.5
(a) show that b=3
(3)
(b) Hence show that a=2
(1)
(c) Show that the median of X lies between 1.4 and 1.5
(4)
(Total for Question 7 is 8 marks)
题目中文翻译
连续随机变量 X 的累积分布函数 F(x) 为
F(x)=⎩⎨⎧0,k(ax+bx3−x4−4),1,x<1,1⩽x⩽2,x>2,
其中 a、b 和 k 是非零常数。
已知 X 的众数为 1.5。
(a) 证明 b=3。
(b) 由此证明 a=2。
(c) 证明 X 的中位数在 1.4 和 1.5 之间。
(第 7 题共 8 分)
解答
(a)
解法一
思路
展开
先对累积分布函数求导得到概率密度函数,再对密度函数求导。众数 1.5 是密度函数的极大值位置,因此在该处令密度函数的导数为 0,即可解出 b。
答题过程
展开
For 1<x<2, the probability density function is
f(x)=F′(x)=k(a+3bx2−4x3).
Therefore,
f′(x)=k(6bx−12x2).
Since the mode is x=1.5, the density has a stationary point there. Hence
k[6b(1.5)−12(1.5)2]=9b−27=b=0,0,3,
as required.
(b)
解法一
思路
展开
连续随机变量的累积分布函数连续。由于 x<1 时 F(x)=0,所以必须有 F(1)=0。把 (a) 得到的 b=3 代入这个边界条件,便可由此推出 a=2。
答题过程
展开
Since X is continuous and F(x)=0 for x<1,
F(1)=0.
Using b=3 from part (a),
k(a+3−1−4)=a−2=0,0.
As k=0,
a=2.
(c)
解法一
思路
展开
先利用右端边界条件 F(2)=1 求出 k。中位数 m 满足 F(m)=0.5;分别计算 F(1.4) 与 F(1.5),若前者小于 0.5 而后者大于 0.5,再利用累积分布函数单调不减即可夹出中位数的位置。
答题过程
展开
Since F(2)=1,
k[2(2)+3(23)−24−4]=8k=1,1,
so k=81. Thus, for 1⩽x⩽2,
F(x)=81(2x+3x3−x4−4).
Now
F(1.4)=F(1.5)=0.3988…,0.5078125.
Therefore,
F(1.4)<0.5<F(1.5).
Since a cumulative distribution function is non-decreasing, the median m, for which F(m)=0.5, satisfies
1.4<m<1.5.
解法二
思路
展开
也可以直接令 F(x)=0.5,数值求出中位数。所得方程还有定义域外或非实数的根,因此必须只保留累积分布函数有效区间 1⩽x⩽2 内的实根,再与 1.4、1.5 比较。
答题过程
展开
Setting F(x)=0.5 gives
81(2x+3x3−x4−4)=21,
so
−x4+3x3+2x−8=0.
Solving numerically, the only real root in the interval 1⩽x⩽2 is
x=1.492857…
Hence
1.4<1.492857…<1.5,
so the median lies between 1.4 and 1.5.