Free
CourseLearn the Basics of Causal Inference with R
Learn how to use causal inference to figure out how different variables influence your results.
Skill level
IntermediateTime to complete
Approx. 7 hoursCertificate of completion
Included with paid plansPrerequisites
1 courseWe suggest you complete the following courses before you get started with Learn the Basics of Causal Inference with R:- R for Programmers
About this course
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.
Syllabus
5 lessons • 3 projects • 4 quizzesThe platform
Hands-on learning
Don’t just watch or read about someone else coding — write your own code live in our online, interactive platform. You’ll even get AI-driven recommendations on what you need to review to help keep you on track.
Projects in this course
- Project
Impact of Cover Crops on Wheat Crop Yields
In this project, you will use inverse probability of treatment weighting (IPTW) to estimate the causal effect of cover crop usage on wheat crop yields. - Project
Effect of Emergency Weather Systems on Transit Times
Apply regression discontinuity design (RDD) to estimate the causal effect of a snow emergency system on average commuting time in a fictitious city. - Project
Enhanced Recovery After Surgery
Analyze the effect of a surgical recovery plan on patient outcomes using the Difference in Differences (DID) technique in R.
Meet the creator of the course

Andrea Hassler
Andrea has a Master's in Applied Statistics from NYU and a Bachelor's in Psychology from SUNY New Paltz. She has worked with students individually as a tutor for many years. She has also contributed to research projects in the health sciences as a statistical consultant and research assistant. Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.