Giter Club home page Giter Club logo

causal-inference-for-beginning-undergraduates's Introduction

Introduction to Causal Inference for Undergraduates

An introductory course on causal inference in the social sciences, that I teach annually at UCL. Designed for undergraduate students with only a working knowledge of R, statistical theory and multiple regression (i.e., 1-2 semesters of a standard sequence). It could also be suitable for masters or beginner PhD students, although some technical details are omitted. The course is as light as possible on maths, but heavy on intuition and practical examples; matrix notation is not used. The aim is to explain the statistical theory behind the methods but also the practicalities and ideas of causal research designs. Students are taught to design and implement their own studies, and to critique existing papers. The examples are drawn primarily from economics and political science, with a little epidemiology thrown in too.

This repository contains detailed typed lecture notes, as well as computer exercises in R with solutions and datasets, for a ten-week course covering experiments, matching, instrumental variables, regression discontinuity, difference-in-differences and synthetic control. The lecture notes sometimes reference readings, details of which can be found in the syllabus.

The weekly exercises almost all involve students replicating results from well-known papers that use the techniques. I've provided worksheets (problem sets) as well as solutions and code for R. At some point I will get round to setting these up properly in R Markdown. The R code is mostly at a very introductory level and therefore suitable for those with minimal background in R. My assignments provide hints to help students get started with new or tricky pieces of code.

I am considering trying to publish this as a textbook, and therefore feedback on any errors and potential additions/improvements would be extremely welcome. You are also very welcome to use these materials for your courses.

Note that lectures 2-4, and some of 6, are designed to be read alongside Gerber and Green's "Field Experiments" textbook and occasionally reproduce equations from the book. Lecture 8 also contains some diagrams that were originally made by Teppei Yamamoto for a similar module at MIT, and some of the material from lecture 9 (including some diagrams) is based on one of his lectures. Having both taken and taught various iterations of causal inference modules at MIT and UCL, it is very possible that some other borrowings have made their way into these lecture notes and exercises: please let me know if anyone else deserves crediting!

Tom O'Grady (Assistant Professor in Political Science, UCL)

14th April 2020

causal-inference-for-beginning-undergraduates's People

Contributors

tomogradyucl avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.