Published April 26, 2026 | Version 1.0.0

Robust repeated-measures ANOVA for split-plot designs: IGA test implementation

  • 1. Universidad de Talca
  • 2. Universidad Autonoma de Chile

Description

This repository contains Python implementations and supporting materials for the Improved General Approximation (IGA) test of Fisher's F for split-plot repeated-measures ANOVA. The IGA test is a robust correction for use when the assumptions of normality and sphericity are violated, conditions that are common in clinical trials and behavioral research.
 
Contents:
- ANOVA_RM_SPLIT_PLOT.py: Main analysis script. Computes nine repeated-measures ANOVA statistics (F, GG, HF, L, LB, MA, QM, GA, IGA) for both within-subjects (B) and interaction (AB) effects.
- treatment.txt: Illustrative simulated dataset (155 cases, 3 groups, 3 repeated measures), constructed for didactic purposes.
- power_simulation.py: Simulation framework for the focused power study reported in the manuscript.
- run_full_power_study.py: Driver script that runs 6 conditions × 3 effect sizes × 5,000 replications × 6 statistics × 2 effects = 1,080,000 individual ANOVA computations. Random seed fixed at 42 for reproducibility.
- power_results.json: Raw results of the full power simulation.
- README.md, LICENSE (MIT), CITATION.cff: Documentation and citation metadata.
 
The IGA test implemented in this repository has been applied in two published clinical studies: Leiva-Bianchi et al. (2018, Gaceta Sanitaria) and Nvo-Fernandez et al. (2025, Alpha Psychiatry).
 
This software accompanies the manuscript "Robust repeated measures ANOVA: A syntax applicable to clinical trials based on a split-plot Monte Carlo simulation of the IGA test" (currently under review).

Files

power_results.json

Files (55.6 kB)

Name Size
md5:95b881a190aafcc045ef9c86cfe6149c
21.9 kB Download
md5:d935bc9940d798dfddb311171e223176
1.3 kB Download
md5:02ebe0e9f64cd5967fb96218f13c9b46
1.1 kB Download
md5:7bffc1398bf6c1cbd826d951ac5e92fa
6.9 kB Preview Download
md5:13b82569d1ba1af88a1210c0ed0c876d
15.4 kB Download
md5:9cfba56c5c0db15e0bfe7de641a49cd2
5.3 kB Preview Download
md5:ace74a37b0b3294f30dd21c1715fac12
2.4 kB Download
md5:72ac7d3f203af4c555777d6a1ab195fe
1.4 kB Preview Download

Additional details

Related works

Is supplemented by
Publication: 10.31083/AP40031 (DOI)

Software

Repository URL
https://www.robustrctanova.com/
Programming language
Python
Development Status
Active