Interactive Course

Intro to Statistics with R: Moderation and Mediation

  • 4 hours
  • 11 Videos
  • 42 Exercises
  • 25,405 Participants
  • 2,750 XP

Loved by learners at thousands of top companies:

mercedes-grey.svg
intel-grey.svg
axa-grey.svg
ea-grey.svg
mls-grey.svg
3m-grey.svg

Course Description

Moderation and mediation sound alike, but in reality they are quite different. This course will get you acquainted with these complex analytical techniques based on multiple regression. Special attention will go to centering predictors as a way to improve interpretability of results.

  1. 1

    An introduction to moderation

    In this chapter professor Conway will give an introduction to the concepts behind moderation while you will walk through an example. You will define models with and without moderation, and study the difference in performance between these. Furthermore, it will be illustrated how you can visualize the effects of moderation.

  2. 3

    An introduction to mediation

    Just like moderation, mediation is a multivariate approach as well. The mediator variable is designed to account for, or to explain the relationship between a predictor and an outcome. You will learn how to do a mediation analysis via a series of multiple regressions, which is the standard approach. The techniques to conduct a mediation analysis in R are illustrated as well.

  1. 1

    An introduction to moderation

    In this chapter professor Conway will give an introduction to the concepts behind moderation while you will walk through an example. You will define models with and without moderation, and study the difference in performance between these. Furthermore, it will be illustrated how you can visualize the effects of moderation.

  2. 2

    An introduction to centering predictors

    Centering predictors means to take your predictor variable and to put it in deviation form. Centering predictors makes the interpretation of a moderation analysis much simpler, but unfortunately it often is a tedious work. The chapter will focus on the conceptual part behind centering, as well as doing the calculations in R.

  3. 3

    An introduction to mediation

    Just like moderation, mediation is a multivariate approach as well. The mediator variable is designed to account for, or to explain the relationship between a predictor and an outcome. You will learn how to do a mediation analysis via a series of multiple regressions, which is the standard approach. The techniques to conduct a mediation analysis in R are illustrated as well.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

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

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Andrew Conway
Andrew Conway

Instructor

Andrew Conway is a Psychology Professor in the Division of Behavioral and Organizational Sciences at Claremont Graduate University in Claremont, California. He has been teaching introduction to statistics for undergraduate students and advanced statistics for graduate students for 20 years, at a variety of institutions, including the University of South Carolina, the University of Illinois in Chicago, and Princeton University.

Icon Icon Icon professional info