Back to Trending
RepositoryJupyter Notebook
Wenzhe-Huang

Wenzhe-Huang/python-causality-handbook-zh

Causal Inference handbook|学习因果推断的轻松指南

117stars
19forks
0issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: causal-inference-book

#1 Repository of the week

2
TINIX TRENDING·Topic: stata

#2 Repository of the week

4
TINIX TRENDING·Topic: econometrics

#4 Repository of the week

因果推断:献给求真敢为者

MIT License CC BY-NC-SA 4.0 GPL-3.0

📚 原书与译本

原书名:Causal Inference for the Brave and True
作者:Matheus Facure

中文译者:黄文喆、许文立|澳门城市大学金融学院
联系邮箱: carlzhe@outlook.com | wlxu@cityu.edu.mo

在线阅读:中文版|英文版
Stata 项目:github.com/wenddymacro

📖 导言

许多研究都始于一个朴素的问题:
“如果我们改变了 X,Y 会不会随之改变?”

然而,现实数据往往无法直接回答。相关会冒充因果,隐藏变量悄然影响,反事实也永远无法被真正观察。

因果推断正是为解决这些困难而建立的一整套方法。本书以直观示例介绍其核心工具——DAG、潜在结果框架、回归、倾向得分、工具变量与 RDD——展示如何在不完美的数据中尽量逼近真实的因果效应。

👥 关于本译本

在保持原书整体框架与风格的基础上,本译本进行了:

  • 更贴近中文学术语境的概念表达;
  • 补充 Stata 实现代码,提升跨软件学习的可操作性;
  • 在必要处对叙述结构进行轻度调整,以增强阅读连贯性。

译文内容仅代表译者对原著的理解。

📜 许可协议

  • Python 代码:MIT License
  • 中文翻译:CC BY-NC-SA 4.0(需署名、非商业、相同方式共享)
  • Stata 代码:GPL-3.0(派生版本须保持开源)

请遵循相应协议使用、引用与再分发内容。

Similar Projects

Discover other similar projects and AI models.

RepositoryJupyter Notebook
microsoft/ML-For-Beginners

12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all

92.5k
Nov 7, 2026
RepositoryC++
tensorflow/tensorflow

An Open Source Machine Learning Framework for Everyone

201.9k
Dec 1, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryPython
scikit-learn/scikit-learn

scikit-learn: machine learning in Python

68.4k
Dec 1, 2026
RepositoryPython
TheAlgorithms/Python

All Algorithms implemented in Python

226.6k
Nov 13, 2026
RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

169.5k
Dec 1, 2026
Modeltranslation
google-t5/t5-small

Model Card for T5 Small !model image(https://camo.githubusercontent.com/623b4dea0b653f2ad3f36c71ebfe749a677ac0a1/68747470733a2f2f6d69726f2e6d656469756d2e636f6d2f6d61782f343030362f312a44304a31674e51663876727255704b657944387750412e706e67) Table of Con...

♥0
16.0M
Jun 30, 2023
Modeltranslation
tencent/Hy-MT2-1.8B

English | 中文 !HuggingFace(https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Tencent%20Hy-ffc107?color=ffc107&logoColor=white)(https://huggingface.co/collections/tencent/hy-mt2)    !ModelScope(https://img.shields.io/badge...

♥0
21.3k
May 26, 2026
Modeltranslation
google-t5/t5-base

Model Card for T5 Base !model image(https://camo.githubusercontent.com/623b4dea0b653f2ad3f36c71ebfe749a677ac0a1/68747470733a2f2f6d69726f2e6d656469756d2e636f6d2f6d61782f343030362f312a44304a31674e51663876727255704b657944387750412e706e67) Table of Cont...

♥0
2.1M
Feb 14, 2024