Interactive Course

# Intro to Statistics with R: Moderation and Mediation

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

### 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.

3. 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.

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?

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

Devon Edwards Joseph

Lloyd's Banking Group

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

Louis Maiden