랭킹으로 돌아가기

matheusfacure/python-causality-handbook

Jupyter Notebookmatheusfacure.github.io/python-causality-handbook/landing-page.html

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

causal-inferencepythoncausalitydata-scienceeconometricsimpact-estimationharmless-econometrics
스타 성장
스타
3.4k
포크
613
주간 성장
이슈
95
1k2k3k
2020년 5월2022년 5월2024년 6월2026년 7월
README

Causal Inference for The Brave and True

img

DOI

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

Check out the book here!

If you want to read the book in Brazilian Portuguese, @rdemarqui made this awesome translation:
Inferência Causal para os Corajosos e Verdadeiros

If you want to read the book in French, Arthur Mello put a lot of effort into this beautiful translation:
L'Inférence Causale pour les Courageux et les Vrais

If you want to read the book in Chinese, @xieliaing was very kind to make a translation (Chapters 1-21):
因果推断:从概念到实践

There is also a more recent Chinese tralsation by 黄文喆(Wenzhe Huang) and 许文立(Wenli Xu) (All Chapters):
因果推断:献给求真敢为者

If you want to read the book in Spanish, @donelianc was very kind to make a translation:
Inferencia Causal para los Valientes y Verdaderos

If you want to read it in Korean, @jsshin2019 has put up a team to make the that translation possible:
Python으로 하는 인과추론 : 개념부터 실습까지

Also, 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'd 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.

Finally, I'd like to reference Miguel Hernan and Jamie Robins' book. It has been my trustworthy companion in the most thorny causal inference questions I've had to answer.

How to Support This Work

Causal Inference for the Brave and True is an open-source resource primarily focused on econometrics and the statistics of science. It exclusively utilizes free software, grounded in Python. The primary objective is to ensure accessibility, not only from a financial standpoint but also from an intellectual perspective. I've tried my best to keep the content entertaining while maintaining the necessary scientific rigor.

If you want to show your appreciation for this work, consider going to https://www.patreon.com/causal_inference_for_the_brave_and_true. Alternatively, you can purchase my book, Causal Inference in Python, which provides more insights into applying causal inference in the industry.

관련 저장소
py-why/dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.

PythonPyPIMIT Licensecausal-inferencemachine-learning
pywhy.org/dowhy
8.2k1k
uber/causalml

Uplift modeling and causal inference with machine learning algorithms

PythonPyPIOtherincubationmachine-learning
5.9k867
py-why/EconML

ALICE (Automated Learning and Intelligence for Causation and Economics) is a Microsoft Research project aimed at applying Artificial Intelligence concepts to economic decision making. One of its goals is to build a toolkit that combines state-of-the-art machine learning techniques with econometrics in order to bring automation to complex causal inference problems. To date, the ALICE Python SDK (econml) implements orthogonal machine learning algorithms such as the double machine learning work of Chernozhukov et al. This toolkit is designed to measure the causal effect of some treatment variable(s) t on an outcome variable y, controlling for a set of features x.

Jupyter NotebookOthermachine-learningeconomics
microsoft.com/en-us/research/project/alice/
4.7k818
Kanaries/Rath

Next generation of automated data exploratory analysis and visualization platform.

TypeScriptnpmGNU Affero General Public License v3.0dataminingvisualization
rath.kanaries.net
4.7k384
plasma-umass/coz

Coz: Causal Profiling

COtherprofileroptimization
4.5k172
pgmpy/pgmpy

Python Toolkit for Causal and Probabilistic Reasoning

PythonPyPIMIT Licensepythonbayesian-networks
pgmpy.org
3.3k1.1k
rguo12/awesome-causality-algorithms

An index of algorithms for learning causality with data

MIT Licensecausalitycausal-inference
3.3k475
mckinsey/causalnex

A Python library that helps data scientists to infer causation rather than observing correlation.

PythonPyPIOthercausal-inferencecausal-models
causalnex.readthedocs.io
2.5k289
tangxyw/RecSysPapers

推荐/广告/搜索领域工业界经典以及最前沿论文集合。A collection of industry classics and cutting-edge papers in the field of recommendation/advertising/search.

PythonPyPIBSD 2-Clause "Simplified" Licensecalibrationcausal-inference
tangxyw.github.io
2.2k265
py-why/causal-learn

Causal Discovery in Python. Learning causality from data.

PythonPyPIMIT Licensecausalcausal-discovery
causal-learn.readthedocs.io/en/latest/
1.7k268
pedrohcgs/claude-code-my-workflow

A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols.

HTMLMIT Licenseacademic-writingcausal-inference
psantanna.com/claude-code-my-workflow/
1.4k2.8k
jrfiedler/causal_inference_python_code

Python code for part 2 of the book Causal Inference: What If, by Miguel Hernán and James Robins

Jupyter Notebookcausalitycausal-inference
1.4k412