Multilevel and Mixed Models Using R

A 4-Day Remote Seminar Taught by Stephen Vaisey, Ph.D.

Read reviews of this seminar

To see a sample of the course materials, click here.

This seminar is currently sold out. Email info@statisticalhorizons.com to be added to the waitlist.


Multilevel models are a class of regression models for data that have a hierarchical (or nested) structure. Common examples of such data structures are students nested within schools or classrooms, patients nested within hospitals, or survey respondents nested within countries. Using regression techniques that ignore this hierarchical structure (such as ordinary least squares) can lead to incorrect results because such methods assume that all observations are independent. Perhaps more important, using inappropriate techniques (like pooling or aggregating) prevents researchers from asking substantively interesting questions about how processes work at different levels.

Starting July 28, we are offering this seminar as a 4-day synchronous*, remote workshop for the first time. Each day will consist of a 3-hour, live morning lecture held via the free video-conferencing software Zoom. Participants are encouraged to join the lecture live, but will have the opportunity to view the recorded session later in the day if they are unable to attend at the scheduled time. Each lecture session will conclude with a hands-on exercise reviewing the content covered, to be completed on your own that afternoon. A final session will be held each evening as an “office hour”, where participants can review the exercise results with the instructor and ask any questions.

*We understand that scheduling is difficult during this unpredictable time. If you prefer, you may take all or part of the course asynchronously. The video recordings will be made available within 24 hours of each session, meaning that you will get all of the class discussion and exercise solutions even if you cannot participate synchronously.


MORE DETAILS ABOUT THE COURSE CONTENT

This four-day seminar provides an intensive introduction to multilevel models. After a brief conceptual introduction (including a discussion of the difference between random and fixed effects), we will begin with simple variance components models that can tell us how much of the variation in a measure can be attributed to different levels of observation. We will then move on to mixed models (random effects models with fixed covariates) that allow us to ask how factors at different levels can affect an outcome.

Next, we will investigate how using random coefficients and cross-level interactions can help us discover hidden structure in our data and help us investigate how individual-level processes work differently in different contexts. We will also briefly consider how these techniques can be applied to cases where we have repeated observations of individuals or other entities over time. (For more on panel data, see Longitudinal Data Analysis Using R, which will be taught immediately after this course.)

Although the course will focus primarily on the continuous outcome case, we will also briefly cover how these models can easily be extended for use with categorical and limited dependent variables.

The seminar will focus on hands-on understanding and draw from examples across the social and behavioral sciences. At the conclusion of the course, students will:

  1. Know the technical and substantive difference between fixed and random effects.
  2. Understand random intercepts, random coefficients, and crossed random effects models and know when to use each one.
  3. Know how to combine the strengths of random-effects and fixed-effects approaches into a single model.
  4. Know how to estimate these models and interpret the results.

Computing

This remote seminar is held via Zoom, a free video conferencing application. Instructions for joining a session via Zoom are available here. Prior to each session, participants will receive an email with the meeting code you must use to join.  

The vast majority of what you will learn in this course can be applied in any software package. However, this seminar will mostly use R for empirical examples and exercises. To replicate the instructor’s workflow in the course, you should have R and RStudio already installed on your computer when the course begins. No previous experience with R is needed, however, because all necessary code will be provided. For those who prefer Stata, complete Stata code for all analyses will be provided on request.

If you’d like to take this course but are concerned that you don’t know enough R, there are excellent on-line resources for learning the basics. Here are our recommendations.


SEMINAR OUTLINE

  • What are multilevel models?
  • Hierarchical linear model motivation and notation
  • Within and between variance
  • Variance components models and plots
  • The first distinction between “random” and “fixed” effects
  • “Shrinkage” and empirical Bayes estimates of intercepts
  • What are mixed models a mix of?
  • Three types of R-squared
  • Random coefficients/slopes
  • Model selection with BIC and AIC
  • Basic diagnostics
  • The second distinction between “random” and “fixed” effects
  • When and why (not) to use random effects models
  • Testing the random effects assumption
  • The “between-within” method to combine the best of RE/FE
  • Centering and cross-level interactions
  • A brief comparison of clustered and panel data
  • Multilevel logistic regression and other limited dependent variables
  • Presenting results

REviews of Multilevel and Mixed Models using R

“As a developmental psychologist working with nested and longitudinal data, this workshop was helpful to brush up on my MLM skills. Dr. Vaisey did a fantastic job incorporating the theory of MLM into practice using R. The syntax and exercises provided in R were helpful and now I feel more comfortable using these techniques in R.”
  Irem Korucu Kiroglu, Yale University

“The Multilevel and Mixed Models Using R course provides the principles of multilevel modeling with easy to grasp examples. I would highly recommend the course.”
  Nathan O’Hara, University of Maryland

“The course by Steve Vaisey cleared clouds around multilevel modeling. He takes many real-life examples and explains fuzzy concepts intuitively.”
  James Roh, Rowan University

“This was a great opportunity to learn in a structured environment in a very convenient format. I enjoyed Dr. Vaisey – great energy and sense of humor. I’d recommend this course to any academics looking to learn new skills or refresh existing ones. Thank you!”
  Narda Quigley, Villanova University

“Deepens understanding of model application and interpretation. Great course to brush off the cobwebs and apply methods you thought you forgot.”
  Matthew Augustine, Icahn School of Medicine at Mount Sinai / James J. Peters VA Medical Center