Related Experiment Video
Updated: Sep 29, 2025

Development of an Individual-Tree Basal Area Increment Model using a Linear Mixed-Effects Approach
Published on: July 3, 2020
Modelling multilevel nonlinear treatment-by-covariate interactions in cluster randomized controlled trials using a
Sun-Joo Cho1, Kristopher J Preacher1, Haley E Yaremych1
1Vanderbilt University, Nashville, Tennessee, USA.
This study introduces a generalized additive mixed model (GAMM) for analyzing cluster randomized controlled trials (C-RCTs). The GAMM accurately estimates complex, nonlinear treatment interactions in educational interventions, improving upon traditional multilevel modeling methods.
Area of Science:
- Statistics
- Educational Research
- Psychometrics
Background:
- Cluster randomized controlled trials (C-RCTs) are prevalent in educational research.
- Multilevel modeling (MLM) is standard for C-RCT analysis but often conflates interaction effects.
- Existing MLM methods assume linear interactions, failing to capture complex treatment-covariate relationships.
Purpose of the Study:
- To present a generalized additive mixed model (GAMM) for estimating unconflated multilevel interaction effects in C-RCTs.
- To allow for the estimation of nonlinear treatment-by-covariate interactions without a prespecified functional form.
- To provide R code for model estimation and visualization of nonlinear interactions.
Main Methods:
- Development and application of a generalized additive mixed model (GAMM).
- Utilizing maximum likelihood estimation for parameter estimation.
- Employing simulation studies to compare GAMM with alternative approaches.
- Illustrating the model with instructional intervention data from a C-RCT.
Main Results:
- The GAMM successfully estimated unconflated multilevel interactions, outperforming alternative methods in logistic scenarios.
- Parameter recovery was satisfactory in typical educational C-RCT designs, though sensitive to small cluster numbers, sizes, and intraclass correlations.
- Modeling linear interactions with nonlinear effects using traditional MLM led to biased estimates and incorrect predictions.
Conclusions:
- The GAMM offers a flexible and accurate approach for analyzing complex interactions in C-RCTs, particularly in educational research.
- Researchers should consider GAMM for its ability to model nonlinear treatment-by-covariate effects, avoiding biases associated with linear assumptions.
- The provided R code facilitates the practical application of GAMM for advanced statistical analysis in intervention studies.
Related Concept Videos
Comparing the Survival Analysis of Two or More Groups
Multicompartment Models: Overview
These models offer a more comprehensive representation of drug behavior in the body than one-compartment models. They accommodate the complexity of drug distribution,...
Randomized Experiments
Simple randomization
Simple...
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Study Design in Statistics
Does aspirin reduce the risk of heart attacks? Is one brand of fertilizer more effective at growing roses than another? Is fatigue as dangerous to a driver as the influence of alcohol? Questions like these are answered using randomized experiments with proper...
Assumptions of Survival Analysis

