Survey sample size and margin of error, worked out for your population and subgroups

by fidji DeepSeek English ~564 tokens
Public excerpt Locked
Formula, substitution and result for each step: n₀ = z² p(1 − p) / e², finite population correction, invitations from the response rate, then margins of error for each subgroup you plan to report. Plus the trade-off table and the limits sampling maths cannot fix…

About this prompt

Calculates how many responses you need, and how many people to invite, for a survey or audit sample: confidence level, margin of error, finite population correction, expected response rate, and the much wider margins on subgroups people forget. DeepSeek shows every formula and substitution, so the figures can be checked and defended when someone asks “is that enough people?”.

Example output

Provided by the author
STEP 2 — SAMPLE SIZE (95 %, ±5 points, p = 0.5, N = 4,000) z = 1.96 n₀ = 1.96² × 0.5 × 0.5 / 0.05² = 3.8416 × 0.25 / 0.0025 = 0.9604 / 0.0025 = 384.16 n = 384.16 / (1 + 383.16 / 4,000) = 384.16 / 1.09579 = 350.6 → 351 completes STEP 3 — INVITATIONS 351 / 0.30 = 1,170 invitations (29 % of the population) STEP 4 — SUBGROUPS Sales: 400 employees → expected 120 responses e = 1.96 × √(0.25 / 120) = 1.96 × 0.04564 = 0.0895 → ±8.9 points With the population correction √((400 − 120) / 399) = √0.7018 = 0.8377 → ±7.5 points Reading: a 55 % vs 47 % gap between Sales and another department of this size may be noise…

Details

Model
DeepSeek
Prompt language
English
Who it's for
HR teams, researchers, product managers and students planning a survey or a sample check
Length
~564 tokens (estimate)
Delivered as
Prompt text, shown online after purchase

Reviews

Buyers only

No reviews yet. Only buyers of this prompt can leave one.

Report this prompt