Lesson 1 of 7 · 12 min
Populations, samples and random samples
Tell a population from a sample and a parameter from a statistic, and explain what makes a sample random and why randomness matters.
What you will be able to do
- Identify the population, the sample, the parameter and the statistic in a context.
- Explain what a random sample (and a simple random sample) is.
- Explain why a random sample gives estimates you can trust, and a non-random one may not.
What proportion of Queensland Year 12 students have a part-time job? There are more than 50 000 of them. You can't ask them all, but you could ask 500. The question is whether the answer from 500 students tells you anything about all of them.
It can — if the 500 are chosen well. This topic is about what "chosen well" means, and about how much an answer from a sample can be expected to wobble.
You observe the sample and calculate a statistic such as . You use it to estimate a parameter of the population, such as .
Definition
The vocabulary of sampling
- The population is the whole group you want to know about.
- A sample is the part of the population you actually observe.
- A parameter is a number describing the population, such as the population proportion . It is fixed, but usually unknown.
- A statistic is a number calculated from the sample, such as the sample proportion (say "p hat"). It changes from sample to sample.
In a random sample of 500 Queensland Year 12 students, 0.46 have a part-time job. Which statement is correct?
A sample is only useful if it is representative: if it looks like the population in the ways that matter. You can't check that directly (you don't know the population — that's why you're sampling), so instead you make sure the method of choosing the sample is fair. The fairest method is to let chance choose.
Key idea
Random samples
A sample is random when it is chosen by a chance process that gives every member of the population the same chance of being included.
In a simple random sample of size , every possible group of members is equally likely to be the one chosen. Drawing names from a well-mixed hat, or using a random number generator on a numbered list, gives a simple random sample.
Randomness does two jobs. It removes the chooser's preferences, conscious or not, so no part of the population is systematically favoured. And it makes the sample's results behave like a random variable whose behaviour you can predict with probability — which is exactly what the rest of this topic does.
A random sample
The school office numbers all 1200 students and uses a random number generator to choose 80 of them.
Every student has the same chance, , of being chosen. The sample's mix of year levels, interests and backgrounds will be close to the school's, give or take chance variation.
Not a random sample
A student asks the first 80 people who walk into the library at lunch.
Students who are never in the library have no chance of being chosen. People who study at lunch may differ from everyone else, so the sample may systematically misrepresent the school.
Worked example
Population, sample, parameter and statistic
Queensland Health wants to know the proportion of Queensland adults who are fully vaccinated against influenza this year. It phones a random sample of 2000 Queensland adults, and 840 of them say they are vaccinated.
(a) Identify the population and the sample.
(b) Calculate the sample proportion and say whether it is a parameter or a statistic.
(c) Explain why another random sample of 2000 adults would probably give a different answer.
Step 1: Identify the population
The population is everyone the question is about: all Queensland adults.
Step 2: Identify the sample
The sample is the people actually surveyed: the 2000 adults who were phoned.
Step 3: Calculate the sample proportion
Step 4: Parameter or statistic?
0.42 was calculated from the sample, so it is a statistic. The unknown proportion of all Queensland adults who are vaccinated is the parameter it estimates.
Step 5: Explain the variation
A different random sample contains different people, so it will usually contain a slightly different number of vaccinated adults. The statistic varies from sample to sample, while stays fixed.
This sample-to-sample variation is what the rest of the topic measures.
Try it yourself first, then check the working one step at a time.
Answer
The population is all Queensland adults and the sample is the 2000 adults phoned. is a statistic estimating the parameter . Another random sample contains different people, so its would usually differ.
Method
Population: everyone the question is about. Sample: those actually observed.
A number calculated from the sample is a statistic; the matching population value is a parameter.
Watch out for
Calling the 2000 adults the population: they are only the part that was observed.
Calling 0.42 "the proportion of Queensland adults who are vaccinated". It is an estimate of that proportion.
A gym with 2400 members wants a random sample of 100 members. Which method gives a random sample?
Common mistake
"Random" doesn't mean "haphazard"
Picking "whoever I happen to see" feels random but isn't: you are more likely to see some people than others. A random sample needs a genuine chance process, such as random numbers, applied to a list of the whole population.
Note
Why not ask everyone?
Surveying the whole population is a census. The ABS runs one every five years, at enormous cost. Between censuses, samples are cheaper, faster and — if they are random and reasonably large — accurate enough. Sometimes a census is impossible anyway: you can't crash-test every car or taste every jar of Vegemite.
Summary
The population is the whole group of interest; the sample is the part you observe.
A parameter (such as ) describes the population and is fixed; a statistic (such as ) comes from a sample and varies.
A random sample is chosen by a chance process that gives every member the same chance of selection; in a simple random sample every group of size is equally likely.
Randomness protects against the chooser's preferences and lets probability describe how the sample results vary.
Finished the lesson?
Try the 2 quick checks above and the lesson completes itself, or mark it complete now.