In fisheries and ecology, we run into many types of data. Counts are among the most common. So are densities, and 0/1 data.
In this lecture we will learn about the concept of a Generalized Linear Model (GLM) and explore how they can be used to deal with the above types of data.
- Intro to GLMs
- Poisson distributions for count data
- Negative binomial distributions for count data
- Binomial logistic regression for 0’s and 1’s
- Validation for each of the above
As always, this class will have a mixture of R code and lecture slides
Minor Assignment 2
- Introduce Minor Assignment 2 (see Assignment guide)
Have a look at the website for the visreg package - a helpful tool for visualizing model output.
We will use data from the below paper for one exercise. Read if you like:
- Alós J, Puiggrós A, Díaz-Gil C, Palmer M, Rosselló R, Arlinghaus R (2015) Empirical Evidence for Species-Specific Export of Fish Naïveté from a No-Take Marine Protected Area in a Coastal Recreational Hook and Line Fishery. PLoS ONE 10(8): e0135348. https://doi.org/10.1371/journal.pone.0135348
Slides available on Speakerdeck