题目
The students in a group of schools can choose a club to join. There are 4 clubs available: Music, Art, Sports and Computers. The director collected information about the number of students in each club, using a random sample of 88 students from across the schools. The results are given in Table 1 below.
| Music | Art | Sports | Computers | |
|---|---|---|---|---|
| No. of students | 14 | 28 | 27 | 19 |
The director uses a chi-squared test to determine whether or not the students are uniformly distributed across the 4 clubs.
(a) (i) Find the expected frequencies he should use.
Given that the test statistic he calculated was 6.09 (to 3 significant figures)
(ii) use a 5% level of significance to complete the test. You should state the degrees of freedom and the critical value used.
The director wishes to examine the situation in more detail and takes a second random sample of 88 students. The director assumes that within each school, students select their clubs independently. The students come from 3 schools and the distribution of the students from each school amongst the clubs is given in Table 2 below.
| School | Music | Art | Sports | Computers |
|---|---|---|---|---|
| School A | 3 | 10 | 9 | 8 |
| School B | 1 | 11 | 13 | 5 |
| School C | 11 | 6 | 7 | 4 |
The director wishes to test for an association between a student’s school and the club they choose.
(b) State hypotheses suitable for such a test.
(c) Calculate the expected frequency for School C and the Computers club.
The director calculates the test statistic to be 7.29 (to 3 significant figures) with 4 degrees of freedom.
(d) Explain clearly why his test has 4 degrees of freedom.
(e) Complete the test using a 5% level of significance and stating clearly your critical value.
题目中文翻译
一群学校的学生可以选择加入一个社团。有 4 个可选社团:音乐、美术、体育和计算机。主任用来自各学校的 88 名学生随机样本收集了各社团的人数信息。结果如下表 1。
| 音乐 | 美术 | 体育 | 计算机 | |
|---|---|---|---|---|
| 学生人数 | 14 | 28 | 27 | 19 |
主任使用卡方检验来判断学生是否在 4 个社团中均匀分布。
(a) (i) 求他应使用的期望频数。
已知他计算出的检验统计量为 6.09(保留 3 位有效数字)
(ii) 用 5% 显著性水平完成检验。你应写出自由度和所用临界值。
主任希望更详细地考察这一情况,并再次抽取 88 名学生的随机样本。主任假定在每所学校内,学生选择社团是相互独立的。学生来自 3 所学校,各校学生在各社团中的分布如下表 2。
| 学校 | 音乐 | 美术 | 体育 | 计算机 |
|---|---|---|---|---|
| 学校 A | 3 | 10 | 9 | 8 |
| 学校 B | 1 | 11 | 13 | 5 |
| 学校 C | 11 | 6 | 7 | 4 |
主任希望检验学生所在学校与他们选择的社团之间是否存在关联。
(b) 写出适合这种检验的假设。
(c) 求学校 C 和计算机社团的期望频数。
主任计算得到检验统计量为 7.29(保留 3 位有效数字),自由度为 4。
(d) 清楚解释为什么这个检验有 4 个自由度。
(e) 用 5% 显著性水平完成检验,并清楚写出临界值。
解答
(a)(i)
解法一
思路
展开
若学生在四个社团中均匀分布,每个社团的期望人数相同,因此把总人数 平均分成四份。
答题过程
展开
Under a uniform distribution, the expected frequency for each club is
Therefore, the expected frequencies are
(a)(ii)
解法一
思路
展开
这是四个类别、没有估计参数的拟合优度检验,所以自由度为 。把已给的检验统计量与 上尾临界值比较;统计量没有落入拒绝域,便不能否定均匀分布模型。
答题过程
展开
The hypotheses are:
- : the students are uniformly distributed across the four clubs.
- : the students are not uniformly distributed across the four clubs.
The number of degrees of freedom is
At the significance level, the critical value is
Since
the result is not significant, so is not rejected. There is insufficient evidence to suggest that the students are not uniformly distributed across the four clubs.
(b)
解法一
思路
展开
独立性检验的原假设应表示“学校与社团选择相互独立”,备择假设则表示两者有关联。假设必须同时带有题目语境。
答题过程
展开
- : a student’s school and choice of club are independent.
- : there is an association between a student’s school and choice of club.
(c)
解法一
思路
展开
列联表中某格的期望频数等于“所在行总数乘以所在列总数,再除以总人数”。学校 C 的行总数是 ,计算机社团的列总数是 。
答题过程
展开
The expected frequency for School C and the Computers club is
Therefore, the expected frequency is
to 3 significant figures.
(d)
解法一
思路
展开
原来的 列联表中,学校 C 与音乐社团一格的期望频数小于 ,不满足卡方近似的使用条件。把音乐列与另一社团列合并后,表格变成 ,所以自由度是 。
答题过程
展开
The expected frequency for School C and the Music club is
Therefore, the Music column must be pooled with another club column. This produces a contingency table, so the number of degrees of freedom is
(e)
解法一
思路
展开
使用题目所给的 个自由度,将检验统计量 与 上尾临界值比较。统计量没有进入拒绝域,因此没有足够证据认为学校与社团选择有关联。
答题过程
展开
For 4 degrees of freedom at the significance level, the critical value is
Since
the result is not significant, so is not rejected. There is insufficient evidence of an association between a student’s school and the club chosen.