← Back to AI Math Mind Map
📐 AI MathID: causal-inference

Causal Inference (Rubin)

因果推断与 Rubin 框架
🎯Core Definition
Causal inference under the Rubin potential-outcomes framework defines effects counterfactually: the potential outcomes of an individual under treatment T=1T=1 and control T=0T=0 are Y(1)Y(1) and Y(0)Y(0), and the average treatment effect is
📌Overview
ATE=E[Y(1)−Y(0)]\text{ATE} = \mathbb{E}[Y(1) - Y(0)];
📌Overview
observed data reveal only one potential outcome per individual, so estimating the ATE requires an ignorability (no unmeasured confounding) assumption.
💡Use Cases
impact evaluation when online experiments are infeasible or already over, ex-post attribution for recommendation systems and growth strategies; interviews typically probe confounders vs colliders, the full propensity-score matching (PSM) pipeline, and classic correlation ≠ causation examples.
⚡Key Problems Solved
correlation is not causation — a confounder XX affecting both TT and YY manufactures spurious correlation, while conditioning on a collider introduces selection bias (Berkson's paradox); the propensity score e(x)=P(T=1∣x)e(x) = P(T=1 \mid x) compresses high-dimensional covariates into a one-dimensional balancing score, and PSM proceeds as: ① fit e(x)e(x) by logistic regression ② match or weight on the score ③ estimate ATE^=Yˉ1−Yˉ0\hat{\text{ATE}} = \bar{Y}_1 - \bar{Y}_0 on matched samples ④ check balance; unlike direct regression on XX, it is more robust to model misspecification when covariates are high-dimensional and overlap is limited.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Causal Inference (Rubin).
Use Cases
In production engineering, what are the primary use cases for Causal Inference (Rubin) and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Define ATE under potential outcomes. Why can't observed data estimate it directly?
2
Confounders vs colliders? Why does conditioning on a collider introduce bias?
3
Role of the propensity score and the full four-step PSM pipeline?
4
Give a correlation ≠ causation example and state the ignorability assumption.
5
PSM vs direct regression adjustment: pros and cons? How to run balance checks?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "Causal Inference (Rubin)"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardConfidence IntervalsNext Card →Inverse Transform Sampling

🔗 More AI Math Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/Math/card/causal-inference
中文速览与面试要点

因果推断与 Rubin 框架 (Causal Inference (Rubin))

定义: 因果推断 (Causal Inference, Rubin 潜在结果框架) 用反事实定义因果效应: 个体在干预 T=1 与对照 T=0 下的潜在结果分别为 Y(1) 与 Y(0), 平均处理效应 ATE = E[Y(1) - Y(0)]; 观测数据对每个个体只能看到其中一个潜在结果, 因此需在可忽略性 (无混淆) 假设下估计 ATE。 使用场景: 在线实验不可行或已结束后的效果评估、推荐系统与增长策略的事后归因;面试常考混淆变量 vs 碰撞变量的区别、倾向得分匹配 (PSM) 的完整流程、相关性 ≠ 因果的经典案例。 解决的问题: 相关性不等于因果——混淆变量 X 同时影响 T 与 Y 会伪造相关性; 而条件在碰撞变量 (collider) 上反而引入选择偏差 (Berkson 悖论);倾向得分 e(x) = P(T=1 x) 把高维协变量压缩成一维平衡分数, PSM 流程: ① logistic 回归拟合 e(x) ② 按得分匹配或加权 ③ 在匹配样本上估计 ATE = Y_1 - Y_0 ④ 平衡性检验;相比直接对 X 回归, 倾向得分在协变量维度高、分布重叠不足时对模型误设更稳健。

核心要点

  • 潜在结果框架下 ATE = E[Y(1) - Y(0)] 的定义?为什么观测数据无法直接估计?
  • 混淆变量与碰撞变量的区别?控制碰撞变量为什么反而引入偏差?
  • 倾向得分 e(x) = P(T=1 x) 的作用与 PSM 的完整四步流程?
  • 举一个相关性 ≠ 因果性的例子, 并说明可忽略性 (ignorability) 假设的含义?
  • PSM 相比直接对协变量回归调整的优缺点?如何做平衡性检验?