Graphs of quantitative data
Quantitative data, also called grouped data, can be displayed using a histogram or a polygon.
How to graph quantitative data
- Put the classes on the horizontal axis.
- You can either put the frequency distribution, the relative frequency, or the percentage on the vertical axis.
In the earlier lesson, we ended with this table showing the frequency distribution, the relative frequency, and the percentage distribution.
Income (in millions) |
Frequency distribution |
Relative frequency |
Percentage |
9-18 |
12 | 0.24 | 24% |
19-28 |
9 | 0.18 | 18% |
29-38 |
7 | 0.14 | 14% |
39-48 | 8 | 0.16 | 16% |
49-58 |
7 | 0.14 | 14% |
59-68 |
7 | 0.14 | 14% |
Let us make use of a histogram and a polygon to display the data. There is little difference between the two graphs except that the histogram uses rectangles, but the polygon uses dots.
In both cases, we will use the frequency distribution to make the graphs.
Histogram
First, put the classes on the horizontal axis. Second, put the frequencies on the vertical axis.
Finally, draw a rectangle for each class so that the height of the rectangle is the same as the frequency of that class.
Notice that all the rectangles are adjacent and they have no gaps between them unlike a bar graph.
This histogram above is called a frequency histogram.
If you had used the relative frequency to make the histogram, you would call the graph a relative frequency histogram.
If you had used the percentage to make the histogram, you would call he graph a percentage histogram.
Polygon
To draw a polygon, just use dots instead of rectangles.
Place a dot right above the midpoint of each class.
The height of the dot should equal to the frequency of that class.
Create 2 more classes. The first one is created before 9-18 and the second is created after 59-68. Both of these classes will have a frequency of 0.
Connect all the dots with straight lines.
Notice that this time, we did not truncate the x-axis since all the values on the x-axis are used.
The graph above is called a frequency polygon or simply a polygon.
If you had used the relative frequency to make the polygon, you would call the graph a relative frequency polygon.
If you had used the percentage to make the histogram, you would call he graph a percentage polygon.
Stem and leaf display
Shapes of histograms