A course! To be given at the Ecological Society of America conference in Fort Lauderdale, Saturday August 5th 8am-5pm, 2018. Program link here.
This site contains slides, exercises and other materials for the course.
To address the increase in both quantity and complexity of available data, ecologists require flexible, robust statistical models, as well as software to perform such analyses. This workshop will focus on how a single tool, the mgcv package for the R language, can be used to fit models to data from a wide range of sources.
mgcv is one of the most popular packages for modelling non-linear relationships. However, many users do not know how versatile and powerful a tool it can be. This workshop will focus on teaching participants how to use mgcv in a wide variety of situations (including spatio-temporal, zero-inflated, heavy-tailed, time series, and survival data) and advanced use of mgcv (fitting smooth interactions, seasonal effects, spatial effects, Markov random fields and varying-coefficient models).
The workshop will give paricipants an understanding of:
Participants will be assumed to be familiar with the basics of R (loading/manipulating data, functions, and plotting) and regression in R (
glm()). The organizers have extensive practical experience with ecological statistics and modelling using
mgcv-esa-2018.Rprojin RStudio. (You can clone if you are a git user)
install.packagesto install any of these packages you may not have:
install.packages(c( "mgcv", "plyr", "ggplot2", "viridis", "dplyr", "tidyr", "mvtnorm", "statmod" ))