Learning objectives
The center of a data set is also a way of describing location. The two most widely used measures of the center of the data are the mean (average) and the median. To calculate the mean weight of 50 people, add the 50 weights together and divide by 50. To find the median weight of the 50 people, order the data and find the number that splits the data into two equal parts. The median is generally a better measure of the center when there are extreme values or outliers because it is not affected by the precise numerical values of the outliers. The mean is the most common measure of the center.
When each value in the data set is not unique, the mean can be calculated by multiplying each distinct value by its frequency and then dividing the sum by the total number of data values. The letter used to represent the sample mean is an x with a bar over it (pronounced “x bar”): . The sample mean is a statistic.
The Greek letter μ (pronounced "mew") represents the population mean. The population mean is a parameter. One of the requirements for the sample mean to be a good estimate of the population mean is for the sample taken to be truly random.
To see that both ways of calculating the mean are the same, consider the following sample:
1, 1, 1, 2, 2, 3, 4, 4, 4, 4, 4
In the second example, the frequencies are 3(1) + 2(2) + 1(3) + 5(4).
You can quickly find the location of the median by using the expression .
The letter n is the total number of data values in the sample. As discussed earlier, if n is an odd number, the median is the middle value of the ordered data (ordered smallest to largest). If n is an even number, the median is equal to the two middle values added together and divided by two after the data have been ordered. For example, if the total number of data values is 97, then = = 49. The median is the 49th value in the ordered data. If the total number of data values is 100, then = = 50.5. The median occurs midway between the 50th and 51st values. The location of the median and the value of the median are not the same. The uppercase letter M is often used to represent the median. The next example illustrates the location of the median and the value of the median.
Data indicating the number of months a patient with a specific disease lives after taking a new antibody drug are as follows (smallest to largest):
3, 4, 8, 8, 10, 11, 12, 13, 14, 15, 15, 16, 16, 17, 17, 18, 21, 22, 22, 24, 24, 25, 26, 26, 27, 27, 29, 29, 31, 32, 33, 33, 34, 34, 35, 37, 40, 44, 44, 47
Calculate the mean and the median.
The calculation for the mean is
To find the median, M, first use the formula for the location. The location is
Start from the smallest value and count up; the median is located between the 20th and 21st values (the two 24s):
3, 4, 8, 8, 10, 11, 12, 13, 14, 15, 15, 16, 16, 17, 17, 18, 21, 22, 22, 24, 24, 25, 26, 26, 27, 27, 29, 29, 31, 32, 33, 33, 34, 34, 35, 37, 40, 44, 44, 47
Suppose that in a small town of 50 people, one person earns $5,000,000 per year and the other 49 each earn $30,000. Which is the better measure of the center: the mean or the median?
M = 30,000
There are 49 people who earn $30,000 and one person who earns $5,000,000.
The median is a better measure of the center than the mean because 49 of the values are 30,000 and one is 5,000,000. The 5,000,000 is an outlier. The 30,000 gives us a better sense of the middle of the data.
Another measure of the center is the mode. The mode is the most frequent value. There can be more than one mode in a data set as long as those values have the same frequency and that frequency is the highest. A data set with two modes is called bimodal.
Statistics exam scores for 20 students are as follows:
50, 53, 59, 59, 63, 63, 72, 72, 72, 72, 72, 76, 78, 81, 83, 84, 84, 84, 90, 93
Find the mode.
The most frequent score is 72, which occurs five times. Mode = 72.
Five real estate exam scores are 430, 430, 480, 480, 495. The data set is bimodal because the scores 430 and 480 each occur twice.
When is the mode the best measure of the center? Consider a weight loss program that advertises a mean weight loss of six pounds the first week of the program. The mode might indicate that most people lose two pounds the first week, making the program less appealing.
Statistical software will easily calculate the mean, the median, and the mode. Some graphing calculators can also make these calculations. In the real world, people make these calculations using software.
The Law of Large Numbers and the Mean
The Law of Large Numbers says that if you take samples of larger and larger size from any population, then the mean of the sample is very likely to get closer and closer to µ. This law is discussed in more detail later in the text.
Sampling Distributions and Statistic of a Sampling Distribution
You can think of a sampling distribution as a relative frequency distribution with a great many samples. See Chapter 1: Sampling and Data for a review of relative frequency. Suppose 30 randomly selected students were asked the number of movies they watched the previous week. The results are in the relative frequency table shown below.
| Number of Movies | Relative Frequency |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 3 | |
| 4 |
A relative frequency distribution includes the relative frequencies of a number of samples.
Recall that a statistic is a number calculated from a sample. Statistic examples include the mean, the median, and the mode as well as others. The sample mean is an example of a statistic that estimates the population mean μ.
Calculating the Mean of Grouped Frequency Tables
When only grouped data is available, you do not know the individual data values (we know only intervals and interval frequencies); therefore, you cannot compute an exact mean for the data set. What we must do is estimate the actual mean by calculating the mean of a frequency table. A frequency table is a data representation in which grouped data is displayed along with the corresponding frequencies. To calculate the mean from a grouped frequency table, we can apply the basic definition of mean: mean = We simply need to modify the definition to fit within the restrictions of a frequency table.
Since we do not know the individual data values, we can instead find the midpoint of each interval. The midpoint is . We can now modify the mean definition to be where f = the frequency of the interval, m = the midpoint of the interval, and sigma (∑) is read as "sigma" and means to sum up. So this formula says that we will sum the products of each midpoint and the corresponding frequency and divide by the sum of all of the frequencies.
A frequency table displaying Professor Blount’s last statistic test is shown. Find the best estimate of the class mean.
| Grade Interval | Number of Students |
|---|---|
| 50–56.5 | 1 |
| 56.5–62.5 | 0 |
| 62.5–68.5 | 4 |
| 68.5–74.5 | 4 |
| 74.5–80.5 | 2 |
| 80.5–86.5 | 3 |
| 86.5–92.5 | 4 |
| 92.5–98.5 | 1 |
- Find the midpoints for all intervals.
| Grade Interval | Midpoint |
|---|---|
| 50–56.5 | 53.25 |
| 56.5–62.5 | 59.5 |
| 62.5–68.5 | 65.5 |
| 68.5–74.5 | 71.5 |
| 74.5–80.5 | 77.5 |
| 80.5–86.5 | 83.5 |
| 86.5–92.5 | 89.5 |
| 92.5–98.5 | 95.5 |
- Calculate the sum of the product of each interval frequency and midpoint.
References
CIA World Factbook. (n.d.). Obesity adult prevalence rate. Available at http://www.indexmundi.com/g/r.aspx?t=50&v=2228&l=en
World Bank Group. (n.d.). Retrieved from http://www.worldbank.org
Chapter Review
The mean and the median can be calculated to help you find the center of a data set. The mean is the best estimate for the actual data set, but the median is the best measurement when a data set contains several outliers or extreme values. The mode will tell you the most frequently occurring datum (or data) in your data set. The mean, median, and mode are extremely helpful when you need to analyze your data, but if your data set consists of ranges that lack specific values, the mean may seem impossible to calculate. However, the mean can be approximated if you add the lower boundary with the upper boundary and divide by two to find the midpoint of each interval. Multiply each midpoint by the number of values found in the corresponding range. Divide the sum of these values by the total number of data values in the set.
Formula Review
where f = interval frequencies and m = interval midpoints.
Find the mean for the following frequency tables:
Grade Frequency 49.5–59.5 2 59.5–69.5 3 69.5–79.5 8 79.5–89.5 12 89.5–99.5 5 Daily Low Temperature Frequency 49.5–59.5 53 59.5–69.5 32 69.5–79.5 15 79.5–89.5 1 89.5–99.5 0 Points per Game Frequency 49.5–59.5 14 59.5–69.5 32 69.5–79.5 15 79.5–89.5 23 89.5–99.5 2
Use the following information to answer the next three exercises: The following data show the lengths of boats moored in a marina. The data are ordered from smallest to largest: 16, 17, 19, 20, 20, 21, 23, 24, 25, 25, 25, 26, 26, 27, 27, 27, 28, 29, 30, 32, 33, 33, 34, 35, 37, 39, 40
Calculate the mean.
Mean: 16 + 17 + 19 + 20 + 20 + 21 + 23 + 24 + 25 + 25 + 25 + 26 + 26 + 27 + 27 + 27 + 28 + 29 + 30 + 32 + 33 + 33 + 34 + 35 + 37 + 39 + 40 = 738;
= 27.33
Identify the median.
Identify the mode.
The most frequent lengths are 25 and 27, which occur three times. Mode = 25, 27
Use the following information to answer the next three exercises: Sixty-five randomly selected car salespersons were asked the number of cars they generally sell in one week. Fourteen people answered that they generally sell three cars, 19 generally sell four cars, 12 generally sell five cars, nine generally sell six cars, and 11 generally sell seven cars. Calculate the following.
sample mean = = ________
median = ________
4
mode = ________
Homework
Scientists are studying a particular disease. They found that countries that have the highest rates of people who have ever been diagnosed with this disease range from 11.4 percent to 74.6 percent.
| Percentage of Population Diagnosed | Number of Countries |
|---|---|
| 11.4–20.45 | 29 |
| 20.45–29.45 | 13 |
| 29.45–38.45 | 4 |
| 38.45–47.45 | 0 |
| 47.45–56.45 | 2 |
| 56.45–65.45 | 1 |
| 65.45–74.45 | 0 |
| 74.45–83.45 | 1 |
- What is the best estimate of the average percentage affected by the disease for these countries?
- The United States has an average disease rate of 33.9 percent. Is this rate above average or below?
- How does the United States compare to other countries?
eip-456s gives the percentage of children under age five have been diagnosed with a medical condition. What is the best estimate for the mean percentage of children with the condition?
| Percentage of Children with the Condition | Number of Countries |
|---|---|
| 16–21.45 | 23 |
| 21.45–26.9 | 4 |
| 26.9–32.35 | 9 |
| 32.35–37.8 | 7 |
| 37.8–43.25 | 6 |
| 43.25–48.7 | 1 |
the mean percentage,
Bringing It Together
Javier and Ercilia are supervisors at a shopping mall. Each was given the task of estimating the mean distance that shoppers live from the mall. They each randomly surveyed 100 shoppers. The samples yielded the following information.
| Javier | Ercilia | |
|---|---|---|
| 6.0 miles | 6.0 miles | |
| 4.0 miles | 7.0 miles |
- How can you determine which survey was correct?
- Explain what the difference in the results of the surveys implies about the data.
- If the two histograms depict the distribution of values for each supervisor, which one depicts Ercilia’s sample? How do you know?
View original figure (external; image not reproduced in this text edition)
Original figure description: This shows two histograms. The first histogram shows a fairly symmetrical distribution with a mode of 6. The second histogram shows a uniform distribution.
- If the two box plots depict the distribution of values for each supervisor, which one depicts Ercilia’s sample? How do you know?
View original figure (external; image not reproduced in this text edition)
Original figure description: This shows two horizontal boxplots. The first boxplot is graphed over a number line from 0 to 21. The first whisker extends from 0 to 1. The box begins at the first quartile, 1, and ends at the third quartile, 14. A vertical, dashed line marks the median at 6. The second whisker extends from the third quartile to the largest value, 21. The second boxplot is graphed over a number line from 0 to 12. The first whisker extends from 0 to 4. The box begins at the first quartile, 4, and ends at the third quartile, 9. A vertical, dashed line marks the median at 6. The second whisker extends from the third quartile to the largest value, 12.
Use the following information to answer the next three exercises: We are interested in the number of years students in a particular elementary statistics class have lived in California. The information in the following table is from the entire section.
| Number of Years | Frequency | Number of Years | Frequency |
|---|---|---|---|
| 7 | 1 | 22 | 1 |
| 14 | 3 | 23 | 1 |
| 15 | 1 | 26 | 1 |
| 18 | 1 | 40 | 2 |
| 19 | 4 | 42 | 2 |
| 20 | 3 | ||
| Total = 20 |
What is the IQR?
- 8
- 11
- 15
- 35
a
What is the mode?
- 19
- 19.5
- 14 and 20
- 22.65
Is this a sample or the entire population?
- sample
- entire population
- neither
b
Glossary
- frequency table
- a data representation in which grouped data are displayed along with the corresponding frequencies
- mean
- a number that measures the central tendency of the data; a common name for mean is average.
The term mean is a shortened form of arithmetic mean. By definition, the mean for a sample (denoted by ) is , and the mean for a population (denoted by μ) is - median
- a number that separates ordered data into halves; half the values are the same number or smaller than the median, and half the values are the same number or larger than the median
The median may or may not be part of the data. - midpoint
- the mean of an interval in a frequency table
- mode
- the value that appears most frequently in a set of data