Everything from the 3 lessons of this topic on a few pages: the key idea of each lesson, the diagram to remember, the points to learn and the traps examiners set. Read it, cover it, test yourself.
A non-parametric test makes no assumption about the shape of the population (no normality needed). In a sign test of \(\mathrm{H}_0\): median \(= m\), replace each observation by + (above \(m\)) or \(-\) (below \(m\)). Under \(\mathrm{H}_0\) each sign is + with probability \(\frac{1}{2}\), independently, so the number of + signs is \(X \sim \mathrm{B}(n, 0.5)\). Find the probability of a result at least as extreme as the one observed, \(P(X \le x)\) or \(P(X \ge x)\), and compare it with the significance level (with HALF the level in each tail for a two-tailed test). For paired data, apply the same test to the signs of the differences.
The critical region is a TAIL, so add the probabilities: \(P(X \le 2)\), not \(P(X = 2)\). And it is the largest tail with probability at most the significance level, which is why the actual significance level (here 1.93%) is usually below the nominal 5%.
In a two-tailed test, do not compare the tail probability with the full significance level: \(0.0193\) must be compared with \(0.025\), not \(0.05\). Equivalently, double the tail probability and compare with 5%. Never compare \(P(X = x)\) alone: you need the whole tail.
Keep one direction for every difference (always \(P - Q\), never sometimes \(Q - P\)) and decide which sign \(\mathrm{H}_1\) predicts BEFORE you count. The paired sign test tests whether the populations are identical; it says nothing about the size of the difference.
Subtract the hypothesised median \(m_0\) from each value (or take the differences of matched pairs), rank the absolute differences from 1 (smallest) to \(n\), and add the ranks of the positive differences to get \(P\) and of the negative ones to get \(Q\). Always \(P + Q = \tfrac{1}{2}n(n + 1)\). The test statistic is \(T = \min(P, Q)\) and you reject \(H_0\) if \(T \le\) the critical value. For large \(n\), \(T \approx N\!\left(\tfrac{n(n + 1)}{4},\ \tfrac{n(n + 1)(2n + 1)}{24}\right)\). The test is valid only if the population (of values or of differences) is symmetric.
Rank the ABSOLUTE differences, but add up the ranks, not the differences. Summing the positive differences themselves (for example 3.2 + 8.4 + ...) is a common slip that produces a number the table knows nothing about.
Do not treat the before and after scores as two separate samples. Matched pairs are tested through their differences; the rank-sum test of the next lesson is for two INDEPENDENT samples.
The continuity correction moves \(T\) TOWARDS the mean: use \(T + 0.5\) because \(T\) is below \(E(T)\). Using \(T - 0.5\), or none at all, can flip a borderline decision, and dividing by the variance instead of its square root gives a tiny, meaningless \(z\).
Combine the two samples (sizes \(m \le n\)) and rank all \(m + n\) values from smallest. \(R_m\) is the sum of the ranks of the smaller sample. The test statistic is \(W\), the smaller of \(R_m\) and \(m(n + m + 1) - R_m\). Reject \(H_0\) (the two populations are identical) if \(W \le\) the table critical value for \((m, n)\). Beyond the table, use \[W \approx N\!\left(\tfrac{1}{2}m(m + n + 1),\ \tfrac{1}{12}mn(m + n + 1)\right)\] with a continuity correction.
Rank the two samples TOGETHER, not each one separately (ranking within a sample always gives \(1 + 2 + \dots\) and tells you nothing). And \(R_m\) is the rank sum of the SMALLER sample, whatever order the question lists them in.
The decision rule runs the opposite way to a \(t\) or \(z\) test: SMALL \(W\) means significant, and \(W\) equal to the critical value counts as significant. Also, a two-tailed 5% test uses the one-tailed 0.025 column; in the battery example the one-tailed 0.05 value is 21, which would have wrongly given a significant result.
The variance is \(\tfrac{1}{12}mn(m + n + 1)\), with \(mn\), not \(m^{2}\). The continuity correction moves \(W\) TOWARDS the mean: use \(W + 0.5\), not \(W - 0.5\). And never use the rank-sum test on paired data: pairing is information the rank-sum test throws away.