Introduction

This is a workshop presented to Masters in Data Science student’s at Instituto Tecnológico Autónomo de México (ITAM) in March 2017. The slides are free to share, use, modify. We drew heavily from course texts and notes and cited as much as possible at the end of the lectures.

Description

New information is being generated and stored at the fastest rate in human history. This has lead to a promise of a “big data” revolution and the belief that fundamental questions about business, government, and biomedical research will finally be answered. Questions like: How much will my Master’s in Data Science degree increasing my earnings? How will a country-wide increase in minimum wage affect the unemployment rate? Does the MMR vaccine cause autism? While certainly helpful, more data by itself is insufficient for answering these important questions. By using methods from social sciences, this workshop is designed to introduce data scientists to causal inference and enable them to ask, investigate, and answer these questions.

Structure

The first section of the course is focused on understanding the fundamental issues of causal inference, learn a rigorous framework for investigating causal effects, and understand the importance of experimental design. Since experimental design is not always possible in common data science contexts, the second half of the course focuses causal inference techniques that allow for estimation of causal effects by imitating experimental designs using matching, regression, or other sources of exogeneity.

Topics

  1. Why should we care about causal inference? Motivation, examples, intro to Rubin Causal Model.
  2. RCTs, Causal DAGs, and the structure of bias
  3. Linear regression and bias
  4. Instrumental variables (aka Magic) and Regression Discontinuity
  5. Fixed Effects, Difference in differences, and Panel
  6. Experimental Design (and a tiny bit on matching)

Additional topics

  1. Group exercises
  2. Talking over examples
  3. Additional topics (we didn’t cover)

Lecturers

Source Code

You can find the source code this project’s GitHub page.