Sampling and sample size
Sampling Methods, Sample Size, Power and Type I and II Errors
Random, systematic, stratified, cluster and non-probability sampling, sample size, drop-out adjustment, power, and type I and type II errors. Explained with the FCPS scenarios that test each method, plus intention-to-treat analysis and the link between sample size and standard error.
Key terms
- Population: the whole group of interest. The target population is who you want to draw conclusions about; the study (accessible) population is who you can actually reach.
- Sample: the subset studied. Sampling frame: the list of all units from which the sample is drawn (electoral roll, household register, clinic list). Sampling unit: individual, household, village or school.
- Parameter (true population value, such as μ) versus statistic (sample value, such as x̄).
- Sampling error: chance difference between a sample statistic and the population parameter; it shrinks as the sample grows. Sampling bias is systematic and does not shrink with size.
Probability (random) sampling
- Every unit has a known, non-zero chance of selection, so results can be generalised and sampling error calculated.
| Method | How it works | When and why |
|---|---|---|
| Simple random | Every unit has an equal chance (random numbers, computer, lottery) | Needs a complete frame; may by chance miss small subgroups |
| Systematic | Every kth unit after a random start (k = N ÷ n), such as every 10th patient | Easy in clinics and streets; biased if the list has a repeating pattern |
| Stratified | Split the population into homogeneous strata (age, sex, urban/rural), then sample randomly within each | Guarantees each subgroup is represented; more precise |
| Cluster | Randomly choose groups (villages, schools), then study all or some members | Cheap and practical when no list of individuals exists; larger sampling error (design effect) |
| Multistage | Random selection at several levels (districts, then villages, then households) | National surveys such as DHS |
| Multiphase | Basic data from everyone, more detail from a subsample | Screening surveys |
- The WHO EPI 30-cluster survey (30 clusters × 7 children) estimates immunisation coverage quickly.
- Stratified versus cluster: strata are internally similar and all strata are sampled; clusters are internally mixed (each a mini-population) and only some clusters are chosen.
Exam trap Stratified sampling is chosen for representation of subgroups; cluster sampling for convenience and cost when no list of individuals exists.
Non-probability sampling
| Method | Description |
|---|---|
| Convenience | Whoever is available (patients on today's ward); prone to selection bias |
| Consecutive | Every eligible patient over a set period; better than convenience |
| Quota | Fixed numbers from subgroups, chosen non-randomly within them |
| Purposive (judgemental) | Researcher picks information-rich cases; used in qualitative research |
| Snowball | Participants recruit others; reaches hidden populations (drug users, sex workers) |
- Results from non-probability samples cannot be generalised with confidence because selection chances are unknown.
Hypothesis testing errors
- The null hypothesis says there is no difference. A study can make two kinds of mistake:
| Null hypothesis true (no real difference) | Null hypothesis false (real difference) | |
|---|---|---|
| Study finds a difference (rejects null) | Type I error (α): false positive | Correct: power (1 − β) |
| Study finds no difference | Correct | Type II error (β): false negative |
- α is set before the study, usually 0.05; it is the risk of claiming an effect that is not there.
- β is usually 0.2 or 0.1; power = 1 − β = the probability of detecting a real difference of the chosen size, conventionally 80% or 90%.
- Small studies are prone to type II error: a non-significant result from an underpowered study is absence of evidence, not evidence of absence.
Remember Type I sees an effect that is not there; type II misses an effect that is.
What decides sample size
- A larger sample is needed when:
- the effect size to detect is smaller;
- variability (SD) is greater;
- α is stricter (0.01 rather than 0.05);
- power wanted is higher (90% rather than 80%);
- a cluster design is used (multiply by the design effect), several subgroups will be analysed, or drop-outs are expected.
- For a prevalence survey: n = Z² × p(1 − p) ÷ d², where Z = 1.96 for 95% confidence, p = expected prevalence and d = acceptable margin of error.
- Sample size and precision: SE = SD ÷ √n, so precision improves only with the square root of n. Halving the standard error requires four times the sample.
- Adjusting for drop-outs: divide the required number by the proportion expected to remain. Needing 200 completers with 20% loss: 200 ÷ 0.8 = 250 to recruit. Adding 20% (240) leaves you short, because 20% of 240 is 48 and only 192 remain.
- Power is calculated before the study (a priori); post hoc power adds nothing once results are known.
- Power increases with larger samples, larger effects, less variability, a more lenient α and one-tailed tests.
Exam trap To allow for drop-outs divide by the retention rate; do not just add the percentage.
Randomisation and analysis in trials
- Allocation methods: simple, block (keeps group sizes equal), stratified (balances key prognostic factors), cluster randomisation and minimisation.
- Allocation concealment (central telephone or web system, sealed opaque envelopes) stops recruiters predicting the next assignment.
- Intention-to-treat analysis: every participant is analysed in the group to which they were randomised, whether or not they took the treatment, switched or dropped out. It preserves the balance created by randomisation and gives a realistic, conservative estimate. Per-protocol analysis includes only compliers and can overstate benefit.
Sampling and measurement quality
- A representative sample protects external validity; good measurement protects internal validity.
- Reliability (precision, repeatability) means a test gives the same result when repeated on the same subject, by the same or different observers. Validity (accuracy) means it measures what it claims to measure. A test can be reliable but not valid.
How FCPS asks about this
- Every 10th patient after a random start: systematic sampling.
- Villages selected at random and all children in them studied: cluster sampling; WHO 30 × 7 survey.
- Population divided by age group and each sampled randomly: stratified sampling.
- Recruiting injecting drug users through other users: snowball sampling.
- Power: 1 − β, usually 80%; type II error is missing a real difference.
- 200 needed with 20% expected drop-out: recruit 250 (200 ÷ 0.8).
- Intention-to-treat analysis: participants analysed in the group they were randomised to.
Test yourself on this topic
5 of the 7 questions in our bank on this topic. Choose an answer to see why every option is right or wrong.
For a dental survey, all 1,200 children on a school register are numbered from 1 to 1,200. A table of random numbers is then used to choose 120 of them. Which sampling method has been used?
Answer: Simple random sampling
In simple random sampling every unit in the sampling frame is numbered and a table of random numbers decides which units enter the sample. Each unit has an equal chance of selection, and this method gives the greatest number of possible samples. Systematic sampling also gives each unit an equal chance, but it picks every nth unit after a random start, so far fewer samples are possible.
Simple random sampling
- Number every unit in the sampling frame
- Select with a table of random numbers
- Equal chance for every unit
- Gives the most possible samples
Remember Numbered list plus random number table: simple random sampling.
Why the other options are wrong
- Systematic random sampling Would pick every 10th child after a random start, not numbers from a random table.
- Stratified random sampling Would first divide the children into groups, such as classes, and sample each.
- Cluster sampling Would randomly select whole classes or schools and study all their children.
- Convenience sampling Takes whoever is easiest to reach; no random selection is used.
To estimate anaemia in women of a district where only one fifth of women live in towns, a survey team lists urban and rural women separately. It then draws a random sample from each list in proportion to its size, so both groups can be analysed. Which sampling method is this?
Answer: Stratified random sampling
In stratified random sampling the population is first divided into groups (strata) by a characteristic such as residence, age or religion, and a random sample is then drawn from each stratum. Each portion of the sample represents its own stratum, which matters when the groups are unequally distributed and are to be analysed separately. Simple random sampling draws from the whole list at once, so a small group may be under-represented.
Stratified random sampling
- Divide population into strata first
- Then random sample from each stratum
- Useful when groups are unequally distributed
- Allows analysis by group
Remember Subgroups first, then random selection within each: stratified.
Why the other options are wrong
- Simple random sampling Draws from the whole population at once, without first dividing it into groups.
- Systematic random sampling Picks every nth unit from one list after a random start.
- Cluster sampling Randomly selects whole groups, such as villages, and studies everyone in them.
- Quota sampling Fills set numbers per group without random selection, so it is not a probability sample.
Dividing a population into subgroups and then randomly allocating treatment within each subgroup is called:
Answer: Stratified randomisation
In stratified randomisation, participants are first divided into strata according to a prognostic factor such as age or sex, then randomised within each stratum. This ensures balance between treatment groups on that factor.
Sampling methods
- Divide into strata
- Randomise within each stratum
- Balances known confounders
Remember Stratified randomisation randomises within predefined subgroups to balance known factors.
Why the other options are wrong
- Quota allocation Quota methods fill predetermined numbers non-randomly.
- Cluster randomisation Cluster randomisation allocates whole groups (such as villages), not individuals.
- Systematic allocation Systematic allocation uses a fixed interval (every kth subject) and is not random.
- Simple randomisation Simple randomisation allocates every participant by chance from the whole group, with no subgroups.
Which sampling method gives every possible sample of a specified size from the population an equal probability of selection?
Answer: Simple random sampling
In simple random sampling each member of the sampling frame has the same known probability of selection, usually by random numbers. Other probability methods impose structure, and quota sampling is non-probability.
Sampling methods
- Simple random: equal chance each
- Needs a sampling frame
- Systematic: every nth person
- Quota is non-probability
Remember Equal selection probability for all members defines simple random sampling.
Why the other options are wrong
- Systematic sampling Systematic sampling picks every nth unit after a random start.
- Cluster sampling Cluster sampling selects whole groups, not individuals.
- Quota sampling Quota sampling is non-random and fills fixed numbers from subgroups.
- Stratified sampling Stratified sampling divides the population into strata and samples within each.
Which method gives every possible sample of a fixed size the same probability of selection?
Answer: Simple random sampling
Simple random sampling gives every member the same known probability, usually using a random number table or generator. Other probability methods add structure but do not give strictly equal independent chance to every combination.
Sampling methods
- Simple random: equal chance for everyone
- Needs a sampling frame
- Convenience sampling is non-probability
Remember Simple random sampling gives every member an equal chance of selection.
Why the other options are wrong
- Cluster sampling Whole groups such as villages are selected, not individuals.
- Systematic sampling Picks every kth person after a random start.
- Stratified sampling Population is divided into groups first and each group is sampled separately.
- Convenience sampling Non-probability method using whoever is easy to reach.
Where this sits in the CPSP syllabus
- Paper 1: Biostatistics, Sampling methods and sample size; power