Population vs sample

Analytika TeamLast reviewed 5 min read

Researchers almost never measure everyone they care about. They measure some people and use the results to say something about everyone. Understanding the gap between the two, and how statistics bridges it, is the basis of inferential statistics.

Population

The entire group you want your conclusions to apply to. It’s defined by your research question, and it can be large (all adults with type 2 diabetes) or small (all 240 employees of one company). It doesn’t have to be people: it can be schools, hospitals, transactions or tweets.

Sample

The subset of the population you actually collect data from. A good sample is representative: it looks like the population on the characteristics that matter for your question.

Parameters vs statistics

Population (parameter)Sample (statistic)
Meanμx̄
Standard deviationσs
Proportionp (or π)p̂
Correlationρr

Hypotheses are always about parameters (H₀: μ₁ = μ₂). Statistics are your estimates of them.

Why not measure the whole population?

  • It’s usually impossible: you can’t survey every university student in the world.
  • It’s expensive and slow, even when it is possible.
  • Some measurements destroy what they measure, such as crash-testing cars.
  • A well-drawn sample gives answers precise enough for most purposes.

Sampling error and sampling bias

Two different things can make a sample statistic differ from the population parameter:

  • Sampling error: random variation from sample to sample. Draw two random samples of 100 and their means will differ a little. This is unavoidable but predictable. It shrinks as samples grow, and confidence intervals and standard errors measure it.
  • Sampling bias: a systematic difference between who ends up in the sample and the population, such as surveying only people who answer their landline, or only volunteers. Bias doesn’t shrink with sample size, and no statistical test detects or corrects it.

A huge biased sample can be worse than a small random one, because it gives a precise answer to the wrong question.

Sampling methods in brief

  • Simple random sampling: every member has an equal chance of selection. This is the ideal that most tests assume.
  • Stratified sampling: sample randomly within subgroups (such as year of study) to guarantee each is represented.
  • Cluster sampling: randomly select groups (schools, clinics) and measure everyone in them. The analysis then needs to account for the clustering.
  • Convenience sampling: whoever is easy to reach. It’s common in student research, but generalising from it needs caution, and the limitation should be stated.

Defining your population precisely

“Students” is too vague. “Full-time undergraduate students at UK universities in 2025–26” tells a reader exactly who your findings are meant to apply to, and makes it easy to see how well your sample matches. State both in your methods section, along with how participants were recruited.

How many people should you sample? That depends on the effect you want to detect. See sample size and statistical power, or use our free sample size calculator.

More in Foundations

Try it with the free tools

Run this on your own data

Upload a dataset and ask your question in plain English. Analytika checks the assumptions, picks the test, runs it, and writes the results up in APA format.

Try it free