题目
A driving instructor believes that the performance (pass or fail) of students when taking a driving test is associated with their age. The following table summarises the number of students who pass and who fail, and the ages in years of the students taking the test, over a period of three years.
| under 20 | 20-40 | over 40 | total | |
|---|---|---|---|---|
| pass | 34 | 41 | 6 | 81 |
| fail | 16 | 39 | 9 | 64 |
| total | 50 | 80 | 15 | 145 |
Test, at the significance level, whether performance is independent of age of student.
题目中文翻译
一名驾驶教练认为,学生参加驾驶考试时的表现(通过或未通过)与他们的年龄有关。下表总结了三年内参加考试的学生中通过和未通过的人数,以及学生的年龄(单位为年)。
| 20 岁以下 | 20–40 岁 | 40 岁以上 | 合计 | |
|---|---|---|---|---|
| 通过 | 34 | 41 | 6 | 81 |
| 未通过 | 16 | 39 | 9 | 64 |
| 合计 | 50 | 80 | 15 | 145 |
在 显著性水平下,检验考试表现是否独立于学生年龄。
原卷通用作答要求
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.
请回答所有题目。适当时应使用计算器。必须清楚展示所有必要的计算过程;仅给出计算器答案而没有过程,不予评分。除非题目另有精度要求,非精确数值答案保留 3 位有效数字,以度为单位的角度保留 1 位小数。
解答
解法一
思路
展开
按年龄组与是否通过构成列联表。先算独立假设下的期望频数,再用卡方统计量衡量偏离程度。
答题过程
展开
Let be that driving-test performance is independent of the student’s age group, and that they are associated. Under each expected count is its row total times its column total divided by . For example, the expected number of passes in the under-20 group is . The expected counts, rounded for display, are
| Result | Under 20 | 20–40 | Over 40 |
|---|---|---|---|
| Pass | 27.931 | 44.690 | 8.379 |
| Fail | 22.069 | 35.310 | 6.621 |
All six expected counts exceed . Using their unrounded values in the test statistic,
There are degrees of freedom. The upper critical value is . Since , we reject . There is sufficient evidence at the level that driving-test performance and age group are associated.