Six original Cambridge-style questions on sign tests: the idea of a non-parametric test, B(n, 0.5) probabilities, critical regions and actual significance levels, single-sample tests for a median, paired-sample tests and the strengths and weaknesses of the method.
(a) Explain what is meant by a non-parametric test, and give one situation in which such a test might be preferred to a \(t\)-test.
(b) A sign test of \(\mathrm{H}_0\): median \(= m\) uses a random sample of 9 observations, none equal to \(m\). State the distribution of the number of + signs under \(\mathrm{H}_0\), and explain why.
A sign test of \(\mathrm{H}_0\): median \(= m\) against \(\mathrm{H}_1\): median \(\ne m\) uses a random sample of 15 and the 5% significance level. Find the critical region for the number of + signs, and the actual significance level of the test.
Packets of rice are labelled with a median mass of 250 g. A consumer group suspects the median is less than this. The masses, in grams, of 13 randomly chosen packets are
248, 251, 246, 249, 247, 252, 245, 249, 248, 253, 247, 244, 249.
Carry out a sign test at the 5% level.
The reaction times, in milliseconds, of 9 people are measured without caffeine and again after drinking coffee.
Without: 312, 298, 305, 321, 289, 330, 301, 315, 296
With: 301, 290, 308, 310, 280, 318, 295, 309, 288
Use a paired-sample sign test at the 5% level to test whether caffeine changes reaction times.
(a) Find the smallest sample size \(n\) for which a one-tailed sign test at the 5% level could lead to rejecting \(\mathrm{H}_0\).
(b) Find the corresponding smallest \(n\) for a two-tailed test at the 5% level.
A machine is set to cut rods with a median length of 40.0 cm. A random sample of 10 rods has lengths, in cm,
40.2, 40.5, 40.8, 41.0, 40.3, 40.6, 40.9, 40.4, 41.1, 31.5.
(a) Use a sign test at the 5% level to test whether the median length differs from 40.0 cm.
(b) The sample mean is 39.73 cm, below 40.0 cm. Explain why the sign test is more suitable than a \(t\)-test for these data.
(c) State one disadvantage of the sign test.
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.