Übung IR: Applied Causal Inference

Course Details

Course Instructor: Nan Zhang (Office hours by appointment)

Course Website: https://nanzhang-polisci.github.io/QMIR_HWS25

Date and Time: Tuesdays, 15:30-17:00 in D 007 Seminarraum 2 (B 6, 27-29 Bauteil D)

Course Description

This course will teach students how to analyze questions from the field of international relations through the application of causal inference methods. We will begin by asking what it means for X to cause Y using the framework of potential outcomes. We will then look at some of the most popular research designs in causal analysis including experiments, regression discontinuity designs, difference-in-differences / two-way fixed effects, and instrumental variables.

Students will learn to apply these methods to real data in R.

The overarching goal is to provide students with the foundation to perform their own analyses (e.g. for their BA theses) by transferring the acquired skills to their research interests.

Course Structure and Requirements

Class-time will consist of a mix of lecture, “live-coding” exercises, group discussions and exercises, and student presentations of problem sets.

For this reason, diligent preparation and active participation are essential for the success of this class! The material is hard, especially if you are encountering it for the first time, so don’t be afraid to make mistakes and ask questions! This is how you will learn.

To encourage participation from everyone, I may randomly select several students to answer questions during each class session. The idea is not to cause anyone stress or anxiety, but rather to “break the ice” and foster a more “active” and collaborative environment where everyone can feel comfortable to participate.

If you are worried about this “cold calling” policy, please come see me.

Of course, situations may arise when you cannot attend class or did not have time to prepare. As a courtesy, please let me and your group members know beforehand.

To encourage class attendance, I will only post lecture slides and code examples after we have covered the material in class.

In addition to in-class participation, students must complete the following assignments outside of class:


Reading memos

Students are required to read applied research articles and submit reading memos. These memos will help to clarify what you did (and did not) understand about the relevant methods, such that I can focus on these points in class.

To that end, your memos should address the following questions about the assigned readings:

  1. What is the causal claim being tested?
  2. Describe the empirical strategy: how can the authors claim that the estimates are causal? Explain the assumptions that underlie these causal claims.
  3. What evidence (if any) is provided that to support the causal claims?
  4. Optional (bonus question): what is something you did not understand about the article’s methods that you would like to discuss in class?

There is no need to send me a summary of the readings. I will assume that you have read them.

You should work on the memos in groups. That is, you should discuss the articles within your group beforehand and then submit a common reading memo.

Grading: generally, if you make a good faith effort to read, understand, and discuss the articles within your group, you’ll receive a \(\checkmark\) on this assignment. If you want a \(\checkmark^+\), you’ll have to pose a particularly insightful bonus question which shows that you are really thinking hard about the methodology.1 On the other hand, lazy / sloppy work may result in a \(\checkmark^-\).

Your memos should be submitted to me via email by 8:00am on the following Mondays:

  • 22 September
  • 27 October
  • 10 November
  • 24 November

Take-home problem sets

Problem sets will provide students the opportunity to practice the methods they learn in class by analyzing real data.

Students are required to work in groups. Here it’s important not to divide up the problem set between group members. Rather, all group members should work on all of the problems together.

Problem sets must be submitted to me via email by 23:59 on the following Mondays:

  • 15 September
  • 6 October
  • 13 October
  • 3 November
  • 17 November
  • 1 December

I will randomly select students to present their problem set answers during our class sessions. In this way, we can discuss a range of solutions to the problem set.

If you still do not understand how to do something after we have discussed the problem set in class, please write me an email or make an appointment for office hours.

Grading: generally, if you make a good faith effort to do the problem set, you will receive a \(\checkmark\) on this assignment. Problem sets later in the semester may also contain especially demanding questions, for which you may earn a \(\checkmark^+\). Lazy / sloppy submissions – or failing to show up to your presentation without letting me know beforehand – will result in a \(\checkmark^-\).

Assessment

Technically, the Prüfungsleistung is a Hausarbeit (final paper) due on TBA.

However, this course will graded somewhat differently than what you are used to from other classes. You will still be expected to complete assignments, and you will still receive a numeric grade on your transcript at the end of the semester. However, your grade will be determined based on your own self-assessment of your learning and effort in the class, with the possibility of adjustments up or down from me.

During the semester, you will be asked to complete two self-evaluation exercises (once at midterm, and once at the end of the semester). These exercises will include a series of questions about your work in the course. Specifically, you will be asked to reflect upon:

  • The amount of work you have done in the course. How much effort did you commit to:
    • the readings and memos
    • the group problem sets
    • participating in class discussions
  • Your successes and struggles in the course:
    • What did you learn each week?
    • What do you still not yet understand?
  • Opportunities for improvement:
    • What steps could you (or did you) take to improve your understanding of course concepts or increase your engagement in the class?
  • Propose the grade you feel you should receive in the course (up to that point), based on your:
    • class attendance and completion of all required assignments
    • your contributions to group work
    • your assignment grades
    • your overall comprehension and mastery of the course material
    • your improvement throughout the semester
  • Explain and justify why you would give yourself that grade.

When assigning final grades, I will strive to honor your end-of-semester assessment of your own performance and progress in this course. However, I reserve the right to alter your proposed grade as appropriate, based on my own evaluation of your performance and progress in the course as a whole. If such an alteration seems warranted, I will contact you to discuss your work in the course.


To help you keep track of your progress throughout the semester, it is helpful to keep a weekly “journal”. In particular, at the end of each class session, take 5 minutes and write down:

  1. What is one thing that you learned over the past week?
  2. What do you still do not yet understand?
  3. What steps will you (try to) take to improve your understanding?

Please include this journal as an appendix to your final reflection paper.

A Note on the Course Workload

This course is worth 6 ECTS. That’s 180 hours of “work” in total.

We will spend 21 of those hours in class. This means that you should work about 160 hours outside of class during the semester.

The course is set up so that you will be spending the majority of these 160 hours on group assignments.

I know that these assignments are time consuming.

For instance, not only will you have to read an academic article, but you will have to discuss it within your group and write up a joint response memo

As a result, it will feel like you are doing a lot more work for this course in comparison to your other courses.

This is intentional. The assignments are designed so that you can learn not only from me, but also from each other.

On the other hand, you will not have to spend much time studying or preparing for the final exam. Again, this is intentional.

Rather than focusing on “cramming” at the end of the semester, I believe that you will learn more by working at a more constant pace for the entirety of the course.

Weekly Schedule

Note: the current version of the syllabus is a work in progress. In fact, it’s probably too much to cover in one semester. I will make adjustments, depending on the pace of the class, so check back often!

All changes to the syllabus will be announced in class.


Week 1 (2 September): Course Introduction

Nan will introduce the course, go over the syllabus, and answer any logistical questions you may have.

We will form groups for the remainder of the semester.

Throughout the course, we will use statistical simulations in R to illustrate statistical concepts.

To motivate this approach, we will end the session by simulating an answer to the famous Monty Hall problem.

Assignments for next week:

  • You should install both R and RStudio before our meeting next week. Make sure the software works on your laptops!

  • Especially if you are new to R, please work through this excellent online material from Lion Behrens.

  • It’s in your own interest to get familiar with R as soon as possible! It will make the first few weeks much easier to follow.


Week 2 (9 September): Probability and Statistics Review

We will review some basic concepts from probability and statistics that will come up again and again in the course.

To illustrate these concepts, we will use simulation to draw marbles from a large bowl.

This example will help us to understand the ideas of expected value and unbiasedness.

Assignment for Next Week:

  • Please complete this (short) Problem Set. Email me your group’s problem set answers by 23:59pm on Monday, 15 September. Be prepared to present your answers in class next week.

Week 3 (16 September): Potential Outcomes and Average Treatment Effects

We will start today by simulating a randomized experiment using the potential outcomes framework.

We will use this simulation to illustrate how randomization produces unbiased estimates of the average treatment effect.

Assignment for next week:


Week 4 (23 September): Uncertainty

We will begin by reviewing some basic statistical concepts related to uncertainty and precision.

Using simulations, we will then relate the random variation in our simulated experimental results to the standard errors produced by t-tests and regression.

Assignment for next week:

  • Please complete this (short) Problem Set. Email me your group’s problem set answers by 23:59pm on Monday, 6 October. Be prepared to present your answers in class next week.

Class cancelled on 30 September due to Ringvorlesung.


Week 5 (7 October): Confidence Intervals and Hypothesis Testing.

Continuing our example from last time, we will work through how to construct confidence intervals.

Next, we will work through how to conduct randomization inference. This will (hopefully) provide a more intuitive explanation of p-values and the logic behind hypothesis testing.

Assignment for next week:

  • Please complete this (long) Problem Set. Email me your group’s problem set answers by 23:59pm on Monday, 13 October. Be prepared to present your answers in class next week.

Week 6 (14 October): Student Presentations

Students present their problem set solutions in class.

Assignment for next week:

  • Please fill out the midterm evaluation. You should write 2-3 pages max! Use your weekly “journals” to help jog your memory.

  • Please submit your evaluation by 8:00am on Monday, 20 October.


Week 7 (21 October) : Instrumental Variables

Nan will give an introduction to instrumental variables (IV).

Assignment for next week:


Week 8 (28 October): Instrumental Variables

We will continue our discussion of IV from last week and look at some R code for how to estimate 2sls models.

Assignment for next week:

  • Please complete this (long) Problem Set. Email me your group’s problem set answers by 23:59pm on Monday, 3 November. Be prepared to present your answers in class next week.

Week 9 (4 November): Student Presentations

We will discuss your answers to the problem set.

Assignment for next week:


Week 10 (11 November): RDD

Nan will give an introduction to Regression Discontinuity Designs.

Assignment for next week:

  • Please complete this (long) Problem Set. Email me your group’s problem set answers by 23:59pm on Monday, 17 November. Be prepared to present your answers in class next week.

Week 11 (18 November): Student Presentations

We will discuss your answers to the problem set.

Assignment for next week:


Week 12 (25 November): DiD

Nan will give an introduction to Difference-in-Differences.

Assignment for next week:

  • Please complete this (long) Problem Set. Email me your group’s problem set answers by 23:59pm on Monday, 1 December Be prepared to present your answers in class next week.

Week 13 (2 December): Student Presentations

We will discuss your answers to the problem set.

Final Assignment:


Lecture Slides

You can find lecture slides (with code examples) here. Note that these will be posted only after we have covered the material in class.

References

If you want extra practice with R, check out the free ebook R for Data Science by Hadley Wickam.

If you are looking for more materials on causal inference, you can check out Andrew Heiss’ Program Evaluation class, or this excellent ebook by Nick Huntington-Klein: theeffectbook.net.

Both resources are free, provide code examples, and are accompanied by youtube videos!

Finally, StatQuest by Josh Starmer has an excellent set of youtube videos reviewing basic statistical concepts and linear regression.

Footnotes

  1. Note: please don’t ask me “external validity” questions of the form “what would have happened if the researchers had done the study differently?” There is no way I can possibly answer such questions!↩︎