MCAnalysis: An Open-Source Package for Preprocessing, Modelling, and Visualisation of Menstrual Cycle Effects in Digital Health Data
Kyra DelrayGlyn LewisBola GraceJoseph HayesRobin Evans
Kyra Delray
Glyn Lewis
Bola Grace
Joseph Hayes
Robin Evans
+5
MCAnalysis is an open-source package (R and Python) that implements a Fourier-basis generalized additive model to quantify menstrual cycle effects in digital health data. It provides a complete preprocessing, modeling, and visualization pipeline, including cycle day labeling, outcome normalization, and bootstrap confidence intervals. The package demonstrated significant associations (p<0.05) with six of 15 outcomes from physiological, sleep, symptom, mood, and activity domains in a dataset of 2,816 users, offering a standardized and reproducible approach to menstrual cycle analysis.

arXiv ·
· April 14, 2026