Causal Inference for The Brave and True



A light-hearted yet rigorous approach to learning impact estimation and sensitivity analysis. Everything in Python and with as many memes as I could find.

Check out the book here!

Some really kind folks (@vietecon, @dinhtrang24 and @anhpham52) also translated this content into Vietnamese:

Nhân quả Python

I like to think of this entire series as a tribute to Joshua Angrist, Alberto Abadie and Christopher Walters for their amazing Econometrics class. Most of the ideas here are taken from their classes at the American Economic Association. Watching them is what is keeping me sane during this tough year of 2020.

I'll also like to reference the amazing books from Angrist. They have shown me that Econometrics, or 'Metrics as they call it, is not only extremely useful but also profoundly fun.

My final reference is Miguel Hernan and Jamie Robins' book. It has been my trustworthy companion in the most thorny causal questions I had to answer.

How to Support This Work

Causal Inference for the Brave and True is an open-source material on mostly econometrics and the statistics of science. It uses only free software, based in Python. Its goal is to be accessible, not only financially, but intellectual. I've tried my best to keep the writing entertaining while maintaining the necessary scientific rigor.
Recently, the book has been translated into Vietnamese by some very nice folks from the London School of Economics. Although I was thrilled by it, the translation process also revealed the insufiencies of my english. For this reason, I'm looking for funds to hire professional proofreading services and sort that problem once and for all. To help me with that, go to

Python Causality Handbook

Causal Inference for the Brave and True. A light-hearted yet rigorous approach to learning about impact estimation and sensitivity analysis.

Python Causality Handbook Info

⭐ Stars 879
🔗 Source Code
🕒 Last Update 7 days ago
🕒 Created 2 years ago
🐞 Open Issues 12
➗ Star-Issue Ratio 73
😎 Author matheusfacure