Six original Cambridge-style questions on Wilcoxon signed-rank tests: finding \(P\), \(Q\) and \(T\), single-sample and matched-pairs tests with the table, large samples by a normal approximation, and the power and the limits of the test.
In a Wilcoxon signed-rank test on 15 differences, the sum of the positive ranks is \(P = 87\). Find \(Q\) and the value of \(T\) for a two-tailed test.
Packets of rice are labelled with median mass 250 g. Eleven packets have masses (g)
253.8, 248.8, 255.6, 252.1, 249.6, 257.3, 254.5, 247.3, 256.1, 251.6, 258.2.
Assuming the masses are symmetrically distributed, use a Wilcoxon signed-rank test at the 5% level to test whether the median mass differs from 250 g. (Critical value for \(n = 11\), two-tailed 5%: 10.)
Two judges, A and B, score the same ten entries.
A: 7.4, 6.2, 8.9, 5.5, 7.8, 4.6, 6.9, 5.8, 9.1, 6.0
B: 6.8, 7.6, 6.6, 5.8, 6.1, 7.5, 6.0, 6.3, 5.7, 7.1
Test at the 5% level whether there is a difference between the judges' scores. (Critical value for \(n = 10\), two-tailed 5%: 8.)
A Wilcoxon signed-rank test of \(H_0: m = m_0\) against \(H_1: m < m_0\) uses a sample of 50 values and gives \(P = 420\).
(a) Explain why \(P\) is the appropriate test statistic.
(b) Using a normal approximation, carry out the test at the 5% level and at the 1% level.
Ten differences are 2.4, 5.1, -0.8, 3.7, 1.5, 6.2, -1.1, 4.4, 0.6, 2.9. Test \(H_0\): median difference 0 against \(H_1\): median difference greater than 0.
(a) Carry out a sign test at the 5% level.
(b) Carry out a Wilcoxon signed-rank test at the 5% level (critical value 10).
(c) Explain why the conclusions differ, and state the extra assumption needed in (b).
(a) Show that for a sample of 4 differences a one-tailed Wilcoxon signed-rank test can never reject \(H_0\) at the 5% level.
(b) Show that for \(n = 5\) the one-tailed 5% critical value is 0.
Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.