[Paper Review] Generalised additive mixed models for dynamic analysis in linguistics: a practical introduction
This paper provides a hands-on, practical introduction to Generalised Additive Mixed Models (GAMMs) for dynamic linguistic analyses, focusing on formant trajectories and guidance for frequentist significance testing in R.
This is a hands-on introduction to Generalised Additive Mixed Models (GAMMs) in the context of linguistics with a particular focus on dynamic speech analysis (e.g. formant contours, pitch tracks, diachronic change, etc.). The main goal is to explain some of the main ideas underlying GAMMs, and to provide a practical guide to frequentist significance testing using these models. The introduction covers a range of topics including basis functions, the smoothing penalty, random smooths, difference smooths, smooth interactions, model comparison and autocorrelation. It is divided into two parts. The first part looks at what GAMMs are, how they work and why/when we should use them. Although the reader can replicate some of the example analyses in this section, this is not essential. The second part is a tutorial introduction that illustrates the process of fitting and evaluating GAMMs in the R statistical software environment, and the reader is strongly encouraged to work through the examples on their own machine.
Motivation & Objective
- Explain what GAMMs are and when to use them in linguistic dynamic analyses.
- Provide a practical, R-based tutorial for fitting and evaluating GAMMs.
- Discuss basis functions, smoothing parameters, EDF, and model interpretation in GAMMs.
- Address residual autocorrelation and the role of random smooths and error models in improving inferences.
Proposed method
- Introduce GAMMs and compare them to GAMs and linear mixed effects models.
- Demonstrate fitting GAMMs with bam() from mgcv and using s() for smooth terms.
- Explain basis functions, knots, and smoothing parameters, including EDF interpretation.
- Show how random intercepts, random slopes, and random smooths capture group/trajectory variation.
- Discuss residual autocorrelation and strategies (random smooths, error models) to address it.
- Describe different smooth classes (cubic regression splines, thin plate splines, P-splines) and multivariate smooths.
Experimental results
Research questions
- RQ1What are GAMMs and how do they differ from GAMs and linear mixed effects models in the context of dynamic linguistic data?
- RQ2How should smoothing parameters, basis function choices, and knot numbers be selected and interpreted when modeling trajectories?
- RQ3What is the role of random effects, particularly random smooths, in capturing between-group variation in non-linear trajectories?
- RQ4How can residual autocorrelation be identified and mitigated in GAMM-based analyses?
- RQ5How do different smooth classes and multivariate smooths affect model fit and interpretation in dynamic speech analyses?
Key findings
- GAMMs extend GAMs by incorporating random effects including random smooths to capture trajectory-by-group variation.
- The smoothing parameter and EDF determine curve wiggliness and are estimated from data to prevent over/underfitting.
- Random smooths can substantially improve fit for trajectory data compared to random intercepts/slopes alone, albeit with higher computation.
- Residual autocorrelation in model residuals indicates model misspecification and can be addressed with random smooths or error models.
- Different smooth classes (cubic regression splines, thin plate splines, P-splines) produce broadly similar fitted curves but have distinct basis functions and characteristics.
- Multivariate smooths enable modeling how trajectories vary with additional predictors like duration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.