Can Large Language Models (LLMs) be Trusted for Power Analysis? An Empirical Evaluation
Hajung Kim, Jia Qi, Zhe Feng, Xiaoya Zhang, Yuting Han, Jinbo He, Feng Ji
University of Toronto · University of Florida
Key points
From the paper's conclusion- Overall, the study underscores the importance of critically evaluating LLM performance in statistically demanding tasks.
Abstract
Power analysis is critical for assuring rigor and validity of quantitative research yet remains underutilized due to technical challenges associated with specialized software. At the same time, large language models (LLMs) are being rapidly integrated into research practice, raising interest in their potential to assist statistical and research design tasks. However, despite their widespread adoption, the reliability of LLMs in supporting statistically rigorous procedures has not been systematically evaluated, posing risks for unexamined or overly optimistic use. To address this gap, we evaluated four widely used LLMs—ChatGPT (GPT-3.5, GPT-4, GPT-4o) and Llama 3.2—across two experiments. Experiment 1 examined whether LLMs could calculate required sample sizes for common statistical tests (two-sample t-test, one-way ANOVA, and χ² goodness-of-fit test) under different prompting strategies, including direct calculation versus R/Python code generation. Experiment 2 assessed models’ ability to identify missing input parameters necessary for power analysis, which is a task that requires methodological understanding. Results revealed that GPT-4 and GPT-4o performed well when generating R code for sample size estimation, but struggled with direct numerical calculation. Furthermore, while LLMs were able to detect missing information, their reliability varied by statistical context. Findings suggest that while LLMs may offer support in structuring and initiating power analysis, they cannot substitute for expert judgment. Overall, the study underscores the importance of critically evaluating LLM performance in statistically demanding tasks. Responsible integration of LLM requires critical oversight, cross-verification, and methodological evaluation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Are Human and LLM-Generated Observations Statistically Comparable? Rethinking Sampling Units, Variability, and Statistical InferenceAI · 2026
- Prompt engineering for accurate statistical reasoning with large language models in medical researchFrontiers in Artificial Intelligence · 2025
- Replicability, Reproducibility, and Robustness in Political and Social Science Research with Large Language ModelsarXiv · 2026
- Jagged competencies: Measuring the reliability of generative AI in academic researchJournal of Business Research · 2025
- ChatGPT as a Tool for Biostatisticians: A Tutorial on Applications, Opportunities, and LimitationsStatistics in Medicine · 2025
- Systematically evaluating LLM-based title-abstract screening configurations: toward a workflow for systematic reviewsSystematic Reviews · 2026