sampbasics() — Populations & sampling

Who you study (the population) versus the slice you actually measure (the sample) — and how to pick it fairly.

population → sample

Key idea

Where you'd use it

Frequently asked questions

What is the difference between a population and a sample?
The population is the whole group you want to describe (every voter, bulb, patient); the sample is the smaller part you actually measure. You use the sample to estimate the population.
When should I do a census instead of a sample?
A census measures everyone — worth it only when the population is small, the stakes are high, or testing is cheap and non-destructive. Usually a sample is faster, cheaper, and accurate enough.
What is a sampling frame, and why does it matter?
The frame is the actual list you draw from. If it doesn’t match the target population (e.g. a phone list misses people without phones), you get undercoverage bias no matter how big the sample.
What exactly is bias?
A systematic error that pushes results the same wrong way every time. Unlike random error, it does not shrink as you collect more data — only better design fixes it.
Does a bigger sample remove bias?
No. A large but skewed sample just gives a confidently wrong answer — the 1936 Literary Digest poll asked 2.4 million people and still got it wrong. Randomness, not size, fights bias.
What makes a sample “simple random”?
Every unit — and every possible group of units — has an equal chance of being chosen, like drawing names from a hat. It’s the fairness benchmark other methods are judged against.
With replacement vs without replacement?
With replacement, a unit can be drawn more than once (like rolling a die); without replacement, each unit appears at most once (like dealing cards). Surveys almost always sample without replacement.
Stratified vs cluster sampling — what’s the difference?
Stratified: split into similar groups (strata) and sample within each so every group is represented. Cluster: split into groups (clusters) and randomly pick whole clusters — cheaper, but each cluster must resemble the population.
What is systematic sampling?
Order the list and take every k-th unit after a random start (e.g. every 20th name). Simple and fast, but it can fail if the list has a hidden repeating pattern matching k.