/risk-ratios

Workbook to teach the concept of risk ratios for data journalism applications

Primary LanguageJupyter Notebook

risk-ratios

A notebook to explain and teach the concept of risk ratios for data journalism applications, created for a session at the NICAR 2022 data journalism conference:

What do vaccine effectiveness, pay-to-play meetings with politicians, employment discrimination, and TSA security screening have in common? They're all topics which rely crucially on a risk ratio, a simple formula which compares how often something happens to two different groups. While the math isn't particularly hard, many people don't know how to work with these ratios or spot the stories which depend on them, which results in a number of common reporting errors. We'll work together in a Python notebook to do the calculations behind all of the above stories, and learn what the risk ratio means in each context.

Open source, CC-BY Jonathan Stray.