题目
Problem
The waiting time, T minutes, of a customer to be served in a local post office has probability density function
f(t)=⎩⎨⎧501(18−2t)0⩽t⩽32013<t⩽50otherwise
Given that the mean number of minutes a customer waits to be served is 1.66
(a) use algebraic integration to find Var(T), giving your answer to 3 significant figures.
(5)
(b) Find the cumulative distribution function F(t) for all values of t.
(4)
(c) Calculate the probability that a randomly chosen customer’s waiting time will be more than 2 minutes.
(2)
(d) Calculate
P([E(T)−2]<T<[E(T)+2])
(2)
(Total for Question 5 is 13 marks)
题目中文翻译
当地邮局一位顾客的等待时间 T(单位:分钟)服从如下概率密度函数:
f(t)=⎩⎨⎧501(18−2t)0⩽t⩽32013<t⩽50otherwise
已知顾客的平均等待时间是 1.66 分钟。
(a) 使用代数积分求 Var(T),答案保留 3 位有效数字。
(5)
(b) 求所有取值下的累积分布函数 F(t)。
(4)
(c) 求随机选取一位顾客等待时间超过 2 分钟的概率。
(2)
(d) 求
P([E(T)−2]<T<[E(T)+2])
(2)
(第 5 题共 13 分)
解答
(a)
解法一
思路
展开
先求二阶矩,再减去均值的平方。由于概率密度函数在 t=3 处分段,计算二阶矩时要分成两个定积分;最后代入题目给出的均值 1.66。
答题过程
展开
Let A and B be the contributions to the second moment from the two intervals.
====A501∫03(18t2−2t3)dt[253t3−100t4]032581−10081100243.
B====∫3520t2dt[60t3]3560125−60273049.
Thus
E(T2)====A+B100243+304930012194.063…
Therefore,
====Var(T)E(T2)−[E(T)]23001219−(1.66)21.3077…1.31(3 s.f.).
(b)
解法一
思路
展开
按定义 F(t)=P(T⩽t) 分段积分。第一段从 0 积到 t;第二段先计入 F(3)=0.9,再加上从 3 到 t 的面积。支持区间外分别取 0 和 1。
答题过程
展开
For 0⩽t⩽3,
F(t)==∫0t5018−2xdx5018t−t2.
Hence F(3)=45/50=0.9. For 3<t⩽5,
F(t)===F(3)+∫3t201dx0.9+20t−320t+0.75.
Therefore,
F(t)=⎩⎨⎧0t<05018t−t20⩽t⩽320t+0.753<t⩽51t>5.
解法二
思路
展开
分别对两段密度作不定积分,再用端点的累积概率确定常数。第一段用 F(0)=0,第二段用 F(5)=1;最后核对两段在 t=3 处相接。
答题过程
展开
For 0⩽t⩽3,
F(t)=5018t−t2+C1.
Using F(0)=0 gives C1=0.
For 3<t⩽5, integrating the constant density gives
F(t)=20t+C2.
Since F(5)=1,
1=C2=205+C2,0.75.
The two pieces both give F(3)=0.9. With F(t)=0 for t<0 and F(t)=1 for t>5, this gives the same full cumulative distribution function as above.
(c)
解法一
思路
展开
等待时间超过 2 分钟是累积事件 T⩽2 的补集,因此用 (b) 中适用于 0⩽t⩽3 的一段计算 1−F(2)。
答题过程
展开
===P(T>2)1−F(2)1−5018(2)−220.36.
解法二
思路
展开
直接求 t=2 到 t=5 下方的面积也可以。这个区间跨过 t=3,因此把积分分成两段,再将结果相加。
答题过程
展开
=====P(T>2)∫235018−2tdt+∫35201dt[5018t−t2]23+[20t]355045−32+205−30.26+0.100.36.
(d)
解法一
思路
展开
先把题目给出的均值代入上下界,得到 −0.34<T<3.66。由于 T 不会小于 0,所求概率就是 F(3.66),并使用累积分布函数的第三段。
答题过程
展开
Write the two bounds as u=E(T)−2 and v=E(T)+2. Since E(T)=1.66,
u=v=1.66−2=−0.34,1.66+2=3.66.
As T⩾0,
====P(u<T<v)P(−0.34<T<3.66)F(3.66)203.66+0.750.933.