题目
Problem
The random variable X has a continuous uniform distribution over the interval [−k,5k] where k>0
(a) Find, in terms of k, the probability density function of X for all values of x
(2)
(b) Sketch the graph of the probability density function of X
(2)
(c) Find the mean of X in terms of k
(1)
(d) Find, in terms of k, the cumulative distribution function of X for all values of x
(4)
The random variable Y is defined by Y=X2
(e) Find E(Y) in terms of k
(3)
(f) Find the exact probability that Y<2k2. Show your working clearly.
(3)
(Total for Question 3 is 15 marks)
题目中文翻译
随机变量 X 在区间 [−k,5k] 上连续均匀分布,其中 k>0。
(a) 用 k 表示 X 对所有 x 值的概率密度函数。
(b) 画出 X 的概率密度函数图像。
(c) 用 k 表示 X 的均值。
(d) 用 k 表示 X 对所有 x 值的累积分布函数。
随机变量 Y 定义为 Y=X2。
(e) 用 k 表示 E(Y)。
(f) 求 Y<2k2 的精确概率。清楚地展示你的计算过程。
(第 3 题共 15 分)
解答
(a)
解法一
思路
展开
连续均匀分布在支撑区间上的概率密度为区间长度的倒数。这里区间长度为 5k−(−k)=6k,区间外的概率密度为 0。
答题过程
展开
The length of the interval is
5k−(−k)=6k.
Therefore,
f(x)=⎩⎨⎧6k1,0,−k≤x≤5k,otherwise.
(b)
解法一
思路
展开
概率密度在 −k≤x≤5k 上恒为 1/(6k),区间外为 0。因此图像是在这两个端点之间的一条水平线,并须清楚标出横坐标端点和高度。
答题过程
展开
The graph is horizontal at height 1/(6k) from x=−k to x=5k, and lies on the x-axis outside this interval.
(c)
解法一
思路
展开
连续均匀分布的均值是区间两个端点的中点,直接代入端点 −k 与 5k 即可。
答题过程
展开
For a continuous uniform distribution,
E(X)=2−k+5k=2k.
(d)
解法一
思路
展开
累积分布函数为 F(x)=P(X≤x)。在支撑区间左侧,其值为 0;在区间内部,从左端点 −k 积分至 x;在右端点之后,累计概率为 1。最后必须写出完整的分段函数。
答题过程
展开
For −k≤x≤5k,
F(x)===∫−kx6k1dt[6kt]−kx6kx+k.
Hence, for all real x,
F(x)=⎩⎨⎧0,6kx+k,1,x<−k,−k≤x≤5k,x>5k.
解法二
思路
展开
在支撑区间内,均匀分布的累积分布函数是一条直线。这条直线经过 (−k,0) 与 (5k,1),可先由两点求斜率,再写出直线方程。
答题过程
展开
For −k≤x≤5k, the graph of F is the straight line through (−k,0) and (5k,1). Its gradient is
5k−(−k)1−0=6k1.
Writing F(x)=x/(6k)+c and using F(−k)=0 gives c=1/6. Therefore,
F(x)=⎩⎨⎧0,6kx+61,1,x<−k,−k≤x≤5k,x>5k.
(e)
解法一
思路
展开
由于 Y=X2,所以 E(Y)=E(X2)。先用连续均匀分布的方差公式求 Var(X),再利用 E(X2)=Var(X)+[E(X)]2,并承接 (c) 的均值结果。
答题过程
展开
For a continuous uniform distribution,
Var(X)===12(5k−(−k))212(6k)23k2.
Using E(X)=2k from part (c),
E(Y)====E(X2)Var(X)+[E(X)]23k2+(2k)27k2.
解法二
思路
展开
也可以直接使用期望的积分定义,把 Y=X2 乘以 (a) 的概率密度函数,并在整个支撑区间上积分。
答题过程
展开
Directly from the probability density function,
E(Y)=====E(X2)∫−k5k6kx2dx6k1[3x3]−k5k18k125k3−(−k3)7k2.
(f)
解法一
思路
展开
先把关于 Y 的不等式改写成关于 X 的不等式。由 X2<2k2 得 −2k<X<2k;但 X 的实际支撑区间从 −k 开始,而 k>0,所以须取两个区间的交集,再利用均匀分布下“概率等于区间长度之比”。
答题过程
展开
Since Y=X2,
P(Y<2k2)==P(X2<2k2)P(−2k<X<2k).
As k>0, −2k<−k and 2k<5k. Intersecting this interval with the support [−k,5k] gives
P(Y<2k2)=P(−k<X<2k).
Therefore,
P(Y<2k2)==6k2k−(−k)62+1.
解法二
思路
展开
确定有效事件为 −k<X<2k 后,也可直接代入 (d) 的累积分布函数。由于连续随机变量在单点上的概率为 0,严格不等号不会改变结果。
答题过程
展开
Using the cumulative distribution function from part (d),
P(Y<2k2)====P(−k<X<2k)F(2k)−F(−k)(6k2k+k)−062+1.