题目
Problem
Figure 1 shows an accurate graph of the cumulative distribution function, F(x), for the continuous random variable X
(a) Find P(3<X<7)
(2)
The probability density function of X is given by
f(x)=⎩⎨⎧a,b,c,0,2⩽x<4,4⩽x<6,6⩽x⩽8,otherwise,
where a, b and c are constants.
(b) Find the value of a, the value of b and the value of c
(3)
(c) Find E(X)
(3)
(Total for Question 3 is 8 marks)
题目中文翻译
图 1 给出了连续随机变量 X 的累积分布函数 F(x) 的精确图像。
(a) 求 P(3<X<7)。
X 的概率密度函数为
f(x)=⎩⎨⎧a,b,c,0,2⩽x<4,4⩽x<6,6⩽x⩽8,其他情况,
其中 a、b 和 c 为常数。
(b) 求 a、b 和 c 的值。
(c) 求 E(X)。
(第 3 题共 8 分)
解答
(a)
解法一
思路
展开
对于连续随机变量,区间概率可由 CDF 两端的函数值相减。根据 Figure 1 读出 F(3)=0.2 与 F(7)=0.7。
答题过程
展开
From Figure 1,
F(3)=0.2,F(7)=0.7.
Therefore,
P(3<X<7)===F(7)−F(3)0.7−0.20.5.
(b)
解法一
思路
展开
概率密度函数是 CDF 的导数。Figure 1 在三个区间上都是直线,因此 a,b,c 分别等于对应线段的斜率。
答题过程
展开
For 2⩽x<4, the gradient of F is
a=4−20.4−0=0.2.
For 4⩽x<6, F is constant, so
b=0.
For 6⩽x⩽8, the gradient is
c=8−61−0.4=0.3.
Hence,
a=0.2,qquadb=0,qquadc=0.3.
(c)
解法一
思路
展开
使用连续随机变量的期望公式 E(X)=∫xf(x)dx。由于中间一段密度为 0,只需计算区间 [2,4] 和 [6,8] 上的两个积分。
答题过程
展开
Using the values from part (b),
E(X)====∫240.2xdx+∫680.3xdx[0.1x2]24+[0.15x2]681.2+4.25.4.
解法二
思路
展开
官方评分资料也接受分段加权法。[2,4] 段的概率质量为 2(0.2)=0.4,条件均值是区间中点 3;[6,8] 段的概率质量为 2(0.3)=0.6,条件均值是中点 7。
答题过程
展开
The probability masses on [2,4] and [6,8] are respectively
2(0.2)=0.4and2(0.3)=0.6.
The conditional means of the two uniform sections are 3 and 7. Therefore,
E(X)==3(0.4)+7(0.6)5.4.