题目
Aarush is asked to estimate the price of 7 kettles and rank them in order of decreasing price.
Aarush’s order of decreasing price is D A F C B G E The actual prices of the 7 kettles are shown in the table below.
| Kettle | A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|---|
| Price (£) | 99.99 | 14.99 | 34.97 | 49.99 | 19.97 | 29.99 | 8.99 |
(a) Calculate Spearman’s rank correlation coefficient between Aarush’s order and the actual order. Use a rank of 1 for the highest priced kettle. Show your working clearly.
(b) Using a 5% level of significance, test whether or not there is evidence to suggest that Aarush is able to rank kettles in order of decreasing price. You should state your hypotheses and critical value.
(c) Explain why Aarush did not use the product moment correlation coefficient in this situation.
Aarush discovered that kettle A’s price was recorded incorrectly and should have been £49.99 rather than £99.99.
(d) Explain what effect this has on the rankings for the price.
题目中文翻译
Aarush 被要求估计 7 个电水壶的价格,并按价格从高到低排序。
Aarush 按价格从高到低的顺序为 D A F C B G E。 7 个电水壶的实际价格如下表所示。
| 电水壶 | A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|---|
| 价格 (£) | 99.99 | 14.99 | 34.97 | 49.99 | 19.97 | 29.99 | 8.99 |
(a) 计算 Aarush 的排序与实际排序之间的 Spearman 等级相关系数。 对最高价格的电水壶记为 1 号名次。 请清楚写出你的过程。
(b) 在 5% 显著性水平下,检验是否有证据表明 Aarush 能按价格从高到低对电水壶排序。 你应写出原假设和临界值。
(c) 解释为什么 Aarush 在这种情况下没有使用积差相关系数。
Aarush 发现电水壶 A 的价格记录有误,应为 £49.99,而不是 £99.99。
(d) 解释这对价格排名有什么影响。
解答
(a)
解法一
思路
展开
先把 Aarush 给出的次序和实际价格都换成名次,其中最高价为 1。逐个计算名次差 ,再将 代入无并列名次的 Spearman 公式。
答题过程
展开
The ranks are
| Kettle | A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|---|
| Aarush’s rank | 2 | 5 | 4 | 1 | 7 | 3 | 6 |
| Actual rank | 1 | 6 | 3 | 2 | 5 | 4 | 7 |
| 1 | 1 | 2 | |||||
| 1 | 1 | 1 | 1 | 4 | 1 | 1 |
Therefore,
Hence
(b)
解法一
思路
展开
“能够正确排序”对应正等级相关,因此使用单尾检验。把 (a) 的样本 Spearman 系数与 、 单尾检验的临界值比较。
答题过程
展开
Let be the population Spearman rank correlation coefficient. The hypotheses are
For , the critical value for a one-tailed test at the significance level is . The rejection region is
Since , is rejected. There is evidence at the significance level that Aarush is able to rank the kettles in order of decreasing price.
(c)
解法一
思路
展开
积差相关系数要求成对的数值数据,但 Aarush 只给出了次序,没有给出他的价格估计值;他的资料是等级数据。
答题过程
展开
Aarush gave only ranks, rather than numerical estimates of the prices, so product moment correlation is not appropriate.
(d)
解法一
思路
展开
修正后 A 与 D 的价格同为 £49.99,并列占据实际排名的第 1、2 位。并列名次取这两个位置的平均值,因此两者都排 1.5。
答题过程
展开
Kettles A and D would be tied for first and second place. Therefore, each would be assigned the average rank