Why it matters. The biologist Raphael Weldon threw twelve dice 26,306 times and counted how many showed a 5 or a 6 each time. If the dice were fair, the counts should follow the binomial distribution $B(12, \tfrac13)$. They were close, but were they close enough? In 1900 Karl Pearson published a new test in the Philosophical Magazine to answer exactly this kind of question: the chi-squared ($\chi^2$) test. Applied to Weldon's data, it showed that the differences were too large to be chance, and that 5s and 6s came up slightly more often than they should. The dice were very slightly biased. Pearson's test is now one of the most used tools in science, from genetics to market research.
In this unit you will:
- combine independent Normal random variables;
- choose and criticise methods of sampling;
- decide whether an estimator is unbiased, and use the distribution of the sample mean;
- find confidence intervals and test hypotheses about means;
- carry out $\chi^2$ tests for goodness of fit and for contingency tables;
- calculate and test Spearman's rank correlation coefficient.
Edexcel International Advanced Level, Statistics 3 (S3, paper WST03/01, 1 hour 30 minutes, 75 marks). It builds on S1 and S2. The formula booklet gives the Normal and $\chi^2$ tables and the critical values for correlation coefficients.
These results are not in the formula booklet, so learn them:
| Topic | Results |
|---|---|
| combinations | if $X$ and $Y$ are independent Normal variables, $aX \pm bY \sim N(a\mu_X \pm b\mu_Y,\ a^2\sigma_X^2 + b^2\sigma_Y^2)$ |
| sample mean | $\bar X \sim N\left(\mu, \dfrac{\sigma^2}{n}\right)$; standard error $\dfrac{\sigma}{\sqrt n}$ |
| unbiased variance | $s^2 = \dfrac{\sum x^2 - n\bar x^2}{n - 1}$ |
| test statistics | $z = \dfrac{\bar x - \mu}{\sigma/\sqrt n}$; for two samples, $z = \dfrac{(\bar x - \bar y) - (\mu_X - \mu_Y)}{\sqrt{\sigma_X^2/n_X + \sigma_Y^2/n_Y}}$ |
| $\chi^2$ | $X^2 = \sum \dfrac{(O - E)^2}{E}$; in a contingency table, $E = \dfrac{\text{row total} \times \text{column total}}{\text{grand total}}$ |
| Spearman | $r_s = 1 - \dfrac{6\sum d^2}{n(n^2 - 1)}$ |
