LLM Coding Promps and the Statistical Power of the Welch-Satterthwaite t-test: A Focused Simulation Study

A clear and comprehensive prompt for code from a Large Language Model (LLM) is required for successful execution and this very necessity can assist in the need for simulation replications. A carefully crafted and evolved prompt, whether used for code creation or not, supports both study understanding and replication in a concise, readable, and readily applied manner. The prompt for the current Welch-Satterthwaite independent t-test, WS, simulation illustrated the costs and benefits to be had from reporting a developed coding request. The WS is known to be robust against Type I error and is often recommended by default over Student’s t-test. WS is also known to be less statistically powerful than Student’s t-test. Two factors that impact the power of the WS are the reliability of the dependent measure and design balance. The theoretical, applied, and didactic value of the relationship of these factors and their possible interaction to WS power was the subject of this study. Results indicated that all three of the predictors were statistically significant and explained virtually all the variation in a linear model with design balance being most important. When the linear model was restricted to more commonly observed values of reliability and design imbalance, the interaction disappeared, and reliability was most important.

Authors

Publication Details

Published
2025-08-15
DOI
https://doi.org/10.31234/osf.io/f75gz_v1
Primary Topic
Library Science and Information Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LLM Coding Promps and the Statistical Power of the Welch-Satterthwaite t-test: A Focused Simulation Study

Gunnar Johanson
Library Science and Information Systems
article

LLM Coding Promps and the Statistical Power of the Welch-Satterthwaite t-test: A Focused Simulation Study

Gunnar Johanson
article en

Abstract

A clear and comprehensive prompt for code from a Large Language Model (LLM) is required for successful execution and this very necessity can assist in the need for simulation replications. A carefully crafted and evolved prompt, whether used for code creation or not, supports both study understanding and replication in a concise, readable, and readily applied manner. The prompt for the current Welch-Satterthwaite independent t-test, WS, simulation illustrated the costs and benefits to be had from reporting a developed coding request. The WS is known to be robust against Type I error and is often recommended by default over Student’s t-test. WS is also known to be less statistically powerful than Student’s t-test. Two factors that impact the power of the WS are the reliability of the dependent measure and design balance. The theoretical, applied, and didactic value of the relationship of these factors and their possible interaction to WS power was the subject of this study. Results indicated that all three of the predictors were statistically significant and explained virtually all the variation in a linear model with design balance being most important. When the linear model was restricted to more commonly observed values of reliability and design imbalance, the interaction disappeared, and reliability was most important.

Openalex Percentile: Top 67%
Library Science and Information Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

LLM Coding Promps and the Statistical Power of the Welch-Satterthwaite t-test: A Focused Simulation Study — Gunnar Johanson · (2025) | TGRS Research Map | TGRS