Related Experiment Video
Updated: Jul 20, 2025

An Inertial Measurement Unit Based Method to Estimate Hip and Knee Joint Kinematics in Team Sport Athletes on the Field
Published on: May 26, 2020
ChatGPT for Sample-Size Calculation in Sports Medicine and Exercise Sciences: A Cautionary Note
Jabeur Methnani1,2, Imed Latiri3, Ismail Dergaa4,5,6
1LR19ES09, Laboratoire de Physiologie de l'Exercice et Physiopathologie: de l'Intégré au Moléculaire "Biologie, Médecine et Santé," Faculty of Medicine of Sousse, University of Sousse, Sousse,Tunisia.
Purpose:
To investigate the accuracy of ChatGPT (Chat generative pretrained transformer), a large language model, in calculating sample size for sport-sciences and sports-medicine research studies.
Methods:
We conducted an analysis on 4 published papers (ie, examples 1-4) encompassing various study designs and approaches for calculating sample size in 3 sport-science and -medicine journals, including 3 randomized controlled trials and 1 survey paper. We provided ChatGPT with all necessary data such as mean, percentage SD, normal deviates (Zα/2 and Z1-β), and study design. Prompting from 1 example has subsequently been reused to gain insights into the reproducibility of the ChatGPT response.
Results:
ChatGPT correctly calculated the sample size for 1 randomized controlled trial but failed in the remaining 3 examples, including the incorrect identification of the formula in one example of a survey paper. After interaction with ChatGPT, the correct sample size was obtained for the survey paper. Intriguingly, when the prompt from Example 3 was reused, ChatGPT provided a completely different sample size than its initial response.
Conclusions:
While the use of artificial-intelligence tools holds great promise, it should be noted that it might lead to errors and inconsistencies in sample-size calculations even when the tool is fed with the necessary correct information. As artificial-intelligence technology continues to advance and learn from human feedback, there is hope for improvement in sample-size calculation and other research tasks. However, it is important for scientists to exercise caution in utilizing these tools. Future studies should assess more advanced/powerful versions of this tool (ie, ChatGPT4).
More Related Videos
05:51Assessing the Accuracy of Fitness Smartwatch Data for Cardiovascular and Physical Activity Monitoring: A Validation Study in Digital Health
Published on: February 21, 2025
06:13Author Spotlight: Exploring the Impact of Reduced Resistance Exercise Volume on Metabolic Health
Published on: December 1, 2023
Related Concept Videos
Sample Size Calculation
The sample size for the given experiment or sampling effort is fundamental to any study design. Sample size decides the number of...
One-Way ANOVA: Unequal Sample Sizes
Contaminants and Errors
Another key consideration is determining the appropriate number of samples required to...
One-Way ANOVA: Equal Sample Sizes
Different sample means can result in different values for the variance estimate: variance between samples. This is because the variance between samples is calculated as the product of the sample size and the variance between the...
Bootstrapping
Estimating Population Mean with Unknown Standard Deviation
William S. Gosset (1876–1937) of the...