A random sample of 50 values of the continuous random variable X was taken. These values are summarised in the following table.
Interval
1≤x<1.5
1.5≤x<2
2≤x<2.5
2.5≤x<3
3≤x<3.5
3.5≤x≤4
Observed frequency
3
3
8
11
13
12
It is required to test the goodness of fit of the distribution with probability density function f given by
f(x)=⎩⎨⎧241(x24+x2),0,1≤x≤4,otherwise.
The expected frequencies, correct to 4 decimal places, are given in the following table.
Interval
1≤x<1.5
1.5≤x<2
2≤x<2.5
2.5≤x<3
3≤x<3.5
3.5≤x≤4
Expected frequency
4.4271
a
6.1285
8.4549
b
14.9678
(a) Show that a=4.6007 and find the value of b.
[3]
(b) Carry out a goodness of fit test, at the 10% significance level, to test whether f is a satisfactory model for the data.
[6]
题目中文翻译
从连续随机变量 X 中随机抽取 50 个值。这些值汇总在下表中。
区间
1≤x<1.5
1.5≤x<2
2≤x<2.5
2.5≤x<3
3≤x<3.5
3.5≤x≤4
观察频数
3
3
8
11
13
12
现在要检验具有以下概率密度函数 f 的分布的拟合优度:
f(x)=⎩⎨⎧241(x24+x2),0,1≤x≤4,otherwise.
下表给出了期望频数,结果精确到 4 位小数。
区间
1≤x<1.5
1.5≤x<2
2≤x<2.5
2.5≤x<3
3≤x<3.5
3.5≤x≤4
期望频数
4.4271
a
6.1285
8.4549
b
14.9678
(a) 证明 a=4.6007,并求 b 的值。
(3)
(b) 在 10% 显著性水平下进行拟合优度检验,检验 f 是否是该数据的一个令人满意的模型。
(6)
原卷通用作答要求
Answer all questions. You should use a calculator where appropriate.
You must show all necessary working clearly; no marks will be given for unsupported answers from a calculator.
Give non-exact numerical answers correct to 3 significant figures, or 1 decimal place for angles in degrees, unless a different level of accuracy is specified in the question.
The slight difference in the last decimal comes from the rounded frequencies; integrating the density gives b=11.4211 to four decimal places.
(b)
解法一
思路
展开
前两个格子的期望频数都低于 5,先合并。密度参数已给定,按合并后的组数计算自由度。
答题过程
展开
Test H0 that the stated density fits the observations against H1 that it does not. Combining the first two intervals gives observed count 6 and expected count 9.02777…. The remaining counts have expected values above 5. The statistic from the five groups is
There are 5−1=4 degrees of freedom. The upper 10% critical value is 7.779. Since the statistic is smaller, we fail to reject H0. There is insufficient evidence at the 10% level that the stated density fails to fit the observations.