Skip to content

Workshop exercises on regression, GLMs, mixed-effects models, and GLMMs in R

Notifications You must be signed in to change notification settings

seananderson/glmm-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9df0e9f · Sep 6, 2022
Feb 2, 2018
Feb 2, 2018
Feb 17, 2021
Feb 2, 2018
Oct 27, 2016
Nov 26, 2016
Sep 6, 2022
Oct 29, 2016
Oct 25, 2016
Feb 3, 2018
Oct 29, 2016
Feb 17, 2021
Feb 3, 2018
Feb 17, 2021
Feb 2, 2018
Feb 17, 2021
Oct 28, 2016
Jun 10, 2021
Jun 10, 2021
Jan 12, 2022
Feb 17, 2021
Jan 10, 2020
Feb 17, 2021
Feb 17, 2021
Feb 3, 2018
Nov 15, 2018
Nov 18, 2017
Dec 6, 2016
Feb 2, 2018
Nov 18, 2017
Oct 30, 2016
Feb 3, 2018
Jan 15, 2017
Jan 15, 2017
Oct 28, 2016
Oct 30, 2016
Aug 1, 2017
Sep 13, 2016

Repository files navigation

Generalized Linear Mixed-Effects Modeling in R

This two-day workshop will focus on generalized linear mixed-effects models (GLMMs; hierarchical/multilevel models) using the R programming language. We will concentrate on practical elements of GLMMs such as choosing a modeling approach, the process of building up and understanding a model, model checking, and plotting and interpreting model output. We will focus mainly on linear mixed-effects models, but we will also cover generalized linear mixed-effect models, variance and correlation structures, and zero-inflated models.

By the end of the two-day workshop, you will be able to develop models using your own data and troubleshoot the main problems that arise in the process. You will also become familiar with a number of R packages that can fit GLMMs (e.g. lme4, nlme, glmmTMB) and R packages to help manipulate and plot your data and models (e.g. dplyr, ggplot2, broom).

Prior to taking this workshop, you should be reasonably comfortable with R and linear regression, and ideally have some experience with GLMs (e.g. logistic regression). Some background with dplyr and ggplot2 would be helpful.

Downloading these notes/exercises

https://github.com/seananderson/glmm-course

Click "Clone or download", "Download ZIP".

Generating the exercises

Open the file glmm-course.Rproj by double-clicking on it. Run the following:

source("99-make.R")

Then look in the folder exercises. Lines with # exercise will be left blank in this version.

About

Workshop exercises on regression, GLMs, mixed-effects models, and GLMMs in R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages