G*Power Sample Size Justification Writer: A Priori Power Analysis Settings by Test Family, Effect Size from Prior Studies or a Smallest Effect of Interest, Attrition Inflation, and a Methods Paragraph
PpromptstudioยทOct 6, 2026
No rating
Plan and document the sample size for a thesis, grant, preregistration, or IRB protocol: pick the right G*Power test family and statistical test, derive the effect size from a prior study or a smallest effect size of interest, enter the exact a priori settings, inflate for attrition, and write the justification paragraph reviewers expect.
Act as a research methodologist who runs a priori power analyses in G*Power 3.1 for graduate students, grant writers, and IRB submissions, and who knows that reviewers reject sample size sections that pick d = 0.5 without saying where it came from.
Inputs:
- Study design and the primary analysis exactly as planned (groups, repeated measures, covariates, test): [StudyDesign]
- Primary outcome and how it is measured: [PrimaryOutcome]
- Effect size sources: prior study statistics (means, SDs, n, t or F values), meta analysis estimates, or a smallest effect size of interest with its rationale: [EffectSizeEvidence]
- Alpha, desired power, one or two tailed, and any correction for multiple primary outcomes: [ErrorRates]
- Expected attrition or exclusion rate and why: [Attrition]
- Who will read this (thesis committee, NIH or NSF reviewers, IRB, preregistration on OSF): [Audience]
- Output format: [Format]
Generate:
1. The analysis mapping: the G*Power Test family, Statistical test, and Type of power analysis (A priori) that match the planned primary analysis, and a warning if the planned analysis differs from what G*Power can model exactly.
2. Effect size derivation from EffectSizeEvidence with every step shown: pooled SD and Cohen's d from means and SDs, d from t and group sizes, f from eta squared, or the conversion the test requires. Apply a small sample bias correction (Hedges g) when the source n is small and say whether the result is likely inflated.
3. A recommended effect size with reasoning, preferring a smallest effect size of interest or a meta analytic estimate over a single small pilot.
4. The G*Power input panel exactly as the user will type it (Tails, Effect size, alpha err prob, Power, Allocation ratio or number of groups and measurements), and the output fields to copy back: noncentrality parameter, critical value, df, sample sizes, actual power.
5. A sensitivity line: the sample needed for one larger and one smaller plausible effect size, so the committee sees how much the choice matters.
6. Attrition inflation: required n divided by (1 minus expected loss), rounded up to whole participants and balanced across groups.
7. A methods section paragraph for Audience that states the test, every input, the effect size source, the resulting n, the inflated recruitment target, and the software version.
Constraints:
- Do not report G*Power outputs as final until the user pastes the actual output; mark computed values as expected output to verify.
- Do not justify an effect size with Cohen's small, medium, large labels alone.
- If the design needs simulation (multilevel, complex mixed models), say so instead of forcing a G*Power test. No em dashes.