Mixed effects models
Overview
This course provides an introduction to linear mixed effects modelling.
Please be aware that this course is in development and the contents of this site are likely to change in future.
- To understand the motivation for using linear mixed models, and when it is appropriate to include random effects
- To fit a mixed model to a hierarchical dataset
- To visualise mixed models
- To evaluate model fit using significance testing and diagnostic plots
Target Audience
This course is aimed primarily at postgraduate students and postdoctoral researchers in the life sciences.
Prerequisites
You should have a working knowledge of R/RStudio, and a grasp of core statistics content, in particular the linear modelling framework.
Exercises
Exercises in these materials are labelled according to their level of difficulty:
Level | Description |
---|---|
Exercises in level 1 are simpler and designed to get you familiar with the concepts and syntax covered in the course. | |
Exercises in level 2 combine different concepts together and apply it to a given task. | |
Exercises in level 3 require going beyond the concepts and syntax introduced to solve new problems. |
References
Baath, R. (2024, 28 January). The source of the cake dataset. https://www.sumsar.net/blog/source-of-the-cake-dataset/
Bolker, B. (2023, 8 October). GLMM FAQ. https://bbolker.github.io/mixedmodels-misc/glmmFAQ.html
Choe, J. (2020). The Correlation Parameter in the Random Effects of Mixed Effects Models. https://rpubs.com/yjunechoe/correlationsLMEM
Cook, F. E. (1938). Chocolate cake: I. Optimum baking temperature. (Doctoral dissertation, Iowa State College).
Faraway, J. J. (2016). Extending the linear model with R: generalized linear, mixed effects and nonparametric regression models. Chapman and Hall/CRC.
Hadjuk, G. K. & Gallois E. (2022, 9 February). Introduction to linear mixed models. Our Coding Club. https://ourcodingclub.github.io/tutorials/mixed-models/
Oehlert, G. W. (2010). A first course in design and analysis of experiments. https://conservancy.umn.edu/server/api/core/bitstreams/87e0734d-31ea-4596-8295-d87705271c07/content
Winter, B., & Grawunder, S. (2012). The phonetic profile of Korean formal and informal speech registers. Journal of Phonetics, 40(6), 808-815.