题目
A doctor believes that the diet of her patients and their health are not independent.
She takes a random sample of 200 patients and records whether they are in good health or poor health and whether they have a good diet or a poor diet. The results are summarised in the table below.
| Good health | Poor health | |
|---|---|---|
| Good diet | 86 | 8 |
| Poor diet | 91 | 15 |
Stating your hypotheses clearly, test the doctor’s belief using a 5% level of significance. Show your working for your test statistic and state your critical value clearly.
题目中文翻译
一位医生认为,她的病人的饮食与健康状况并不是相互独立的。
她随机抽取 200 名病人,记录他们是健康状况良好还是较差,以及他们饮食是良好还是较差。结果汇总如下表。
| 健康状况良好 | 健康状况较差 | |
|---|---|---|
| 饮食良好 | 86 | 8 |
| 饮食较差 | 91 | 15 |
清楚写出假设,在 5% 显著性水平下检验医生的看法。写出你的检验统计量计算过程,并清楚写出临界值。
解答
解法一
思路
展开
这是一个 列联表的卡方独立性检验。先由行总数、列总数与总人数计算四个期望频数,再求卡方统计量。自由度为 ,最后用 临界值作出与医生观点相关的结论。
答题过程
展开
The hypotheses are
The row and column totals are
| Good health | Poor health | Total | |
|---|---|---|---|
| Good diet | 86 | 8 | 94 |
| Poor diet | 91 | 15 | 106 |
| Total | 177 | 23 | 200 |
Under , each expected frequency is calculated using
Therefore,
| Diet | Health | Expected frequency, |
|---|---|---|
| Good | Good | |
| Good | Poor | |
| Poor | Good | |
| Poor | Poor |
The test statistic is
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 of an association between diet and health. Therefore, these data do not support the doctor’s belief.