Skip to main content
HomeR

Course

Hierarchical and Mixed Effects Models in R

Advanced
4.5+
29 reviews
Updated 05/2025
In this course you will learn to fit hierarchical models with random effects.
Start Course for Free

Included withPremium or Teams

RProbability & Statistics4 hours13 videos55 Exercises4,750 XP21,049Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

This course begins by reviewing slopes and intercepts in linear regressions before moving on to random-effects. You'll learn what a random effect is and how to use one to model your data. Next, the course covers linear mixed-effect regressions. These powerful models will allow you to explore data with a more complicated structure than a standard linear regression. The course then teaches generalized linear mixed-effect regressions. Generalized linear mixed-effects models allow you to model more kinds of data, including binary responses and count data. Lastly, the course goes over repeated-measures analysis as a special case of mixed-effect modeling. This kind of data appears when subjects are followed over time and measurements are collected at intervals. Throughout the course you'll work with real data to answer interesting questions using mixed-effects models.

Prerequisites

Generalized Linear Models in R
1

Overview and Introduction to Hierarchical and Mixed Models

Start Chapter
2

Linear Mixed Effect Models

Start Chapter
3

Generalized Linear Mixed Effect Models

Start Chapter
4

Repeated Measures

Start Chapter
Hierarchical and Mixed Effects Models in R
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.5
from 29 reviews
62%
34%
3%
0%
0%
  • Sergio
    12 days

  • Nishali
    16 days

  • Jonathan
    about 18 hours

  • Ella
    5 days

  • Ditte Fogh
    17 days

  • José Pablo
    19 days

    Would like more exercises on nested models.

Sergio

Nishali

Join over 16 million learners and start Hierarchical and Mixed Effects Models in R today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.