Difference in Differences for Causal Inference

Start

Why Difference in Differences for Causal Inference?

Sometimes you want to know what would have happened anyhow. For example, if a law didn’t go into effect, or a virus hadn’t swept through a country. We might be able to see some effect, but might not know exactly what to attribute it to. Difference in differences is a technique to estimate those effects by analyzing trends over time.

Take-Away Skills

In this course, you will learn how, when, and why to implement the Difference in Differences technique, and what kinds of problems it solves. You will be able to estimate the treatment effects by analyzing trends over time, and mimic experiments by leveraging the data that you have.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Learn how to implement the Difference in Differences technique to estimate causal effects.

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo
testimonial

— Madelyn, Pinterest

I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.

Course Description

Estimate effects by analyzing trends over time

Details

Earn a certificate of completion
2 hours to complete in total
Advanced

Learn how to implement the Difference in Differences technique to estimate causal effects.