Lesson 8.2 · Statistics
Making inferences from samples
Once you have a random sample, you can use it to make an inference: an educated estimate about the whole population. In this lesson you'll use proportions to scale a sample up to a population, and you'll see why different samples give slightly different answers.
From a sample to a population
A random sample should look like a small copy of the population. So if of the sample has some feature, a good estimate is that about of the population has it too.
Estimating with a sample
If a random sample is representative, then
Use the sample's fraction (or percent, or mean) as your estimate for the population.
Worked example: Estimating a count
A middle school has students. In a random sample of students, said they play a musical instrument. Estimate how many students in the school play an instrument.
Solution. In the sample, of the students play an instrument. Apply that fraction to the whole school:
About students play an instrument. You can also set up a proportion, , and solve to get the same answer.
The word "about" matters. A sample gives an estimate, not an exact count. If you took a different random sample, you might get or instrument players instead of .
Estimating a mean
You can estimate a population's average the same way: the mean of a random sample is a good estimate of the mean of the population.
Worked example: Estimating an average
A random sample of students at a school recorded the number of minutes they spent reading last night:
Estimate the mean reading time for all students at the school.
Solution. Add the values and divide by :
A good estimate is that students at the school read for about minutes a night, on average.
Samples vary
If several people each take a random sample from the same population, they will usually get different results. This is called sampling variability. It's normal, and it doesn't mean anyone made a mistake.
Suppose students each randomly sample people from a town of and record what fraction own a cat. Their sample proportions are shown in the dot plot below.
The results range from to , but most cluster around . That clustering gives you confidence: the true proportion of cat owners in town is probably close to , so a reasonable estimate is cat owners.
What sampling variability tells you
- Different random samples give different estimates.
- The estimates tend to cluster around the true population value.
- Larger random samples vary less, so their estimates are usually closer to the truth.
Worked example: Combining several samples
Four students each took a random sample of seventh graders at a school with seventh graders, asking whether they have a pet. They found , , and pet owners. Use all four samples to estimate the number of seventh graders who have a pet.
Solution. Together the samples include students, and of them have a pet. That's .
About seventh graders have a pet. The individual samples would have given estimates from to , so combining them into one larger sample gives a steadier estimate.
Common mistake
An inference is only as good as the sample. If the sample is biased (for example, you asked only your friends), scaling it up just produces a bigger wrong answer. Always check that the sample was random before trusting an estimate.
Tip
Check that your estimate is reasonable: the population estimate should be the same fraction of the population as the part is of the sample. For example, out of is a bit less than one quarter, and out of should also be a bit less than one quarter. It is, since .
Practice
A school has students. In a random sample of students, said pizza is their favorite lunch. Estimate the number of students in the school whose favorite lunch is pizza.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
In a random sample of shoppers, paid with cash. Based on this sample, what percent of all shoppers pay with cash?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A random sample of students recorded how many minutes they spent practicing a sport yesterday: , , , , . Estimate the mean practice time, in minutes, for all students.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A quality inspector randomly selects light bulbs from a shipment of and finds that are defective. Estimate how many bulbs in the whole shipment are defective.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Four students want to estimate the fraction of students at their school who ride the bus. Which sample will most likely give the closest estimate?
Several random samples of people were taken from a town of adults. The number who said they bike to work ranged from to per sample. Using the sample with the fewest bikers, what is the estimate for the number of adults in town who bike to work?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Four random samples of students each were taken at a school of students. The number of students in each sample who walk to school was , , and . Combine all four samples to estimate how many students at the school walk.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
To estimate the number of fish in a pond, a biologist catches fish, puts a tag on each one, and releases them. A week later she catches fish at random and finds that of them have tags. Estimate the total number of fish in the pond.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.