Generalized Linear Mixed Models (GLMMs) in R

Dates

21-24 September 2026

 

To foster international participation, this course will be held online

 

 

Course overview

The framework of (generalised) linear mixed models (GLMMs) is the de facto standard for the statistical analysis of experimental and observational data. The GLMM framework extends standard LM/GLM models with a) random effects to account for grouped data, b) variance structures to account for non-constant variances (heteroscedasticity), and c) correlation structures to account for residual spatial, temporal, and phylogenetic autocorrelation. In this course you will learn to specify, interpret, and validate linear and generalized linear mixed models. The focus is on producing a valid and defensible analysis of experimental or observational data in an applied research context in R, with an emphasis on the lme4 and glmmTMB regression packages.

 

Target audience and assumed background

This course is aimed at graduate students and researchers who have experience with generalized linear regression models in R and want to extend their knowledge by learning how to add random effects, correlation structures, and variance models (to account for heteroscedasticity) to these models. The basics of LM, GLM, and ANOVA are reviewed at the beginning of the course, but if you do not have a solid understanding of these topics, you would probably benefit more from the course "Generalized Linear Models as a unified framework for data analysis in R", which is also offered by Physalia.

 

Learning outcomes

1. Deepen your understanding of fundamental regression concepts, including centering, scaling, interactions, contrasts, and ANOVA.
 
2. Understand the components of the GLMM framework (choice of distributions, random effects, variance structures, correlation structures)
 
3. Being able to choose the appropriate model structure in an applied analysis of experimental or observational data (focusing on the R packages lme4 and glmmTMB)

4. Being able to interpret the fitted models and calculate the expected effect of predictors on the response.
 
5. Know how to visualize fitted GLMMs (R package effects) and to check the assumptions of the model (R package DHARMa)

Program

Sessions from 14:00 to 19:00 (Monday to Thursday). Sessions will be a mix of lectures, in-class discussion/ Q&A, and practical exercises over Slack and Zoom.

 

Monday– Classes from 2-7 PM Berlin time

 

On day 1, we will recap regression basics that would typically be covered in an introductory stats course: 1) the linear model: interpretation, diagnostics, multiple regression, scaling and centering, omitted-variable bias, interactions 2) contrasts for categorical predictors 3) ANOVA . We will also talk about how to deal with misspecified models, and shortly introduce generalized additive models (GAMs) as semi parametric option to automatically select the right functional relationship.

 

Tuesday– Classes from 2-7 PM Berlin time

 

On day 2, we will introduce random effects and variance structures (GLS) as extensions to the linear model. In the second part of the day, we will talk about the important topic of model selection and model choice. We will distinguish model selection strategies that adjust model complexity to the data size, and model selection strategies for causal inference. We will also touch on structural equation models (SEMs).

 

Wednesday– Classes from 2-7 PM Berlin time

 

On day 3, we will merge the topics from day 2 (variance structures and random effects) with the GLM framework, arriving at the topic of GLMMs. We will talk about model specification of GLMMs; residual and goodness-of-fit diagnostics; and common issues when working with GLMMs, in particular variance partitioning and model selection for fixed and random effects. If we have time, we will also introduce cross-validation and the bootstrap techniques as non-parametric alternative to the standard calculations of p-values and confidence intervals.

 

Thursday– Classes from 2-7 PM Berlin time

 

Day 4 will concentrate on autoregressive correlation structures in the data. Specifically, we'll talk about spatial, temporal and phylogenetic correlation structures and how to test and account for them in GLMMs.


Cost overview

 

Package 1

 

480 €


What people say about this course - 4th edition

Awesome course! Thanks Florian and Physalia!
I really enjoyed the course. Very clear explanations of the inner workings of not only GLLMs but also GLMs, learned a lot.
Yes, it was a very excellent course. I think the most useful stuff for me was the model diagnostics & checking and how to approach special cases where accommodations need to be made when basic linear model assumptions are not met

 

related courses

1 - Generalised Linear Models in R - ONLINE, 23-27 February

 

2- Fundamentals to Biostatistics with R - ONLINE, 13-17 April

 

 

 

Should you have any further questions, please send an email to [email protected]

Cancellation Policy:

 

> 30  days before the start date = 30% cancellation fee

< 30 days before the start date= No Refund.

 

Physalia-courses cannot be held responsible for any travel fees, accommodation or other expenses incurred to you as a result of the cancellation.