A method for analyzing physiological data with multiple non-independent observations

Authors

DOI:

https://doi.org/10.31349/RevMexFis.72.051102

Keywords:

Analysis, data science, electrophysiology, physiology

Abstract

Physiological studies often involve recording multiple observations (e.g., repeated muscle contractions or cardiac cycles) from the same subject. To compare groups of subjects, observations from one subject are then sometimes pooled with observations from other subjects in the same group, and analyses are performed on these pooled data. This approach presents a number of potential problems, including over- or under-representing certain subjects in the sample and non-independence of measurements. There are statistical methods available to deal with repeated measures, but many make assumptions about the distribution and completeness of data. Instead, we developed a method to deal with multiple observations from physiological data that ensures that each subject is represented only once in the analysis (i.e. it avoids pseudoreplication), and makes no assumptions about the distribution of the data. We demonstrate this method using two different physiological datasets: (1) muscle recordings taken from Drosophila melanogaster larvae during fictive crawling, and (2) electrocardiogram recordings taken from human volunteers before, during, and after exercise. Our results show the broad applicability and validity of this method.

Downloads

Download data is not yet available.

Author Biographies

Erin C. McKiernan, Facultad de Ciencias

Profesor de Carrera Titular A, Departamento de Física

Jorge Humberto Arce Rincón, Facultad de Ciencias

Profesor de Carrera Titular A, Departamento de Física

Araceli Torres Pérez, Facultad de Ciencias

Técnica Académica Titular B, Departamento de Física

Marco A. Herrera Valdez, Facultad de Ciencias

Profesor de Carrera Titular B, Departamento de Matemáticas

References

L. Fox, D. Soll, and C.-F. Wu, Coordination and modulation of locomotion pattern generators in Drosophila larvae: effects of altered biogenic amine levels by the tyramine β hydroxlyase mutation, Journal of Neuroscience 26 (2006) 1486

E. McKiernan, Effects of manipulating slowpoke calciumdependent potassium channel expression on rhythmic locomotor activity in Drosophila larvae, PeerJ 1 (2013) e57

K. Trimmel, J. Sacha, and H. Huikuri, eds., Heart rate variability: Clinical applications and interaction between HRV and heart rate (Frontiers in Physiology, 2015), https://doi.org/10.3389/978-2-88919-652-4

S. Hurlbert, Pseudoreplication and the design of ecological field experiments, Ecological Monographs 54 (1984) 187

J. Schank and T. Koehnle, Pseudoreplication is a pseudoproblem, Journal of Comparative Psychology 123 (2009) 421

S. Lazic, The problem of pseudoreplication in neuroscientific studies: is it affecting your analysis?, BMC Neuroscience 11 (2010) 1

D. A. Eisner, Pseudoreplication in physiology: More means less. Journal of General Physiology 153 no. 2 (2021) e202012826

T. Pollet et al., Taking the aggravation out of data aggregation: A conceptual guide to dealing with statistical issues related to the pooling of individual-level observational data, American Journal of Primatology 77 (2015) 727

L. Muhammad, Guidelines for repeated measures statistical analysis approaches with basic science research considerations, Journal of Clinical Investigation 133 (2023) e171058

B. Hoang and A. Chiba, Single-cell analysis of Drosophila larval neuromuscular synapses, Developmental Biology 229 (2001) 55

P. Hoel, S. Port, and C. Stone, Introduction to Statistical Theory (Houghton Mifflin, 1971)

K. Ramachandran and C. Tsokos, Statistical estimation, In Mathematical Statistics with Applications in R, pp. 179-251 (Academic Press, 2021), https://doi.org/10.1016/B978-0-12-817815-7.00005-1

P. Hoel, S. Port, and C. Stone, Introduction to Probability Theory (Houghton Mifflin, 1971)

A. Hart, Mann-Whitney test is not just a test of medians: Differences in spread can be important, British Medical Journal 323 (2001) 391

P. McKight and J. Najab, Kruskal-Wallis test, The Corsini Encyclopedia of Psychology (2010) 1

C. Harris et al., Array programming with NumPy, Nature 585 (2020) 357

P. Virtanen et al., SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python, Nature Methods 17 (2020) 261

J. Hunter, Matplotlib: A 2D graphics environment, Computing in Science & Engineering 9 (2007) 90

M. Waskom, seaborn: statistical data visualization, Journal of Open Source Software 6 (2021) 3021

T. Kluyver et al., Jupyter Notebooks-a publishing format for reproducible computational workflows, In F. Loizides and B. Schmidt, eds., Positioning and Power in Academic Publishing: Players, Agents and Agendas (2016) pp. 87-90, https://doi.org/10.3233/978-1-61499-649-1-87

M. Waskom, seaborn Tutorial: Visualizing distributions of data (v0.13.2) (2012-2024), Accessed June 2025 at https://seaborn.pydata.org/tutorial/distributions.html

R. Shaw and T. Mitchell-Olds, ANOVA for unbalanced data: An overview, Ecology 74 (1993) 1638

KDEs for each subject in the WT Drosophila sample. Arrows mark two subjects with left-shifted peaks. (B.) KDEs for each subject in the active volunteer group. Arrow marks the right-shifted subject. (C.) Histograms of Drosophila data in A, comparing the full pooled sample (blue) to the restricted sample with two subjects removed (orange). (D.) Histograms of the active volunteer data in B, comparing the full pooled sample (blue) to the restricted sample with one subject removed (orange). Darker brownish areas in C and D show overlap between the blue and orange bars. Dashed lines in C and D delineate areas of difference between the full and restricted histograms.

Downloads

Published

2026-09-01

How to Cite

[1]
E. C. McKiernan, J. H. Arce Rincón, A. Torres Pérez, and M. A. . Herrera Valdez, A method for analyzing physiological data with multiple non-independent observations, Rev. Mex. Fís. 72, (2026).