FEMA: Fast and efficient mixed-effects algorithm for large sample whole-brain imaging data
Pravesh ParekhiD, Chun Chieh FaniD, Oleksandr FreiiD, Clare E. PalmeriD, Diana M. Y. SmithiD, Carolina MakowskiiD, John Rehner IverseniD, Diliana PechevaiD, Dominic HollandiD, Robert J. LoughnaniD, Pierre NedeleciD, Wesley Kurt ThompsoniD, Donald J. HagleriD, Ole A. AndreasseniD, Terry L. JerniganiD, Thomas E. NicholsiD, Anders Martin DaleiD
Abstract
The linear mixed-effects model (LME) is a versatile approach to account for dependence among observations. Many large-scale neuroimaging datasets with complex designs have increased the need for LME, however LME has seldom been used in whole-brain imaging analyses due to its heavy computational requirements. In this paper, we introduce a fast and efficient mixed-effects algorithm (FEMA) that makes whole-brain vertex-wise, voxel-wise, and connectome-wide LME analyses in large samples possible. We validate FEMA with extensive simulations, showing that the estimates of the fixed effects are equivalent to standard maximum likelihood estimates but obtained with orders of magnitude improvement in computational speed. We demonstrate the applicability of FEMA by studying the cross-sectional and longitudinal effects of age on region-of-interest level and vertex-wise cortical thickness, as well as connectome-wide functional connectivity values derived from resting state functional MRI, using longitudinal imaging data from the Adolescent Brain Cognitive DevelopmentSM Study release 4.0. Our analyses reveal distinct spatial patterns for the annualized changes in vertex-wise cortical thickness and connectome-wide connectivity values in early adolescence, highlighting a critical time of brain maturation. The simulations and application to real data show that FEMA enables advanced investigation of the relationships between large numbers of neuroimaging metrics and variables of interest while considering complex study designs, including repeated measures and family structures, in a fast and efficient manner. The source code for FEMA is available via: https://github.com/cmig-research-group/cmig_tools/.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 33
- FWCI
- 7.02
- Field percentile
- top 2%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Concordance between the fast and efficient mixed-effects algorithm (FEMA) and conventional mixed-effects modeling for whole-brain connectivity in longitudinal chronic pain
Natalie J. McLain, Chelsea M. Kaplan, … Andrew Schrepf·bioRxiv·Sep 25, 2026
- BLMM: Parallelised Computing for Big Linear Mixed Models
Thomas Maullin-Sapey, Thomas E. Nichols·NeuroImagePeer-reviewed·Nov 3, 2022
- Decentralized Mixed Effects Modeling in COINSTAC
Sunitha Basodi, Rajikha Raja, … Vince D. Calhoun·NeuroinformaticsPeer-reviewed·Mar 1, 2024
- Age associations with cortical and subcortical brain structure in adolescents age 9-17
Diana M. Y. Smith, Alison M. Rigby, … Anders Martin Dale·bioRxiv·Sep 18, 2025
- lmeEEG: Mass linear mixed-effects modeling of EEG data with crossed random effects
Antonino Visalli, Maria Montefinese, … Ettore Ambrosini·Journal of Neuroscience MethodsPeer-reviewed·Oct 24, 2023
- One Model to Rule Them All: An Integrative Approach to Matrix-Based Analyses in Neuroimaging Connectomics
Gang Chen, Paul‐Christian Bürkner, … Luiz Pessoa·Human Brain MappingPeer-reviewed·Jun 12, 2019