题目
A company is deciding which of two machines, and , can make a certain type of electrical component more quickly. The times taken, in minutes, to make one component of this type are recorded for a random sample of 8 components made by machine and a random sample of 9 components made by machine . These times are as follows.
| Machine | 4.0 | 4.6 | 4.7 | 4.8 | 5.0 | 5.2 | 5.6 | 5.8 | |
|---|---|---|---|---|---|---|---|---|---|
| Machine | 4.5 | 4.9 | 5.1 | 5.3 | 5.4 | 5.7 | 5.9 | 6.3 | 6.4 |
The manager claims that on average the time taken by machine to make one component is less than that taken by machine .
(a) Carry out a Wilcoxon rank-sum test at the 5% significance level to test whether the manager’s claim is supported by the data.
(b) Assuming that the times taken to produce the components by the two machines are normally distributed with equal variances, carry out a -test at the 5% significance level to test whether the manager’s claim is supported by the data.
(c) In general, would you expect the conclusions from the tests in parts (a) and (b) to be the same? Give a reason for your answer.
题目中文翻译
一家公司正在判断两台机器 和 中哪一台能更快地生产某种电气元件。分别从机器 生产的 8 个元件和机器 生产的 9 个元件中随机抽样,记录生产一个这种元件所需的时间,单位为分钟。数据如下。
| 机器 | 4.0 | 4.6 | 4.7 | 4.8 | 5.0 | 5.2 | 5.6 | 5.8 | |
|---|---|---|---|---|---|---|---|---|---|
| 机器 | 4.5 | 4.9 | 5.1 | 5.3 | 5.4 | 5.7 | 5.9 | 6.3 | 6.4 |
经理声称,平均而言,机器 生产一个元件所需的时间少于机器 。
(a) 在 5% 显著性水平下进行 Wilcoxon 秩和检验,检验数据是否支持经理的说法。
(b) 假设两台机器生产元件所需时间均服从正态分布且方差相等,在 5% 显著性水平下进行 检验,检验数据是否支持经理的说法。
(c) 一般来说,你是否预期 (a) 和 (b) 两部分检验的结论相同?给出理由。
原卷通用作答要求
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 位小数。
解答
(a)
解法一
思路
展开
把两台机器的时间合并从小到大排名。若机器 较快,它的秩和会偏小,所以做左尾检验。
答题过程
展开
Under the common-shape location model, test against , where and are the population median times. The ranks are
| Machine | Ranks of its times in increasing order | Rank sum |
|---|---|---|
For sample sizes and , the lower one-sided critical value for the rank sum of the size- sample is . Since , we fail to reject . There is insufficient evidence at the level that machine has a lower median component time than machine .
(b)
解法一
思路
展开
按题设的正态、等方差假设做独立两样本 检验。保留原始时间的数值差异,并合并组内方差。
答题过程
展开
Test against , where the parameters are population mean production times. The sample means are and . The individual unbiased variance estimates are
The pooled variance estimate is
The statistic is
For degrees of freedom, the lower critical value is . Since , we reject . Under the stated assumptions, there is sufficient evidence at the level that machine has a lower population mean production time.
(c)
解法一
思路
展开
比较两种检验实际使用的信息。一个看数值差距,另一个只看排序。
答题过程
展开
The conclusions need not agree. The -test uses the actual times and assumes normal populations with equal variances. The rank-sum test uses only the ordering. Changing an extreme observation without changing its rank can alter the statistic while leaving the rank-sum statistic unchanged.