Skip to main content
Rahul Raoniar avatar

Rahul Raoniar has completed

Hierarchical and Mixed Effects Models in R

Start course For Free
4 hours
4,750 XP
Statement of Accomplishment Badge

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.
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more
Try DataCamp for BusinessFor a bespoke solution book a demo.
  1. 1

    Overview and Introduction to Hierarchical and Mixed Models

    Free

    The first chapter provides an example of when to use a mixed-effect and also describes the parts of a regression. The chapter also examines a student test-score dataset with a nested structure to demonstrate mixed-effects.

    Play Chapter Now
    What is a hierarchical model?
    50 xp
    Examples of hierarchical datasets
    100 xp
    Multi-level student data
    100 xp
    Exploring multiple-levels: Classrooms and schools
    100 xp
    Parts of a regression
    50 xp
    Intercepts
    100 xp
    Slopes and multiple regression
    100 xp
    Random-effects in regressions with school data
    50 xp
    Random-effect intercepts
    100 xp
    Random-effect slopes
    100 xp
    Building the school model
    100 xp
    Interpreting the school model
    100 xp
  2. 3

    Generalized Linear Mixed Effect Models

    This chapter extends linear mixed-effects models to include non-normal error terms using generalized linear mixed-effects models. By altering the model to include a non-normal error term, you are able to model more kinds of data with non-linear responses. After reviewing generalized linear models, the chapter examines binomial data and count data in the context of mixed-effects models.

    Play Chapter Now
  3. 4

    Repeated Measures

    This chapter shows how repeated-measures analysis is a special case of mixed-effect modeling. The chapter begins by reviewing paired t-tests and repeated measures ANOVA. Next, the chapter uses a linear mixed-effect model to examine sleep study data. Lastly, the chapter uses a generalized linear mixed-effect model to examine hate crime data from New York state through time.

    Play Chapter Now
For Business

GroupTraining 2 or more people?

Get your team access to the full DataCamp library, with centralized reporting, assignments, projects and more

Datasets

Illinois chlamydia dataMaryland crime dataClassroom dataBirth rate dataNew York hate crime data

Collaborators

Collaborator's avatar
Chester Ismay
Collaborator's avatar
Nick Solomon
Richard Erickson HeadshotRichard Erickson

Data Scientist

Richard helps people to experience and understand their increasingly numerical world. For his day job he develops new quantitative methods for monitoring and controlling invasive species as well as helping other scientists analyze and understand their data. He has worked on diverse datasets ranging from continent-wide species distributions to pesticides in playa wetlands. After hours, he teaches SCUBA Diving as a NAUI Instructor. He has been a member of "UserR" since 2007.
See More

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

Create Your Free Account

GoogleLinkedInFacebook

or

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