WK-07 - Linear and generalized linear mixed models

Learn how to work with random and fixed effects using LMM and GLMM!

Workshop 7: Linear and generalized linear mixed models (LMM and GLMM) in R

Mixed effects models allow ecologists to overcome a number of limitations associated with traditional linear models.

In this workshop, you will learn when it is important to use a mixed effects model to analyze your data.

We will walk you through the steps to conduct a linear mixed model analysis, check its assumptions, report results, and visually represent your model in R.


Material

badge License: CC BY-NC-SA 4.0

Slides Book Script
English English English
Français Français Français

Note: The wiki for this workshop was converted to Bookdown in February 2021.
The wiki pages for this workshop will no longer be updated (Archive: EN, FR).

Datasets

fishdata.csv arabidopsis.csv invertsdata.csv

Additional scripts

glmm_funs.R


Contributors

This workshop was originally developed by Catherine Baltazar, Dalal Hanna, Jacob Ziegler. Content about GLMMs was developed by Cédric Frenette Dussault, Vincent Fugère, Thomas Lamy, Zofia Taranu.

Since 2014, several QCBS members contributed to consistently and collaboratively develop and update this workshop, as part of the Learning and Development Award from the Québec Centre for Biodiversity Science. They were:

2022 - 2021 - 2020 2019 - 2018 - 2017 2016 - 2015 - 2014
Maxime Fraser Franco Nicolas Pinceloup Catherine Baltazar
Hassen Allegue Marie Hélène Brice Dalal Hanna
Linley Sherin Jacob Ziegler
Pedro Henrique P. Braga Cédric Frenette Dussault
Katherine Hébert Vincent Fugère
Kevin Cazelles Thomas Lamy
Janaína Serrano Zofia Taranu
Dominique Caron