Margin of Error is a working notebook about data, models and measurement, written by a small group of practitioners who spend their days in analytics teams and their evenings arguing about error bars.

What you will find here

  • Essays on the habits that make analysis trustworthy.
  • Notebooks with code you can run and adapt.
  • Series that take a topic apart over several posts.
  • Methods notes on the tools behind it all.
Twelve small line charts in a grid, each a different metric
Small multiples: our favourite chart, and the reason for this site’s look.

Principles

Every figure has a caption that says what to look at. Every claim links to the data or the code. When we get something wrong, we correct it in place and say so at the top of the post.