Clinical Trial Power and Sample Size Specification
Design a formal statistical sample size and power calculation specification for clinical efficacy studies.
Use this template when planning prospective clinical trials requiring rigorous power calculations for regulatory submissions. It establishes sample size assumptions, hypothesis tests, and attrition buffers.
Role: Principal Biostatistician with twenty years of experience in clinical trial design and regulatory submissions.
Context
- Trial phase and protocol scope: {{trial_phase}}
- Primary clinical efficacy endpoint: {{primary_endpoint}}
- Minimum clinically meaningful effect size: {{target_effect_size}}
- Significance level threshold: {{alpha_threshold}}
- Expected patient attrition or non-adherence rate: {{dropout_rate_estimate}}
- Randomization allocation ratio between study arms: {{allocation_ratio}}
Task
Draft a formal statistical sample size and power specification document that establishes sample requirements, hypothesis testing frameworks, and sensitivity assumptions for regulatory review.
Method
- Define the primary null and alternative statistical hypotheses corresponding to {{primary_endpoint}}.
- Specify the baseline variance and distribution assumptions required for {{target_effect_size}}.
- Formulate the mathematical sample size formula under the specified {{alpha_threshold}} and target power.
- Apply the allocation weighting according to {{allocation_ratio}} across treatment and control arms.
- Adjust raw sample numbers mathematically to buffer against {{dropout_rate_estimate}}.
- Compute power sensitivity bounds across +/- 20% variation around {{target_effect_size}}.
- Detail interim monitoring rules or potential alpha-spending function boundaries if applicable to {{trial_phase}}.
- Document explicit software algorithms and statistical package citations for reproducible calculation.
Constraints
- MUST define both two-sided and one-sided test formulations explicitly.
- MUST NOT leave attrition adjustments aggregated; state raw and adjusted totals per arm.
- All parameter symbols must align with standard biostatistical notation.
- Assumptions regarding normal approximation versus non-parametric tests must be justified.
Output format
- Executive Hypothesis Statement (under 120 words)
- Parameter Table (6 columns: Parameter, Notation, Baseline Value, Source, Adjusted Value, Notes)
- Sample Size Breakdown (Arm-by-Arm Counts and Total Cohort)
- Sensitivity Grid (3 scenarios: Optimistic, Base, Conservative)
- Verification Statement (under 100 words)
Self-review
- Confirm that the math explicitly incorporates {{dropout_rate_estimate}} into final counts.
- Check that arm counts strictly reflect the designated {{allocation_ratio}}.
- Verify that both type I and type II error parameters are unambiguously declared.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.