题目
A manager claims that the lengths of the rubber tubes that his company produces have a median of 5.50 cm. The lengths, in cm, of a random sample of 11 tubes produced by this company are as follows.
It is required to test at the 10% significance level the null hypothesis that the population median length is 5.50 cm against the alternative hypothesis that the population median length is not equal to 5.50 cm.
Show that both a sign test and a Wilcoxon signed-rank test give the same conclusion and state this conclusion.
题目中文翻译
一名经理声称,他的公司生产的橡胶管长度的中位数为 5.50 cm。该公司生产的 11 根橡胶管组成一个随机样本,其长度(单位 cm)如下。
要求在 10% 显著性水平下,检验总体长度中位数为 5.50 cm 的原假设,对立假设为总体长度中位数不等于 5.50 cm。
证明符号检验和 Wilcoxon 符号秩检验会给出相同结论,并说明该结论。
原卷通用作答要求
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 the population median tube length. Both tests use and .
Sign test. Three lengths are below and eight are above it, with no ties. Under the number below the benchmark has distribution . The exact two-sided probability is
So the sign test does not reject .
Wilcoxon signed-rank test. Subtracting gives the differences
Ranking their absolute values gives the signed ranks in observation order
The smaller rank sum is . The two-sided critical value for observations is . Since , the signed-rank test also does not reject .
Both tests give insufficient evidence at the level that the population median tube length differs from cm.