Sampling: Random vs Convenience

Info sheet · Statistics for Psychology & Neuroscience

Author

Andrew Bell

Published

September 22, 2026

Info sheet 0.2 (draft) · Prerequisites: none · Give feedback ↗

Working notes for the author — not shown to students once collapsed; remove before publishing.

What you’ll get from this sheet

By the end you should be able to:

  1. Distinguish random, stratified, and convenience sampling.
  2. Say how the sampling method limits what you can generalise to.

Who you measure decides what you can conclude: a random sample supports generalisation to the population; a convenience sample (whoever’s easy to reach) risks bias you can’t undo with statistics.

From sample to population

We almost never measure a whole population — every adult with insomnia, every possible trial of a neuron. Instead we measure a sample and hope what we find generalises. Whether it can depends entirely on how the sample was drawn, and that decision is made before a single number is collected. No test performed afterwards can rescue a badly chosen sample; statistics can only quantify uncertainty within the sample you actually have.

Three ways to sample

  • Random sampling — every member of the population has an equal chance of selection. This is the gold standard: it makes the sample representative on average and licenses honest generalisation to the whole population.
  • Stratified sampling — split the population into subgroups (strata) — age bands, sites, conditions — and sample within each, guaranteeing every group appears in the proportion you want. Handy when a simple random draw might, by luck, under-represent a small but important group.
  • Convenience sampling — you measure whoever is easy to reach: the undergraduates who signed up, the patients at one clinic. It’s cheap and common, but easy-to-reach people are usually systematically different from those who aren’t. Much of psychology’s “WEIRD” problem — samples that are Western, Educated, Industrialised, Rich, and Democratic — is convenience sampling in disguise.

Bias vs sampling error — and why n won’t save you

Two things pull a sample estimate away from the truth, and they behave completely differently. Sampling error is random: a particular sample lands a little above or below the true value by chance, and this shrinks as the sample grows — bigger n, tighter estimate. Bias is systematic: the sampling method points the estimate in one direction, and this does not shrink with n. A larger biased sample just gives you a more precise wrong answer. Pick a method and grow n — watch which error disappears and which one won’t:

Under random sampling the estimate homes in on the true mean as n grows — that wobble is sampling error, and it melts away. Under convenience sampling the estimate settles a fixed distance from the truth and stays there however large the sample gets — that’s bias, and no amount of data removes it.

See it in code

pop = exprnd(50, 1e5, 1);              % true mean ~50
mean(pop(randi(numel(pop), 60, 1)))    % random sample
easy = pop(pop < 45);                  % easy-to-reach subgroup
mean(easy(randi(numel(easy), 60, 1)))  % convenience sample: biased

The R and Python tabs run live; MATLAB is a static reference.

A researcher surveys students leaving the university gym about how much they exercise, and concludes the student body is very active. What kind of sample is this, and what can it actually generalise to?

It’s a convenience sample, and a badly biased one: people leaving a gym are, by definition, exercisers. The results generalise (at best) to gym-goers, not to the whole student body — and collecting more responses at the gym door wouldn’t fix it, it would just pin down the gym-goers’ average more precisely. To say anything about all students you’d need a random (or stratified) sample of the whole student population.

A big sample feels authoritative, but size only defeats sampling error, not bias. A biased method plus a huge n gives you a very precise wrong answer — and the resulting narrow confidence interval can make it look more trustworthy, not less. Always ask “who could not have ended up in this sample?” before “how many did I collect?”.

Where this shows up next

This is the first of the design decisions that determine what your statistics can claim. Next comes another: whether you manipulated a variable or merely observed it — the difference between association and cause.