Skip to content
CalcGospel 國際數學圖譜
返回

CIE 9231 2023 Nov Paper 42 Q5

A Level / CIE / FS

CIE 9231 2023 Nov Paper 42 Paper · Question 5

题目

Problem

A company is deciding which of two machines, XX and YY, 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 XX and a random sample of 9 components made by machine YY. These times are as follows.

Machine XX4.04.64.74.85.05.25.65.8
Machine YY4.54.95.15.35.45.75.96.36.4

The manager claims that on average the time taken by machine XX to make one component is less than that taken by machine YY.

(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.

[6]

(b) Assuming that the times taken to produce the components by the two machines are normally distributed with equal variances, carry out a tt-test at the 5% significance level to test whether the manager’s claim is supported by the data.

[9]

(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.

[1]
题目中文翻译

一家公司正在判断两台机器 XX 和 YY 中哪一台能更快地生产某种电气元件。分别从机器 XX 生产的 8 个元件和机器 YY 生产的 9 个元件中随机抽样,记录生产一个这种元件所需的时间,单位为分钟。数据如下。

机器 XX4.04.64.74.85.05.25.65.8
机器 YY4.54.95.15.35.45.75.96.36.4

经理声称,平均而言,机器 XX 生产一个元件所需的时间少于机器 YY。

(a) 在 5% 显著性水平下进行 Wilcoxon 秩和检验,检验数据是否支持经理的说法。

(6)

(b) 假设两台机器生产元件所需时间均服从正态分布且方差相等,在 5% 显著性水平下进行 tt 检验,检验数据是否支持经理的说法。

(9)

(c) 一般来说,你是否预期 (a) 和 (b) 两部分检验的结论相同?给出理由。

(1)
原卷通用作答要求

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)

解法一

思路

展开

把两台机器的时间合并从小到大排名。若机器 XX 较快,它的秩和会偏小,所以做左尾检验。

答题过程

展开

Under the common-shape location model, test H0 ⁣:mX=mYH_0\colon m_X=m_Y against H1 ⁣:mX<mYH_1\colon m_X<m_Y, where mXm_X and mYm_Y are the population median times. The ranks are

MachineRanks of its times in increasing orderRank sum
XX1,3,4,5,7,9,12,141,3,4,5,7,9,12,145555
YY2,6,8,10,11,13,15,16,172,6,8,10,11,13,15,16,179898

For sample sizes 88 and 99, the lower one-sided 5%5\% critical value for the rank sum of the size-88 sample is 5454. Since 55>5455>54, we fail to reject H0H_0. There is insufficient evidence at the 5%5\% level that machine XX has a lower median component time than machine YY.

(b)

解法一

思路

展开

按题设的正态、等方差假设做独立两样本 tt 检验。保留原始时间的数值差异,并合并组内方差。

答题过程

展开

Test H0 ⁣:μX=μYH_0\colon\mu_X=\mu_Y against H1 ⁣:μX<μYH_1\colon\mu_X<\mu_Y, where the parameters are population mean production times. The sample means are 39.7/839.7/8 and 49.5/949.5/9. The individual unbiased variance estimates are

sX2= 199.33−39.72/87=0.33125,sY2= 275.47−49.52/98=0.4025.\begin{align*} s_X^2=&\,\frac{199.33-39.7^2/8}{7}=0.33125,\\ s_Y^2=&\,\frac{275.47-49.5^2/9}{8}=0.4025. \end{align*}

The pooled variance estimate is

 sp2=(199.33−39.72/8)+(275.47−49.52/9)8+9−2= 0.36925.\begin{align*} &\,s_p^2=\frac{(199.33-39.7^2/8)+(275.47-49.5^2/9)}{8+9-2}\\ =&\,0.36925. \end{align*}

The statistic is

 t=39.7/8−49.5/90.36925(1/8+1/9)= −1.82037….\begin{align*} &\,t=\frac{39.7/8-49.5/9}{\sqrt{0.36925(1/8+1/9)}}\\ =&\,-1.82037\ldots. \end{align*}

For 1515 degrees of freedom, the lower 5%5\% critical value is −1.753-1.753. Since −1.82037…<−1.753-1.82037\ldots<-1.753, we reject H0H_0. Under the stated assumptions, there is sufficient evidence at the 5%5\% level that machine XX has a lower population mean production time.

(c)

解法一

思路

展开

比较两种检验实际使用的信息。一个看数值差距,另一个只看排序。

答题过程

展开

The conclusions need not agree. The tt-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 tt statistic while leaving the rank-sum statistic unchanged.