Learn the Basics of Causal Inference with R


Why Learn Linear Regression in R?

You hear it all the time: “correlation is not causation.” By taking this course, you’ll find out what causation really is. Find out why things happen using causal methods, such as matching and weighting, instrumental variables, and difference in differences.

Take-Away Skills

In this course, you will learn the conceptual foundations for determining causal inference and how to work with data to understand why things happen. In addition to the basic foundations, you will learn how to isolate variables and apply different techniques to deal with unruly datasets and interpret the results of your analysis.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Welcome to Causal Inference!
  2. 2
    Learn the conceptual foundations of causal inference.
  3. 3
    Learn about matching and weighting methods for causal inference.
  4. 4
    Learn about regression discontinuity design and instrumental variables for causal inference.
  5. 5
    Learn about the difference in differences method for causal inference.

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

— 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

Find out when correlation really is causation!


Earn a certificate of completion
7 hours to complete in total

1 informational

Learn the conceptual foundations of causal inference.

2 articles, 1 lesson, 1 quiz, 1 project

2 lessons, 1 quiz, 1 project

1 lesson, 1 quiz, 1 project