题目
A large company claims that the median salary of its employees is . The salaries ($) of 15 randomly selected employees are listed below.
(a) Explain why a Wilcoxon signed-rank test may not be appropriate to test the company’s claim in this case.
(b) Carry out a sign test at the 10% significance level to investigate the company’s claim.
题目中文翻译
一家大型公司声称其雇员工资的中位数为 美元。随机选取的 15 名雇员的工资(美元)如下。
(a) 解释为什么在这种情况下,Wilcoxon 符号秩检验可能不适合用于检验该公司的声称。
(b) 在 10% 显著性水平下进行符号检验,以调查该公司的声称。
原卷通用作答要求
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)
解法一
思路
展开
符号秩检验要求总体关于其中位数对称。观察工资中明显偏大的值及长尾方向。
答题过程
展开
The very large salary of suggests a long upper tail. The salary distribution may be right-skewed, so the symmetry assumption of the Wilcoxon signed-rank test may be inappropriate.
(b)
解法一
思路
展开
只数在公司声称的中位数之上和之下的工资。因为要检验是否不同,计算双侧概率。
答题过程
展开
Let be the population median salary. Test against . Four salaries exceed and eleven are below it, with no ties. Under , the number above has distribution . The exact two-sided -value is
Since this exceeds , we fail to reject . There is insufficient evidence at the level that the company’s median salary differs from .
解法二
思路
展开
也可以用正态分布近似符号个数的二项分布。检验为双侧,计算下尾时要作连续性修正。
答题过程
展开
Test against , where is the population median salary. There are four salaries above and no ties, so under , .
Approximate by a normal variable with mean and variance . For the lower-tail event , the continuity-corrected statistic is
The critical values for a two-sided test are . Since , we do not reject . There is insufficient evidence at the level that the population median salary differs from .