topic badge

8.05 Comparative inferences

Lesson

We can compare samples of two different populations to draw inferences about the populations without having to gather data on every individual in the population.

By using the measures of central tendency of a data set (that is, the mean, median, and mode), as well as measures of spread (such as the range, interquartile range and mean absolute deviation), we can make clear comparisons and contrasts between different groups.

We can also benefit from examining the shape of the distribution of two sets of data when comparing them.

Exploration

Suppose you want to know whether children's cereals available in your local grocery store have more sugar than adult cereals. You randomly select $20$20 boxes of children's cereals and $20$20 boxes of adult cereals and measure the percent of the weight per serving that contains sugar. Your results can be summarized in the following double box plot:

 

 

  Sample median (%) IQR (%)
Adult's cereal $11$11 $12.5$12.5
Kid's cereal $46$46 $6.5$6.5

Consider the answers to the following questions:

  1. Are there any adult cereals that have more sugar than kid's cereals? Explain how you know.
  2. Which sample has a distribution that is not approximately symmetric?
  3. What is the difference between the sample medians for the two groups?
  4. Express the difference between the two sample medians as a multiple of the larger interquartile range.
  5. Do you think there is a meaningful difference between the percent of sugar in adult cereals vs. the percent of sugar in children's cereals? Explain your reasoning.

 

In the exploration above we saw that the samples of the two different populations had a different in medians that was much larger than the interquartile range. Almost three times bigger, in fact! This supports that there was a meaningful difference between the populations.

In general, if the difference in centers between two population samples is $2$2 or more times greater than the measure of variability, we can say that there is likely a meaningful difference between the populations. Otherwise, we do not have significant evidence to support a difference in the populations.

Meaningful difference between populations

In general, we can say that there is likely a meaningful difference between two populations if

  • the difference in medians between samples of the two populations is 2 times greater than the larger interquartile range (IQR)
  • the difference in means between samples of the two populations is 2 times greater than the larger mean absolute deviation (MAD)

If measurements from the samples do not show either of the above, then no conclusion can be drawn.

 

Practice questions

Question 2

The following box-and-whisker plot shows the number of points scored by two basketball teams in each of their matches last season.

Team A

30
40
50
60
Scores

A box and whisker plot showing the number of points scored by Team A with horizontal axis titled "Scores" and axis labeled from 30 to 60 in major intervals of 10 and minor intervals of 1.

Team B

30
40
50
60
70
Scores

A box and whisker plot showing the number of points scored by Team B with horizontal axis titled "Scores" and axis labeled from 30 to 70 in major intervals of 10 and minor intervals of 1.
  1. What is the median score of Team A?

  2. What is the median score of Team B?

  3. What is the range of Team A’s scores?

  4. What is the range of Team B’s scores?

  5. What is the interquartile range of Team A’s scores?

  6. What is the interquartile range of Team B’s scores?

Question 3

The boxplots summarize results from a medical study. The treatment group received an experimental drug to relieve cold symptoms, and the control group received a placebo. The boxplots show the number of days each group continued to report symptoms.

Which of the following statements are true?

Control group

0
5
10
15
20
Days

Treatment group

0
5
10
15
20
Days

  1. There is an outlier in the treatment group of $16$16.

    True

    A

    False

    B
  2. Only the control group plot is skewed to the right.

    True

    A

    False

    B
  3. The skew is more prominent in the treatment group.

    True

    A

    False

    B
  4. In the treatment group, cold symptoms lasted $0$0 to $13$13 days ($\text{range }=13$range =13) versus $4$4 to $12$12 days ($\text{range }=8$range =8) for the control group.

    True

    A

    False

    B
  5. It appears that the drug had a positive effect on patient recovery.

    True

    A

    False

    B

Question 4

A scientist examined $10$10 crickets and $10$10 katydids one night, and collected data on how many chirps they made per minute. His observations are presented in the table.

  $1$1 $2$2 $3$3 $4$4 $5$5 $6$6 $7$7 $8$8 $9$9 $10$10
Crickets $53$53 $48$48 $53$53 $51$51 $51$51 $51$51 $47$47 $53$53 $49$49 $47$47
Katydids $106$106 $106$106 $113$113 $106$106 $112$112 $111$111 $110$110 $109$109 $113$113 $110$110
  1. Calculate the mean number of chirps per minute made by the crickets. Leave your answer to one decimal place if needed.

  2. Hence, calculate the MAD number of cricket chirps.

  3. Crickets are known for their ability to predict temperature. The air temperature (in fahrenheit) can be approximated using the formula $T=N+40$T=N+40, where $N$N is the number of chirps per minute. What temperature is being predicted by this group of crickets?

  4. Katydids can also be used for the same purpose, though the formula converting their chirps per minute to temperature is slightly more complicated, $T=\frac{N+161}{3}$T=N+1613. Calculate the temperature being predicted by the group of katydids if the mean and MAD of their chirps is $109.6$109.6 and $2.28$2.28 respectively. Leave your answer to one decimal place.

  5. If the actual temperature is $90$90°F, did both approximations perform well?

    Yes

    A

    No

    B
  6. If you were going to use the observation from a single cricket or a single katydid to predict the temperature, which would be better to use according to the MAD of each group?

    Katydid

    A

    Cricket

    B

Outcomes

7.SP.B.3

Informally compare the measures of center (mean, median, mode) of two numerical data distributions with similar variabilities. For example, the mean height of players on the basketball team is 10 cm greater than the mean height of players on the soccer team; on a dot plot or box plot, the separation between the two distributions of heights is noticeable.

7.SP.B.4

Use measures of center and measures of variability for numerical data from random samples to draw informal comparative inferences about two populations. For example, decide whether the words in a chapter of a 7th grade science book are generally longer than the words in a chapter of a 4th grade science book.

What is Mathspace

About Mathspace