Draft sample-size wording from numbers computed in validated software
AI drafts the prose of a sample-size section from inputs you supply, such as alpha, power and effect size. It must never calculate the number; a validated tool does that.
Untested ideaHigh risk
Evidence
Untested idea. No source tests drafting this wording. Context only: TrialPanorama (arXiv 2505.16097) asked models to compute the required sample size from trial synopses with the statistical assumptions; GPT-4o had a mean absolute error of 452.1 against registered target accrual, set by human statisticians. That supports not letting a model calculate the number. Prompt not run.
Steps
- Compute the sample size in validated software.
- Paste the assumptions and the software output summary.
- Run the wording prompt.
- Check every number in the text against the output.
- Add the software name and version yourself.
Prompt
This is the prompt, typed out. No assistant reply is shown.
You
Write a short sample-size justification paragraph for a statistical analysis plan using ONLY the assumptions and results I give. Do NOT calculate or adjust any number. Copy numbers exactly. List any assumption needed for a complete justification that is missing (dropout rate, allocation ratio, test sidedness, multiplicity) under OPEN QUESTIONS.
Rules: use ONLY the input below. Tag anything the input does not state as OPEN QUESTION. Never invent numbers; use placeholders such as xx. Do not claim anything is verified.
INPUT:
[paste input here]
Verify before you use it
- Every number equals the software output.
- Test, sidedness, alpha and allocation ratio are stated and correct.
- Dropout and multiplicity treatment match the SAP.
- Software and version are named.
- No effect-size rationale was invented.
How it fails
The AI recomputes or rounds a number itself and the text no longer matches the software output.
Data rule: No unpublished effect-size assumptions, pilot data or sponsor-specific design parameters. Use public or invented values.