2-day workshop on Generalized Linear Mixed-Effects Modeling in R
R
Latest commit ff9d64b Jan 16, 2017 @seananderson Tweaks
Permalink
Failed to load latest commit information.
data Add an exercise on a binomial GLM Nov 26, 2016
.gitignore Tweaks Jan 15, 2017
00-schedule.Rmd Fix schedule Jan 15, 2017
00-schedule.md Fix schedule Jan 15, 2017
00-vocabulary.Rmd Add to vocabulary Oct 27, 2016
01-confidence-intervals.Rmd Clean up; rename files Nov 26, 2016
01-regression.Rmd Last minute tweaks Nov 26, 2016
02-ggplot.Rmd Renumber challenges, change aes Oct 29, 2016
03-dplyr.Rmd Tidy up Oct 29, 2016
04-tidyr.Rmd Re-order lessons Oct 25, 2016
05-random-intercepts.Rmd Fixed typo Jan 15, 2017
06-partial-pooling-simulation.Rmd Rename exercise Oct 29, 2016
06-random-slopes.Rmd Clean up; rename files Nov 26, 2016
07-grouping-structures.Rmd Add grouping syntax to notes Jan 16, 2017
08-temporal-autocorrelation.Rmd Move the prediction confidence intervals Oct 28, 2016
09-spatial-autocorrelation.Rmd Unwrap and fixes Oct 30, 2016
10-variance-structures.Rmd Unwrap and fixes Oct 30, 2016
11-distributions.Rmd poisson -> Poisson Oct 28, 2016
12-glms.Rmd Clean up; rename files Nov 26, 2016
13-overdispersed-glms.Rmd Clean up; rename files Nov 26, 2016
14-glm-practice-titanic.Rmd Tweaks Jan 16, 2017
15-lmm-practice-gapminder.Rmd Strip trailing whitespace Dec 6, 2016
16-binomial-glmm.Rmd Clean up; rename files Nov 26, 2016
17-poisson-negbin-glmm.Rmd Clean up; rename files Nov 26, 2016
18-zero-inflation.Rmd Clean up; rename files Nov 26, 2016
19-group-brainstorm.md Clean up; rename files Nov 26, 2016
20-model-building-process.md Strip trailing whitespace Dec 6, 2016
21-more-information.md Clean up; rename files Nov 26, 2016
99-install.R Use the latest R only Nov 23, 2016
99-make-checking-data.Rmd Clean up Oct 30, 2016
99-make.R Update schedule Oct 25, 2016
99-outline-smith.xlsx Update schedule Jan 15, 2017
99-outline.xlsx Tweaks Jan 15, 2017
99-predict_pop_ci.R Move the prediction confidence intervals Oct 28, 2016
README.md Add instructions Oct 30, 2016
glmm-course.Rproj Initial commit Sep 13, 2016

README.md

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.