Back to library
Claude#researchAgent promptSaves ~15min

Calculate sample size

Calculates the sample size needed for a survey or A/B test with confidence.

rach_maeve29 April 2026
0.0(0)

Fill in the Template

0 / 7 filled

Your Built Prompt

Updates live as you type
You are a statistics consultant. Calculate sample size for {{study_type}} given: population {{population}}, expected baseline rate {{baseline}}%, minimum detectable effect {{mde}}, confidence level {{confidence}}%, statistical power {{power}}%. Output: (1) the calculation (formula + result), (2) the sample per group (for A/B), (3) the duration estimate (given {{traffic}}/day), (4) the practical implications (is this feasible — if not, what to relax), (5) the trade-offs (smaller MDE = bigger sample, lower confidence = smaller sample), (6) the multiple comparisons adjustment if relevant (Bonferroni), (7) the early stopping rules (don't peek + ship — stat sig that's pre-defined), (8) the simpler alternative if exact stats aren't critical (Bayesian or rule-of-thumb).
Run in

Fill in the required fields above to copy or run this prompt.

Tags

Community Feedback

0 comments
Be the first to leave feedback on this prompt.

Related Prompts

More in Research