Math Core

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 30%30\% of the sample has some feature, a good estimate is that about 30%30\% of the population has it too.

Estimating with a sample

If a random sample is representative, then

part of samplewhole sample≈part of populationwhole population.\dfrac{\text{part of sample}}{\text{whole sample}} \approx \dfrac{\text{part of population}}{\text{whole population}}.

Use the sample's fraction (or percent, or mean) as your estimate for the population.

Worked example: Estimating a count

A middle school has 720720 students. In a random sample of 6060 students, 1414 said they play a musical instrument. Estimate how many students in the school play an instrument.

Solution. In the sample, 1460\dfrac{14}{60} of the students play an instrument. Apply that fraction to the whole school:

1460×720=14×12=168.\dfrac{14}{60} \times 720 = 14 \times 12 = 168.

About 168168 students play an instrument. You can also set up a proportion, 1460=x720\dfrac{14}{60} = \dfrac{x}{720}, 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 1212 or 1616 instrument players instead of 1414.

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 88 students at a school recorded the number of minutes they spent reading last night:

20, 45, 30, 0, 35, 25, 40, 4520,\ 45,\ 30,\ 0,\ 35,\ 25,\ 40,\ 45

Estimate the mean reading time for all students at the school.

Solution. Add the values and divide by 88:

20+45+30+0+35+25+40+458=2408=30.\dfrac{20 + 45 + 30 + 0 + 35 + 25 + 40 + 45}{8} = \dfrac{240}{8} = 30.

A good estimate is that students at the school read for about 3030 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 1010 students each randomly sample 2020 people from a town of 5,0005{,}000 and record what fraction own a cat. Their sample proportions are shown in the dot plot below.

0.20.250.30.350.40.450.5✕✕✕✕✕✕✕✕✕✕
Proportion of cat owners in 10 random samples of 20 people

The results range from 0.250.25 to 0.450.45, but most cluster around 0.350.35. That clustering gives you confidence: the true proportion of cat owners in town is probably close to 0.350.35, so a reasonable estimate is 0.35×5,000=1,7500.35 \times 5{,}000 = 1{,}750 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 2525 seventh graders at a school with 400400 seventh graders, asking whether they have a pet. They found 1010, 1212, 99 and 1313 pet owners. Use all four samples to estimate the number of seventh graders who have a pet.

Solution. Together the samples include 4×25=1004 \times 25 = 100 students, and 10+12+9+13=4410 + 12 + 9 + 13 = 44 of them have a pet. That's 44100=44%\dfrac{44}{100} = 44\%.

0.44×400=176.0.44 \times 400 = 176.

About 176176 seventh graders have a pet. The individual samples would have given estimates from 925×400=144\dfrac{9}{25} \times 400 = 144 to 1325×400=208\dfrac{13}{25} \times 400 = 208, 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, 1414 out of 6060 is a bit less than one quarter, and 168168 out of 720720 should also be a bit less than one quarter. It is, since 720÷4=180720 \div 4 = 180.

Practice

Practice 1

A school has 450450 students. In a random sample of 3030 students, 99 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.

Practice 2

In a random sample of 6060 shoppers, 1818 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.

Practice 3

A random sample of 55 students recorded how many minutes they spent practicing a sport yesterday: 2020, 3535, 3030, 2525, 4040. Estimate the mean practice time, in minutes, for all students.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

A quality inspector randomly selects 5050 light bulbs from a shipment of 2,0002{,}000 and finds that 33 are defective. Estimate how many bulbs in the whole shipment are defective.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

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?

Practice 6

Several random samples of 2525 people were taken from a town of 1,0001{,}000 adults. The number who said they bike to work ranged from 55 to 99 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.

Practice 7

Four random samples of 2020 students each were taken at a school of 800800 students. The number of students in each sample who walk to school was 66, 88, 77 and 99. 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.

Practice 8

To estimate the number of fish in a pond, a biologist catches 6060 fish, puts a tag on each one, and releases them. A week later she catches 5050 fish at random and finds that 1010 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.