题目
A survey was carried out with students that had studied Maths, Physics and Chemistry at a college between 2016 and 2020. The students were divided into two groups A and B.
(a) Explain how a sample could be obtained from this population using quota sampling.
The students were asked which of the three subjects they enjoyed the most. The results of the survey are shown in the table.
| Maths | Physics | Chemistry | Total | |
|---|---|---|---|---|
| Group A | 16 | 10 | 13 | 39 |
| Group B | 38 | 13 | 10 | 61 |
| Total | 54 | 23 | 23 | 100 |
(b) Test, at the 5% level of significance, whether the subject enjoyed the most is independent of group. You should state your hypotheses, expected frequencies, test statistic and the critical value used for this test.
The Headteacher discovered later that the results were actually based on a random sample of 200 students but had been recorded in the table as percentages.
(c) For the test in part (b), state with reasons the effect, if any, that this information would have on (i) the null and alternative hypotheses, (ii) the critical value, (iii) the value of the test statistic, (iv) the conclusion of the test.
题目中文翻译
在 2016 到 2020 年间,某学院对学过数学、物理和化学的学生进行了调查。 这些学生被分为 A 组和 B 组。
(a) 说明如何使用配额抽样从该总体中抽样。
向学生询问他们最喜欢的三门学科中的哪一门。 调查结果如下表。
| 数学 | 物理 | 化学 | 总计 | |
|---|---|---|---|---|
| A 组 | 16 | 10 | 13 | 39 |
| B 组 | 38 | 13 | 10 | 61 |
| 总计 | 54 | 23 | 23 | 100 |
(b) 在 5% 显著性水平下检验“最喜欢的学科”是否与组别独立。 你应写出原假设、期望频数、检验统计量和所用临界值。
后来校长发现,这些结果实际上来自一个 200 人的随机样本,但在表中被记录成百分比。
(c) 对 (b) 小题的检验,说明这条信息对以下各项有何影响(如有): (i) 原假设和备择假设, (ii) 临界值, (iii) 检验统计量, (iv) 检验结论。
解答
(a)
解法一
思路
展开
配额抽样先按总体中的相关类别划分组别,并按各组所占比例规定需要抽取的人数;之后在每组中以非随机方式寻找参与者,直到各组配额填满。两个关键点是“按组设配额”和“组内非随机选取”。
答题过程
展开
Divide the population into suitable groups, for example by group A or B and year of attendance, and set a quota for each group in proportion to its size in the population. Select students non-randomly from each group until every quota has been filled.
(b)
解法一
思路
展开
这是 列联表的卡方独立性检验。先用“行总计乘列总计再除以总数”求六个期望频数,再计算 。自由度是 ,最后与 上尾临界值比较。
答题过程
展开
The hypotheses are
Each expected frequency is calculated using
For example,
The complete table of expected frequencies is
| Maths | Physics | Chemistry | Total | |
|---|---|---|---|---|
| Group A | 21.06 | 8.97 | 8.97 | 39 |
| Group B | 32.94 | 14.03 | 14.03 | 61 |
| Total | 54 | 23 | 23 | 100 |
Therefore,
The number of degrees of freedom is
At the significance level, the critical value is
Since
the test statistic does not lie in the critical region, so is not rejected. There is insufficient evidence at the significance level to suggest that the subject enjoyed most is not independent of group.
(c)(i)
解法一
思路
展开
新信息只改变实际频数的规模,没有改变所检验的两个分类变量。因此原假设与备择假设都不变。
答题过程
展开
There is no change to the hypotheses because the test is still assessing whether the subject enjoyed most is independent of group.
(c)(ii)
解法一
思路
展开
表格的行数和列数没有改变,因此自由度仍为 ;显著性水平也仍为 ,所以临界值不变。
答题过程
展开
There is no change to the critical value because the degrees of freedom remain
The critical value is still .
(c)(iii)
解法一
思路
展开
原表记录的是百分比,而实际样本量为 ,所以每个观测频数和期望频数都应乘以 。代入卡方统计量的单格贡献可见,每一项都会变成原来的 倍,因此整个统计量也翻倍。
答题过程
展开
Both the observed and expected frequencies are doubled. For each cell,
Therefore, the test statistic doubles:
(c)(iv)
解法一
思路
展开
承接 (c)(ii) 与 (c)(iii),临界值仍为 ,但检验统计量现在约为 ,已经进入临界域,所以检验结论与 (b) 相反。
答题过程
展开
Since
the test statistic now lies in the critical region. Therefore, is rejected. There is sufficient evidence at the significance level to suggest that the subject enjoyed most is not independent of group.