Statistics and Probability Primer

A collection of measurements does not explain itself. We need ways to describe what is typical, how much the values differ, and how much confidence we should place in the patterns we observe.

33 sections · 25 questions · 4 coding challenges

1 / 33

What Could a City Learn from Its Records?

BOTIE

Suppose a city keeps a record of its deaths every week. Each entry tells us something about one person, but a pile of entries does not immediately tell us whether the city is becoming less healthy, which causes are common, or whether one unusual week represents a lasting change.

In 1662, John Graunt published an analysis of London's Bills of Mortality. He compared recorded deaths across causes and time, and used the records to reason about the wider population. Statistics has many origins, but this is a useful early example of the problem it addresses: how do we turn individual observations into something we can say about a group?

We start by counting and organising the observations. We can then describe a typical value, how much values differ, and which quantities change together. The records still have limitations. A pattern in the people we observed may not describe everyone, and a change may come from the way the records were collected. That is why this primer moves from describing a sample to asking how much we can infer from it.

Sources for this history