
Author: Ping Hei Yeung
Affiliation: Georgetown University
Published: May 11, 2023
What is GAMM?
Generalized Additive Mixed Models (GAMMs; Wood 2017) are an extension of Generalized Linear Mixed Models that allow for more flexible modeling of nonlinear relationships between the depdendent and independent variables. A relatively new approach, GAMMs have received increased attention in recent sociophonetic studies that involve the analysis of vowel formants (Kirkham et al., 2019; Stanley et al., 2021) and articulatory measurements (Carignan et al., 2020). GAMMs are comparable to linear mixed effect modeling, but they differ in how they model the relationships between depdendent and independent variables. In linear mixed effect modeling, the relationships between the variables are typically modeled using linear functions. In GAMMs on the other hand, the relationships between the variables are modeled using smooth functions, such as splines or smoothing splines. These smooth functions can capture more complex and nonlinear relationships between the variables, which allows for the modeling of nonlinear differences like vowel formant trajectories. Therefore, GAMMs have a major advantage in modeling dynamic acoustic and articulatory data like vowel formant trajectories and F0 contours which are nonlinear in nature.
In this tutorial, you will learn the basics of generalized additive mixed modelling (GAMM) using my data on Hong Kong English as an example. This tutorial is inspired by Wieling (2018) and modifications have been made to suit my own data.
Check out the tutorial by Winter & Wieling (2016), Sóskuthy (2017, 2021), and Wieling (2018) for more sophisticated explanations on the mechanisms of GAMMs.
