• Stars
    star
    163
  • Rank 224,319 (Top 5 %)
  • Language
    R
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

glmmfields

R package for Bayesian spatial and spatiotemporal GLMMs with possible extremes
R
47
star
2

bst

BibTeX style files for ecology journals
31
star
3

covidseir

Bayesian SEIR model to estimate the effects of social-distancing on COVID-19
R
27
star
4

bayes-course

An introduction to Bayesian data analysis with Stan (a work in progress)
R
23
star
5

seananderson.ca

Hugo backend to my personal site, CV, and blog
HTML
21
star
6

adv-r-course

Advanced R workshop
R
16
star
7

heavy-tails

Black-swan events in animal populations
TeX
12
star
8

ggsidekick

Helper function(s) for ggplot2. [Only theme_sleek() for now.]
R
10
star
9

ggplot2-FISH554

Course notes and exercises on ggplot2 for the FISH554 class at the University of Washington
Makefile
7
star
10

multivariate-stan

Experimenting with multivariate regression in Stan
R
6
star
11

pandoc-template

An example manuscript setup in Pandoc
TeX
6
star
12

spatial-extremes

Code for 'Black swans in space: modelling spatiotemporal processes with extremes'
TeX
5
star
13

aenea-grammars

Grammars for Aenea / Dragonfly
Python
4
star
14

paleobaselines

Paleontological baselines for evaluating extinction risk in the modern oceans
TeX
4
star
15

negbin-stan

Playing with negative binomial multilevel models in Stan
4
star
16

ecology-trends

Analysis for a paper on trends in ecology and conservation through 8 decades
R
4
star
17

ramlegacy

R package to download, import, convert, and cache the RAM Legacy Stock Assessment Database
R
4
star
18

stanhelpers

Helper functions for Stan/rstan
R
3
star
19

dplyr-intro-2014

dplyr and pipes introduction for stats beerz
R
3
star
20

kbm-macros

Keyboard Maestro macros for macOS voice control / voice coding
3
star
21

ecofolio

R package for measuring ecological portfolio effects
R
3
star
22

sdmTMB-paper

Paper describing the sdmTMB R package
R
2
star
23

spatial-climate

TeX
2
star
24

metafolio

Simulate metapopulations for portfolio optimization
TeX
2
star
25

tesa-ggplot

Materials from a webinar on ggplot2 for the Technical Expertise in Stock Assessment program
R
2
star
26

phd

PhD Thesis
TeX
2
star
27

beta-regressions

Quick demo
2
star
28

RTMB-TESA-spatial

Exercises for a workshop on geostatistical modelling with RTMB + GMRFs
R
2
star
29

ss3sim-cases

ss3sim case files; currently contains case files from UW FISH 600 papers
1
star
30

tex

BibTeX and LaTeX files
1
star
31

clusterthat

Clustering tools for fisheries stock assessment ensembles
R
1
star
32

citations-talk

Notes for a talk on citations and citation managers
TeX
1
star
33

r-intro

R
1
star
34

fsardown

Experiments with generating reproducible FSARs (Fisheries Science Advice Report) documents
R
1
star
35

celeb-spp

R
1
star
36

rickerAR1

Stan
1
star
37

burn-severity

Calibration model for burn severity from satellite indices (with a Bayesian ZOIB model)
R
1
star
38

jackets

R package for manipulating and plotting yellow jacket RFID data
R
1
star
39

robustmeta

R package for robust random-effect meta-regression with dependent effect sizes
R
1
star
40

dplyr-ggplot-intro-2017

Material for workshops on dplyr and ggplot2
R
1
star
41

dotfiles

.files
Vim Script
1
star