Suppose you're working in a card store and you notice that the cards have different prices. You pull 15 cards out of inventory and their prices are 0.75, 0.95, 1.25, 1.65, 1.75, 2.25, 0.95, 1.10, 3.55, 5.00, 1.35, 2.25, 3.75, 4.25, and 5.65. If you divide this data up into 0.50 intervals how can you construct a graph of your findings?
First watch this video to learn about histograms.
Then watch this video to see some examples.
Watch this video for more help.
An extension of the bar graph is the histogram. A histogram is a type of vertical bar graph in which the bars represent grouped continuous data. The shape of a histogram can tell you a lot about the distribution of the data, as well as provide you with information about the mean, median, and mode of the data set. The following are some typical histograms, with a caption below each one explaining the distribution of the data, as well as the characteristics of the mean, median, and mode. Distributions can have other shapes besides the ones shown below, but these represent the most common ones that you will see when analyzing data. In each of the graphs below, the distributions are not perfectly shaped, but are shaped enough to identify an overall pattern.
Figure a represents a bell-shaped distribution, which has a single peak and tapers off to both the left and to the right of the peak. The shape appears to be symmetric about the center of the histogram. The single peak indicates that the distribution is unimodal. The highest peak of the histogram represents the location of the mode of the data set. The mode is the data value that occurs the most often in a data set. For a symmetric histogram , the values of the mean, median, and mode are all the same and are all located at the center of the distribution.
Figure b represents a distribution that is approximately uniform and forms a rectangular, flat shape. The frequency of each class is approximately the same.
Figure c represents a right-skewed distribution , which has a peak to the left of the distribution and data values that taper off to the right. This distribution has a single peak and is also unimodal. For a histogram that is skewed to the right, the mean is located to the right on the distribution and is the largest value of the measures of central tendency. The mean has the largest value because it is strongly affected by the outliers on the right tail that pull the mean to the right. The mode is the smallest value, and it is located to the left on the distribution. The mode always occurs at the highest point of the peak. The median is located between the mode and the mean.
Figure d represents a left-skewed distribution , which has a peak to the right of the distribution and data values that taper off to the left. This distribution has a single peak and is also unimodal. For a histogram that is skewed to the left, the mean is located to the left on the distribution and is the smallest value of the measures of central tendency. The mean has the smallest value because it is strongly affected by the outliers on the left tail that pull the mean to the left. The median is located between the mode and the mean.
Figure e has no shape that can be defined. The only defining characteristic about this distribution is that it has 2 peaks of the same height. This means that the distribution is bimodal.
While there are similarities between a bar graph and a histogram, such as each bar being the same width, a histogram has no spaces between the bars. The quantitative data is grouped according to a determined bin size, or interval. The bin size refers to the width of each bar, and the data is placed in the appropriate bin.
The bins , or groups of data, are plotted on the -axis, and the frequencies of the bins are plotted on the -axis. A grouped frequency distribution is constructed for the numerical data, and this table is used to create the histogram. In most cases, the grouped frequency distribution is designed so there are no breaks in the intervals. The last value of one bin is actually the first value counted in the next bin. This means that if you had groups of data with a bin size of 10, the bins would be represented by the notation [0-10), [10-20), [20-30), etc. Each bin appears to contain 11 values, which is 1 more than the desired bin size of 10. Therefore, the last digit of each bin is counted as the first digit of the following bin.
The first bin includes the values 0 through 9, and the next bin includes the values 9 through 19. This makes the bins the proper size. Bin sizes are written in this manner to simplify the process of grouping the data. The first bin can begin with the smallest number of the data set and end with the value determined by adding the bin width to this value, or the bin can begin with a reasonable value that is smaller than the smallest data value.
Construct a frequency distribution table with a bin size of 10 for the following data, which represents the ages of 30 lottery winners:
Step 1: Determine the range of the data by subtracting the smallest value from the largest value.
Step 2: Divide the range by the bin size to ensure that you have at least 5 groups of data. A histogram should have from 5 to 10 bins to make it meaningful: . Since you cannot have 0.5 of a bin, the result indicates that you will have at least 6 bins.
Step 3: Construct the table.
Step 4: Determine the sum of the frequency column to ensure that all the data has been grouped.
When data is grouped in a frequency distribution table, the actual data values are lost. The table indicates how many values are in each group, but it doesn't show the actual values.
There are many different ways to create a distribution table and many different distribution tables that can be created. However, for the purpose of constructing a histogram, the method shown works very well, and it is not difficult to complete.
The numbers of years of service for 75 teachers in a small town are listed below:
Using the above data, construct a frequency distribution table with a bin size of 5.
You will have 7 bins.
When the number of data values is very large, another column is often inserted in the distribution table. This column is a tally column, and it is used to account for the number of values within a bin. A tally column facilitates the creation of the distribution table and usually allows the task to be completed more quickly. For each value that is in a bin, draw a stroke in the Tally column. To make counting the strokes easier, draw 4 strokes and cross them out with the fifth stroke. This process bundles the strokes in groups of 5, and the frequency can be readily determined.
Now that you have constructed the frequency table, the grouped data can be used to draw a histogram. Like a bar graph, a histogram requires a title and properly labeled - and -axes.
Use the data from Example A that displays the ages of the lottery winners to construct a histogram. The data is shown again below. What percentage of the winners were 50 years of age or older?
Use the data as it is represented in the distribution table to construct the histogram.
From looking at the tops of the bars, you can see how many winners were in each category, and by adding these numbers, you can determine the total number of winners. You can also determine how many winners were within a specific category. For example, you can see that 8 winners were 60 years of age or older. The graph can also be used to determine percentages. For example, it can answer the question, “What percentage of the winners were 50 years of age or older?” as follows:
a. Use the data and the distribution table that represent the ages of teachers from Example B to construct a histogram to display the data. The distribution table is shown again below:
b. Now use the histogram to answer the following questions.
i. How many teachers teach in this small town?
ii. How many teachers have worked for less than 5 years?
iii. If teachers are able to retire when they have taught for 30 years or more, how many are eligible to retire?
iv. What percentage of the teachers still have to teach for 10 years or fewer before they are eligible to retire?
v. Do you think that the majority of the teachers are young or old? Justify your answer.
In this small town, 75 teachers are teaching.
ii. 11 teachers have taught for less than 5 years.
iii. 12 teachers are eligible to retire.
Approximately 23% of the teachers must teach for 10 years or fewer before they are eligible to retire.
v. Answers will vary, but one possible answer is that the majority of the teachers are young, because 46 have taught for less than 20 years.
What name is given to a distribution that has 2 peaks of the same height?
The following histogram shows data collected during a recent fishing derby. The number of fish caught is being compared to the size of the fish caught. Use the histogram to answer the following questions:
- How many fish were caught?
- How many fish caught were over 35 cm in length?
- How many fish caught were between 20 cm and 29 cm in length?
- Why is there a blank space between 38 cm and 41 cm on the histogram?
The following histogram displays the heights of students in a classroom. Use the information represented in the histogram to answer the following questions:
- How many students are in the class?
- How many students are over 60 inches in height?
- How many students have a height between 54 in and 62 in?
- Is the distribution unimodal or bimodal? How do you know?
- The following data represents the results of a test taken by a group of students: Construct a frequency distribution table using a bin size of 10 and display the results in a properly labeled histogram.