Code · Systems · Ideas

Home / Research / Research Basics

Research Basics

"The pupils who had the revision guide scored 12 marks higher, so it works." This series is about everything a careful reader would ask before believing that sentence, and everything a careful author would do before writing it. It starts with why one number is not a finding, then works through the averages and spreads, the hypothesis and its null, the permutation test done by shuffling cards, what a p-value does and does not mean, effect sizes and confidence intervals built by resampling, the correction for testing six things at once, how to defend a result of "no difference", the design choices that make a study believable, and the difference between deciding your analysis before the data and after. Five further parts widen the net: the bootstrap as a test and the paired bootstrap, the classical toolbox from Welch's t to ANOVA, correlation, regression and mixed models, how to read a school league table, and the Bayesian alternative. Every term is illustrated with the same made-up study, a maths teacher at two schools, then three, then twelve, testing whether a revision guide raises exam marks, so that no special knowledge is needed to follow any of it. Nearly every part has a demo you can run in your browser, and every part ends with a short Python script that reproduces its numbers.

Lost in the vocabulary? There is a glossary of every term the series uses.