Grade by Grade
C. Organization of Data for Analysis · Organization of Data for Analysis

Populations, Samples and the Census

C2.2About 65 minutes
Learning goals
  • I can identify the population, sampling frame and sample in a study.
  • I can explain the difference between a census and a sample, and why sampling is often necessary.
  • I can describe the characteristics of a good sample.
  • I can use a sample statistic to estimate a population parameter, such as a population total.

Words to know

population
The entire group of individuals that a study wants to describe or draw conclusions about.
census
A study that collects data from every member of the population.
sample
A subset of the population from which data are collected.
sampling frame
The actual list or source from which the sample is drawn (an enrolment list, a phone directory, a map of city blocks). Ideally it matches the population.
representative sample
A sample whose characteristics closely match those of the population.
inference
Drawing a conclusion about a population from sample data.
destructive testing
Testing that destroys or uses up the item, such as crash-testing a car seat or burning a light bulb until it fails.

Taste the soup

When you cook a big pot of soup, you do not eat the whole pot to check the seasoning. You stir it well and taste one spoonful. If the soup is well stirred, one spoonful tells you about the whole pot.

That is the idea of sampling. The pot is the population, the spoonful is the sample, and stirring is random selection. If you forget to stir, your spoonful from the top might be all broth and no vegetables: a biased sample.

Remember from Grade 9: you met populations, samples and some sampling methods when you planned data collection in MTH1W. This lesson and the next go deeper: the sampling frame, parameters and statistics, why we sample, what makes a sample good, and how to carry out each method precisely.

Population, sampling frame and sample

  • The population is everyone (or everything) the question is about: all secondary students in a school board, all bags of chips made today, all maple trees in Algonquin Park.
  • The sampling frame is the list or source you actually choose from: the board's enrolment list, the production log, a map divided into plots. A good frame matches the population. A poor frame leaves people out or includes people who should not be there.
  • The sample is the individuals you actually collect data from.

Remember from the lesson on variability: a number that describes the population is a parameter (usually unknown); a number calculated from the sample is a statistic (calculated, then used to estimate the parameter). Using sample data to draw conclusions about a population is called inference.

samplen = 400Population: 9600 studentssampling frame:enrolment listParameter ptrue proportion with a jobunknownStatistic p̂ = 132/400 = 0.33calculated from the sampleused to estimate pinference
The sample is drawn from the sampling frame, which should match the population. The statistic p̂ is calculated from the sample and used to estimate the unknown parameter p.

Census or sample?

A census collects data from every member of the population. Canada's Census of Population is held every five years (for example 2016, 2021 and 2026). In 2021, most households answered a short-form questionnaire and about one in four households received the longer, more detailed long-form questionnaire, so even the census uses sampling for its detailed questions.

Why not always use a census?

  • Cost and time. Contacting millions of people is enormously expensive and slow. The monthly unemployment rate comes from a sample survey (the Labour Force Survey) because a monthly census would be impossible.
  • Destructive testing. If testing destroys the item (crash-testing car seats, measuring how long a battery lasts), a census would leave nothing to sell.
  • Unreachable or unlimited populations. All the fish in Lake Superior, all future customers, all possible rolls of a die.
  • Accuracy. A small, carefully run sample with well-trained interviewers can be more accurate than a rushed census with tired, careless data collection.

A census makes sense when the population is small and easy to reach (the 28 students in your class), or when you need information about every individual (a teacher needs every student's mark, not an estimate).

Does measuring destroy or use up the item?Is the population too large or hard to reach?Is there time and money to measure everyone?Use a sampleA census is possiblenonoyesyesyesnoEven when a census is possible, a careful sample may be faster and just as accurate.
A quick way to decide between a census and a sample. Any "yes" on the first two questions, or a "no" on the third, means you should sample.

What makes a good sample?

  1. Representative. It looks like the population in the ways that matter for the question (ages, regions, grades).
  2. Randomly selected. Chance, not the researcher's judgment or the participants' choice, decides who is in the sample. Randomness protects against bias you did not even think of.
  3. Large enough. Larger samples have less sampling variability. The right size depends on how much the population varies and how precise the answer must be. (You will calculate sample sizes from a margin of error in One-Variable Data Analysis.)
  4. Drawn from a good sampling frame. If the list leaves people out, so will the sample.
  5. High response. If many chosen people do not respond, the people who do respond may be different.

A surprising fact: for a large population, the size of the sample matters much more than the fraction of the population sampled. A random sample of 1000 people tells you about as much about all of Canada as it would about a single large city.

Worked example

Example 1: Naming the parts and making an estimate

A school board wants to know what proportion of its 9600 secondary students have a part-time job. It randomly selects 400 student numbers from its enrolment list and surveys those students; 132 say they have a part-time job. Identify the population, sampling frame, sample, parameter and statistic. Then estimate how many students in the board have a part-time job.

  1. Population: all 9600 secondary students in the board.
  2. Sampling frame: the board's enrolment list.
  3. Sample: the 400 students selected.
  4. Parameter: the proportion p of all 9600 students who have a part-time job (unknown).
  5. Statistic: p̂ = 132 ÷ 400 = 0.33.
  6. Estimate of the total: 0.33 × 9600 = 3168 students.

p̂ = 0.33, so about 3170 students (roughly a third) are estimated to have part-time jobs. Because of sampling variability, the true number could be somewhat higher or lower.

Worked example

Example 2: Census or sample?

Should each study use a census or a sample? (a) The average lifetime of a new brand of AA battery. (b) The marks of all 31 students in a Grade 12 class, for report cards. (c) Canadians' opinions about a proposed national holiday. (d) Whether each of 12 elevator cables in a building is safe.

  1. (a) Measuring lifetime uses up the battery (destructive testing): sample.
  2. (b) Small population and every individual's value is needed: census.
  3. (c) Huge population; cost and time make a census impractical: sample.
  4. (d) Small population, and safety requires checking every cable (with non-destructive inspection): census.

(a) sample, (b) census, (c) sample, (d) census.

Worked example

Example 3: The manufacturer's decision

The curriculum asks: what factors should a manufacturer consider when deciding whether to test a sample or the entire population to ensure the quality of a product? Answer for (i) a company that makes bike helmets and (ii) a company that makes pencils.

  1. Is the test destructive? Impact-testing a helmet destroys it, so helmets must be sampled for impact tests. Checking a pencil's length is not destructive.
  2. How serious is a defect? A faulty helmet could lead to a serious injury, so the company tests many samples from every production batch and may visually inspect every helmet. A slightly short pencil is a minor problem.
  3. Cost and time per test compared with the value of the item. Inspecting every pencil would cost more than the pencils are worth.
  4. Volume of production. Millions of pencils a day cannot all be checked by hand; automated measuring might check every one cheaply.
  5. Required precision and past variability. A process with a history of very consistent output needs less testing than a new or unreliable one.
  6. Legal and safety standards may set minimum testing requirements.

Helmets: sample for destructive impact tests, frequently and from every batch, plus non-destructive checks of every unit. Pencils: occasional samples are enough unless automated checking makes a census cheap.

Just for fun

Why don't statisticians ever eat the whole pot of soup? Because a well-stirred spoonful is a representative sample, and the rest is "for replication".

Hands-on activity

How many words are in this book?

You need: a thick book with mostly full pages of text (a novel works well), a die or a phone's random-number generator, and a calculator.

  1. Note the first and last page numbers of the main text. The pages in between are your population of pages.
  2. Use the random-number generator to choose 3 random page numbers (if a page is blank or a chapter title page, choose again and record that you did).
  3. Count the words on each chosen page. Find the mean words per page, x̄, and estimate the total: x̄ × (number of pages).
  4. Now choose 7 more random pages and repeat with all 10 pages.
  5. Compare your two estimates. Which do you trust more, and why?
  6. Bonus: a second person does the same with different random pages. How close are your 10-page estimates?

What to look for: the two 10-page estimates are usually closer to each other than the two 3-page estimates would be. Choosing pages because they "look typical" instead of at random can introduce bias (people tend to skip pages with dialogue or short lines).

Your turn

1

A polling firm calls 1200 randomly chosen Ontario adults from a list of landline and cellphone numbers. Identify the population, sampling frame and sample.

2

Give three reasons why a sample might be used instead of a census.

3

In a random sample of 250 households in a town of 8000 households, 85 have a dog. Find p̂ and estimate the number of households with a dog.

4

Should a teacher use a census or a sample to find the mean mark on a test written by her class of 26?

5

List the five characteristics of a good sample.

6

Why is crash-testing car seats an example where a census is impossible?

More practice: warm-up

1

A study of every member of a population is called a ____.

2

The list from which a sample is chosen is the ____.

3

How often does Canada hold its Census of Population?

4

If p̂ = 0.25 and the population has 2000 members, estimate how many have the characteristic.

5

Is "the proportion of all Canadians who skate" a parameter or a statistic?

More practice: on your own

1

A city wants residents' opinions on garbage pickup. It uses its property-tax list as the sampling frame. Who might be missing from the frame?

2

A random sample of 60 bottles of maple syrup from a day's production of 4800 bottles has a mean volume of 498.6 mL. Name the parameter being estimated and estimate the total volume of syrup produced that day in litres.

3

Explain why a random sample of 1000 people can describe Canada about as well as it can describe one large city.

4

A survey has a 25% response rate. Which characteristic of a good sample is this a problem for, and why?

5

Give an example of a population that is impossible to census because it is unlimited.

Challenge

1

A provincial park wants to estimate the number of white pine trees in a 500-hectare forest. Describe a sampling plan, including the sampling frame, the sample, the statistic you would calculate and how you would estimate the total.

2

A census is supposed to count everyone, yet census agencies still check its accuracy with sample surveys after the census. Why might a sample be used to check a census?

3

A company tests 50 randomly chosen smoke detectors from each production batch of 10 000. In one batch, 2 fail. Estimate the number of faulty detectors in the batch, and explain why the company might still decide to inspect every detector with a non-destructive test.

Check your understanding

Quiz

1.

A study that collects data from every member of a population is a:

2.

A researcher selects names from a school's enrolment list. The enrolment list is the:

3.

Which situation requires a sample rather than a census?

4.

In a random sample of 200 students from a school of 1500, 46 walk to school. The best estimate of the number of walkers in the school is:

5.

Which is not a characteristic of a good sample?

6.

For a large population, the precision of a random sample's estimate depends mainly on:

For parents and teachers

Big idea (C2.2): we usually study a sample, not the whole population, because of cost, time, destructive testing or unreachable populations. A good sample is representative, random, large enough, drawn from a good list and well answered.

How to help: The soup analogy works well: a well-stirred spoonful (a random sample) tells you about the pot. Ask your teen what would happen if you tasted only the top of an unstirred pot (a biased sample).

Common difficulties:

  • Confusing the population (everyone the question is about) with the sampling frame (the list actually used).
  • Believing a sample must be a large fraction of the population to be useful.
  • Forgetting to multiply p̂ by the population size when estimating a total, or multiplying by the sample size by mistake.
  • Assuming a census is always better. A careful sample can be more accurate.