Doctors Revision

Study Population and Sample Size Determination

Text size
On this page 15 sections

Overview

Sample size determination is the planned calculation of how many observations are needed to answer a study’s main question with adequate precision or statistical power. It must be linked to the population, sampling design, primary outcome and analysis. The number is not a mark of quality by itself: a biased sample of thousands may still give a misleading answer, while an unnecessarily large study wastes resources and exposes more people than needed.

1. Define the population before calculating

Term Meaning Example
TermMeaningExample
Target populationGroup to which the research question intends to apply.Adults with hypertension living in a named district.
Accessible populationEligible people the team can reach through selected sites and dates.Adults attending four selected clinics during the study period.
Sampling frameOperational list or source used to select units.An updated register, household list or mapped enumeration area.
SampleSelected eligible units that provide data.People invited and enrolled according to the protocol.

Write the setting, dates, unit of selection, inclusion criteria and justified exclusions. A study of clinic attendees cannot automatically represent every adult in the district. See the companion lesson on probability and non-probability sampling techniques.

2. Match the calculation to the primary objective

Sample size depends on what the study is designed to estimate or compare. A prevalence survey needs a target precision and plausible prevalence. A comparison of two treatments needs an expected difference, outcome variability or event rates, significance level, power and allocation ratio. A diagnostic-accuracy study needs adequate numbers with and without the condition. Cluster trials, repeated measures, survival analyses and multiple primary outcomes add design-specific requirements. Calculate for the main objective first; if several essential objectives exist, calculate each appropriately and plan for the largest defensible requirement.

3. Single population proportion formula

This starting formula estimates one proportion. It assumes a probability sample and an analysis compatible with the design; it does not itself account for clustering, non-response, poor measurement or multiple comparisons.

4. Worked prevalence example

A student plans to estimate the proportion of adults with a defined risk factor. A relevant prior study suggests p = 0.20; the team chooses 95% confidence (Z = 1.96) and absolute precision d = 0.05.

  1. Calculate q = 1 − p = 1 − 0.20 = 0.80.
  2. Substitute: n₀ = (1.96² × 0.20 × 0.80) ÷ 0.05².
  3. Numerator: 3.8416 × 0.16 = 0.614656; denominator: 0.0025.
  4. n₀ = 245.86, so round up to 246 completed observations under the stated assumptions.

If there is no credible prior estimate for p, using 0.50 gives the largest initial sample for a fixed confidence and precision because p(1 − p) is then greatest. This is a conservative choice, not a universal default; state why it is used and consider local evidence.

5. Adjust for a small finite population

When the eligible population is small and a large fraction will be sampled without replacement, a finite-population correction may reduce the requirement. One commonly used form is n = n₀ ÷ [1 + (n₀ − 1) ÷ N], where N is the eligible population size. With n₀ = 245.86 and N = 1,000, the corrected requirement is approximately 198. The correction is not appropriate when the population is effectively large or the assumptions do not fit the design. Use the formula specified by the study protocol or validated software and show its inputs.

6. Account for clustering and non-response

In a cluster survey, people from the same village or facility may be more alike than people selected independently. The design effect (DEFF) inflates the sample to reflect the loss of precision. For equal cluster sizes, a rough teaching approximation is DEFF = 1 + (m − 1)ρ, where m is average cluster size and ρ is the intra-cluster correlation; real designs can be more complex.

Using the example above: corrected n ≈ 198; with DEFF = 1.5, plan for 198 × 1.5 ≈ 297 completed observations. If 90% response is expected, invite 297 ÷ 0.90 = 330 people. Divide by the expected response proportion; adding 10% to 297 would under-adjust. For follow-up loss, use the expected retention rate and specify whether the final target means enrolled or analysable participants.

7. Comparative and analytical studies need different inputs

For two-group comparisons, calculations usually require a clinically or programmatically meaningful effect size, the expected outcome frequency or standard deviation, type-I error level (α), desired power (commonly 80% or 90%), group allocation ratio and expected attrition. A smaller difference, more variable outcome or higher power generally needs more observations. A case-control study may require expected exposure proportions among cases and controls and the case:control ratio. A clinical trial may need a non-inferiority margin or allowance for clustering. Do not substitute the one-proportion formula for a comparison question; use a design-specific method and have the assumptions reviewed by a statistician or supervisor.

8. Qualitative sample size is justified differently

Qualitative studies do not usually calculate a participant count from a prevalence formula. The planned number depends on the aim, specificity of the sample, diversity of experience, quality and depth of interviews, analytic approach and whether additional data are still changing the interpretation. Researchers may describe information power or saturation, but should define how adequacy will be judged and document the stopping decision. A few information-rich interviews can answer a focused question; a broad question across diverse groups may require more variation and more analysis.

9. Common mistakes to prevent

10. A calculation worksheet for a proposal

  1. State the primary objective and outcome measure.
  2. Name the target population, study design, sampling method and analysis.
  3. Choose a formula that matches the objective; list every parameter and its source.
  4. Show the substitution, intermediate result and final rounding.
  5. Apply finite-population correction only if justified; then apply design effect, expected response or attrition, and planned subgroup requirements in a transparent order.
  6. Confirm that the recruitment plan, field capacity, ethics and budget can achieve the target.
  7. Report screened, eligible, invited, enrolled, completed and analysed numbers with reasons for losses.

11. Uganda-linked illustration

The 2023 Uganda WHO STEPS survey report demonstrates why sample-size decisions need several inputs: its calculation used an anticipated prevalence of 50%, 5% precision, a design effect of 1.5, an expected response rate of 80% and age-sex reporting groups. Those parameters belong to that survey’s goals and design; they should not be copied automatically into a student project. The WHO STEPS planning page provides a sample-size calculator and a sampling workbook for its survey methodology.

Review and application questions

  1. Calculate n₀ for p = 0.20, Z = 1.96 and d = 0.05. What does d represent?
  2. Why may a cluster survey need a design effect?
  3. If 297 analysable participants are required and the response rate is 90%, how many should be invited?
  4. Why is a prevalence formula not automatically suitable for comparing two treatment groups?
  5. What sampling and ethics limitations arise when a clinic-based sample is used to describe all district residents?

References and further learning

Return to the Clinical Medicine Year 2 curriculum

Educational content only. Sample-size calculations for a real protocol should be checked against the exact design and reviewed by an appropriate supervisor or statistician before recruitment.

Further Reading

For deeper study, use established research-methods and reporting resources:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top