Skip to main content
Free course

Causal Inference with R - Instrumental Variables & RDD

Start Free Course
38 Videos66 Exercises
3600 XP

Create Your Free Account



By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

Welcome to the 5th course in our series on causal inference concepts and methods created by Duke University with support from eBay, Inc. Designed to teach you causal inference concepts, methods, and how to code in R with realistic data, this course focuses on how to use the advanced methods of instrumental variables and regression discontinuity to find causal effects. We will give you the reasoning be behind the methods, how you need to argue their validity, and what they look like in practice. We’ll stay away from dense statistical math and focus instead on higher level concepts that data scientists need to always consider when examining and making inferences about data. The course instructors and creators are Dr. Matt Masten (Duke University), James Speckart (Duke), Tyler Ransom (University of Oklahoma), Atilla Gyetvai (Duke) and Alexandra Cooper (Duke).

  1. 1

    Introduction to Instrumental Variables


    This chapter will introduce you to Instrumental Variables (IV) analysis, a tricky but powerful method to find causality through indirect inference

    Play Chapter Now
    Course Trailer for Causal Inference with R – Instrumental Variables & RDD
    50 xp
    The Logic of Instrumental Variables
    50 xp
    Visual Logic of Instrumental Variables
    50 xp
    What is the Relationship Between the Instrument and the Outcome?
    50 xp
    What is the Relationship Between the Instrument and the Treatment?
    50 xp
    What is the Relationship Between the Instrument and the Other Pre-Treatment Variables?
    50 xp
    How Do We Calculate a Causal Effect with Instrumental Variables Analysis?
    50 xp
    Some Instrumental Variables Terminology
    50 xp
    Is it Endogenous vs Exogenous Variation?
    50 xp
    Instrumental Variables in Action: Education and Wages (graphs)
    50 xp
    Instrumental Variables in Action: Education and Wages (tables)
    50 xp
    What if Our Data Shows No Clear Correlation Between Treatment and Outcome?
    50 xp
    The Three Instrumental Variables Assumptions
    50 xp
    Alan the Egg Farmer Turns to Instrumental Variables
    50 xp
  2. 2

    Instrumental Variables in Practice


    This chapter covers more details about Instrumental Variables Analysis, and allows you to practice instrumental variables for yourself

    Play Chapter Now
SSRI @ Duke University Headshot

SSRI @ Duke University

We create modular online educational content for Duke University's Social Science Research Institute to share with students and professionals around the world. If you have any feedback for us about any part of this course, please let us know!
See More
Tyler Ransom Headshot

Tyler Ransom

PhD in Economics
See More
Alexandra Cooper Headshot

Alexandra Cooper

Alexandra Cooper earned a Ph.D. in political science from the University of North Carolina at Chapel Hill and has taught at Duke, UNC, UNC-Charlotte, and most recently, at Lafayette College, before joining Duke University to plan and develop the Social Science Research Institute (SSRI). Initially responsible for SSRI's day-to-day programming and operations, as the institute has grown and added staff, she has had the opportunity to focus on coordinating educational programming. Her key responsibilities include organizing workshops and events, and supporting programming focused on improving knowledge and applications of the tools and methods of the social and behavioral sciences.
See More
Matt Masten Headshot

Matt Masten

I'm an econometrician working on identification and causal inference.
See More

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA