# 用"因果关系图"来进行因果推断的新技能

可有偿投稿计量经济圈，计量相关则可

**邮****箱：****econometrics666@sina.cn**

**所有计量经济圈方法论丛的do文件, 微观数据库和各种软件都放在社群里****.****欢迎到因果推断研究小组交流访问.该课程的PPT放在计量社群里.**

课程需要的用到的PPT:In the summer term 2018, I teach a seminar on Causal Graphs at the University of Konstanz. You can find course material http://julianschuessler.net/graphs2018.html

课程简介:This course covers the modern theory of causal inference from a social science perspective. We approach this topic by using causal graphs, which are extremely general and powerful theoretical devices to solve causal problems; at the same time, they are easy to understand. After the course, participants should better understand cutting-edge research, methodological discussions, and be able to improve the quality of their own research.

Apart from that, the tools discussed in this course are also increasingly used by private companies. We start with a refresher of some basic probability theory. We then use causal graphs to understand problems like estimating causal effects, choice of control variables, selection bias, and testing causal assumptions, in nonparametric and in linear graphs. We then deal with effect heterogeneity and causal interactions. We conclude the first part by introducing counterfactuals, their connection to graphs and structural equations, and their application to decision-making problems.

Throughout, we will discuss examples from research, business, and daily life. After this foundational part, we will find it easy to delve into two more advanced topics, instrumental variables and the analysis of causal mechanisms. Here, we focus more on discussing research applications. Towards the end of the course, participants have time to discuss how to use the tools covered in this course for their own research.

参考文献:Literature: Pearl, Judea, Madelyn Glymour, and Nicholas P. Jewell. Causal Inference in Statistics: A Primer. John Wiley & Sons, 2016.

## Syllabus 课程大纲

## 17.04. Why care? Plus probability refresher

Why causal inference is exciting and useful.

Necessary concepts from probability theory: Population, units, variables. Marginal PMF. Conditional probability. Independence. Law of total probability. Bayes' law. Expectations. Conditional expectations. Law of iterated expectations. Regression as a model for conditional expectations. Analgoue estimators.

Slides. Summary document of probability basics here. Problem Set.

## 24.04. Graph Basics

We draw a lot and discuss what our drawings actually mean.

Topics: Graph terminology. d-separation. Structural Equations. Interventions and graph sugery.

Slides. Problem Set.

## 01.05. Labour Day (no class)

## 08.05. Back-Door Criterion

We use graphs to understand whether and how we can learn about causal effects from data; and we illustrate some problems which have bothered many people for a long time, but are very easy to understand using graphs.

Topics: Linear graphs. Back-Door Criterion. Post-treatment and sample selection bias.

Slides. Problem Set for linear graphs. Problem Set for Back-Door Criterion.

## 15.05. Multiple Interventions and the do-calculus

We clarify even more things and suddenly we can also solve complicated problems very easily.

Topics: Covariate-specific effects. Multiple interventions/causal interactions. Back-door criterion for multiple interventions. Controlled direct effects including time-varying treatments and covariates. do-calculus.

Slides. Problem Set.

## 22.05. Counterfactuals

Jay-Z leads us to counterfactuals AKA potential outcomes. As usual, everything is easy from a causal graph/structural causal model perspective.

Topics: Causal effects using counterfactuals. A new look at the identification problem with a simple economic model of whether you should attend university. Average treatment effect on the treated (ATT). Counterfactual interpretation of the back-door criterion. Graphical representation of counterfactuals.

Slides. Problem Set.

## 29.05. Mediation: Theory

What does it mean for something to have a "direct" or "indirect" effect?

Topics: Mediation in the linear case. Mediation in the nonparametric case. Policy relevance. Discrimination. Understanding identification assumptions using error terms, structural equations, potential outcomes.

Slides. Problem Set.

## 05.06. Mediation: Application

We discuss:

Aytaç, S. Erdem, Luis Schiumerini, and Susan Stokes. "Why Do People Join Backlash Protests? Lessons from Turkey." Journal of Conflict Resolution 62.6 (2018).

## 12.06. Instrumental Variables: Theory

The standard approach for when you have unobserved confounding.

Topics: Linear case. Nonparametric case. Manski and Balke/Pearl bounds. Identification assumptions using potential outcomes and graphs.

Slides. Problem Set.

## 19.06. Instrumental Variables: Application

We discuss:

Wucherpfennig, Julian, Philipp Hunziker, and Lars‐Erik Cederman. "Who inherits the state? Colonial rule and postcolonial conflict." American Journal of Political Science 60.4 (2016)

as well as

Spenkuch, Jörg L., and Philipp Tillmann. "Elite influence? Religion and the electoral success of the Nazis." American Journal of Political Science 62.1 (2018)

## 26.06. Leftovers

This and following weeks: Backup. Participants have time to think about and discuss potential applications.

Further possible topics we may discuss, depending on interest: External validity; missing data; partial identification; discrimination and discriminatory algorithms; philosophical applications; networks and spillovers. Estimation (especially for mediation); sensitivity analysis; panel data

## 03.07. "The Case Against Education"

We discuss

Caplan, Bryan. The case against education: Why the education system is a waste of time and money. Princeton University Press, 2018.

from a causal graphs perspective.

## 10.07. Presentations and Sensitivity Analysis

Presentation of research ideas. Intro to sensitivity analysis in R.

## 17.07. Panel Data

Panel Data: Some theory and implementation in R.

**可以到计量经济圈社群进一步访问交流各种学术问题，这年****头，我们不能强调一个人的英雄主义，需要多多汲取他人的经验教训来让自己少走弯路。**

**计量经济圈当前有几个阵地，他们分别是如下4个matrix：**

**①小鹅社群：计量经管数据软件等所有资料的中心(最多)，**

**②微信群：服务于计量经济圈社群群友(最活跃)，**

**③研究小组系列：因果推断、空间计量、面板数据(最专业)，**

**④QQ群：2000人大群服务于计量经济圈社群群友(最大)。**

**计量经济圈是中国计量第一大社区，我们致力于推动中国计量理论和实证技能的提升，圈子以海内外高校研究生和教师为主。****计量经济圈六多精神：计量资料多，社会科学数据多，科研牛人多，名校人物多，热情互助多，前沿趋势多。****如果你热爱计量并希望长见识，那****欢迎你****加入到咱们这个大家庭****(戳这里)****，要不然你只能去其他那些Open access圈子了。注意：****进去之后一定要看小鹅社群“群公告”，不然接收不了群息，也不知道****怎么进入咱们独一无二的微信群和QQ群。**

**只有进去之后才能够看见这个群公告**