Organizing and graphing data
Table of contents
- Organizing and graphing data
- Organizing and graphing quantitative
- Shapes of histograms
- Cumulative frequency distributions
- Stem-and-leaf displays
- Dotplots
- TI-84
- Minitab
- Excel
1. Organizing and graphing data
1.1 Raw data
Raw data are recorded in the sequence they are collected and before any processing or ranking occurs 3.
1.2 Frequency distributions
A frequency distribution for a qualitative variable lists all categories and the number of elements belonging to each category 8.
📝 A frequency distribution table for favorite donut varieties shows: Glazed (10), Filled (8), Other (7), Plain (3), and Frosted (2) 11.
1.3 Example 2-1: Favorite donut variety 11
A sample of 30 individuals who frequently consume donuts were surveyed about their favorite variety. The responses were collected as raw data 9.
To organize this data, a frequency distribution table is constructed, listing each donut variety and the count of individuals who prefer it 11.
| Favorite Donut Variety | Frequency |
|---|---|
| Glazed | 10 |
| Filled | 8 |
| Other | 7 |
| Plain | 3 |
| Frosted | 2 |
1.4 Relative frequency and percentage distributions
Relative frequency is calculated by dividing the frequency of a category by the total number of observations. The percentage is then found by multiplying the relative frequency by 100% 12 13.
1.5 Example 2-2: Relative frequency and percentage of donut variety 15
Using the data from the favorite donut variety survey, the relative frequency and percentage for each category are determined 14.
| Favorite Donut Variety | Frequency | Relative Frequency | Percentage |
|---|---|---|---|
| Glazed | 10 | 0.333 | 33.3% |
| Filled | 8 | 0.267 | 26.7% |
| Other | 7 | 0.233 | 23.3% |
| Plain | 3 | 0.100 | 10.0% |
| Frosted | 2 | 0.067 | 6.7% |
📝 For favorite donut varieties, Glazed has a relative frequency of 0.333 and a percentage of 33.3% 15.
1.6 Graphical presentation of qualitative data
A bar graph uses bars whose heights represent the frequencies of respective categories 17.
1.7 Bar graph for donut variety
The frequency distribution of favorite donut varieties can be visually represented using a bar graph, where each bar corresponds to a donut type and its height indicates the number of people who prefer it 18.
1.8 Pie chart for donut variety
A pie chart is a circle divided into portions representing the relative frequencies or percentages of different categories. To construct a pie chart, the angle size for each sector is calculated by multiplying its percentage by 360 degrees 20 21.
| Favorite Donut Variety | Percentage | Angle Size (degrees) |
|---|---|---|
| Glazed | 33.3% | 120 |
| Filled | 26.7% | 96 |
| Other | 23.3% | 84 |
| Plain | 10.0% | 36 |
| Frosted | 6.7% | 24 |
The pie chart visually displays the proportion of preferences for each donut variety, with larger slices representing categories with higher percentages 22.
2. Organizing and graphing quantitative
2.1 Frequency distributions
A frequency distribution organizes quantitative data by listing each class and the number of data points falling into that class. This organized data is referred to as grouped data.
The class boundary is determined by the midpoint between the upper limit of one class and the lower limit of the next class. The class width is calculated as the difference between the upper and lower boundaries.
The class midpoint, or mark, is the average of the class limits 25 26 27 28.
- Frequency distribution: A table that lists classes and the count of data values within each class.
- Grouped data: Data that has been organized into a frequency distribution 25.
- Class boundary: The midpoint between the upper limit of one class and the lower limit of the next class 26.
- Class width: The difference between the upper and lower boundaries of a class 27.
- Class midpoint: The average of the lower and upper limits of a class 28.
2.2 Constructing frequency distribution tables
To construct a frequency distribution table, one must first determine the class width. This involves finding the range of the data (maximum value minus minimum value) and dividing it by the desired number of classes, then rounding up to a convenient number.
The lower limit of the first class can be chosen, and subsequent classes are formed by adding the determined class width 29 32.
📝 The data for iPods sold over 30 days has a minimum of 5 and a maximum of 29. With 5 classes, the approximate class width is (29 - 5) / 5 = 4.8, rounded up to 5. The classes are then 5–9, 10–14, 15–19, 20–24, and 25–29 32.
2.3 Example 2-3: iPods sold 33
The following data represent the number of iPods sold by a mail order company over 30 days: 8, 25, 11, 15, 29, 22, 10, 5, 17, 21, 22, 13, 26, 16, 18, 12, 9, 26, 20, 16, 23, 14, 19, 23, 20, 16, 27, 16, 21, 14 31.
To construct a frequency distribution table, we first find the range. The minimum value is 5 and the maximum is 29. The approximate class width is (29 - 5) / 5 = 4.8. Rounding this up to 5, we can set the first class lower limit at 5. The classes are then 5–9, 10–14, 15–19, 20–24, and 25–29.
Counting the data points in each class yields the frequencies 32.
| Class Limits | Frequency |
|---|---|
| 5 – 9 | 4 |
| 10 – 14 | 5 |
| 15 – 19 | 8 |
| 20 – 24 | 7 |
| 25 – 29 | 6 |
2.4 Relative and percentage distributions
Relative frequency distributions and percentage distributions provide a proportional view of the data within each class. Relative frequency is calculated by dividing the frequency of a class by the total number of observations.
The percentage distribution is obtained by multiplying the relative frequency by 100 34.
📝 For the iPod sales data, the class 5–9 has a frequency of 4 out of 30 total observations, resulting in a relative frequency of 4/30 = 0.133 and a percentage of 13.3% 36.
2.5 Example 2-4: Relative frequencies and percentages 36
Using the frequency distribution from Example 2-3, we can calculate the relative frequencies and percentages for each class. The total number of observations is 30 35.
| Class Limits | Frequency | Relative Frequency | Percentage |
|---|---|---|---|
| 5 – 9 | 4 | 0.133 | 13.3 |
| 10 – 14 | 5 | 0.167 | 16.7 |
| 15 – 19 | 8 | 0.267 | 26.7 |
| 20 – 24 | 7 | 0.233 | 23.3 |
| 25 – 29 | 6 | 0.200 | 20.0 |
2.6 Graphing grouped data
Grouped quantitative data can be visually represented using histograms and frequency polygons. A histogram is a bar graph where classes are on the horizontal axis and frequencies, relative frequencies, or percentages are on the vertical axis.
The bars in a histogram are drawn adjacent to each other, representing continuous data 37.
2.7 Figure 2.3: Frequency histogram for iPods sold
This histogram visually displays the frequency of iPods sold per class interval, with bars touching to indicate continuity 38.
2.8 Figure 2.4: Relative frequency histogram
This histogram uses relative frequencies on the vertical axis, showing the proportion of data in each class rather than the raw count 39.
A frequency polygon is created by connecting the midpoints of the tops of successive bars in a histogram with straight lines. This provides a continuous representation of the data distribution 41.
2.9 Figure 2.5: Frequency polygon for iPods sold
This graph connects the midpoints of the histogram bars, offering a smoothed representation of the frequency distribution 42.
A frequency distribution curve is a smoothed version of a frequency polygon, often used to represent the overall shape of the distribution 44.
2.10 Example 2-5: Percentage of population working in the US 48
Table 2.11 presents the percentage of the population working in each of the 50 U.S. states in 2010, excluding military personnel and the self-employed 45.
The minimum value is 36.7% and the maximum is 55.8%. Deciding to use six classes of equal width, we calculate the approximate width as (55.8 - 36.7) / 6 = 3.18. Rounding this to 3, and starting the first class at 36, the classes are defined as 36 to less than 39, 39 to less than 42, and so on 47.
| Percentage of Population Working | Frequency | Relative Frequency | Percentage |
|---|---|---|---|
| 36 to < 39 | 2 | 0.04 | 4.0 |
| 39 to < 42 | 5 | 0.10 | 10.0 |
| 42 to < 45 | 12 | 0.24 | 24.0 |
| 45 to < 48 | 17 | 0.34 | 34.0 |
| 48 to < 51 | 10 | 0.20 | 20.0 |
| 51 to < 54 | 4 | 0.08 | 8.0 |
2.11 Example 2-6: Vehicles owned by households 50
A sample of 40 households in a city provided data on the number of vehicles owned: 5, 1, 1, 2, 0, 1, 1, 2, 1, 1, 1, 3, 3, 0, 2, 5, 1, 2, 3, 4, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 4, 2, 1, 1, 2, 1, 1, 4, 1, 3 49.
Since the data consists of distinct values (0, 1, 2, 3, 4, 5), single-valued classes are used. The frequency distribution table shows the count for each number of vehicles owned 50.
| Number of Vehicles Owned | Frequency |
|---|---|
| 0 | 2 |
| 1 | 15 |
| 2 | 13 |
| 3 | 4 |
| 4 | 3 |
| 5 | 3 |
📝 For a sample of 40 households, the data on vehicles owned shows that 2 households own 0 vehicles, 15 households own 1 vehicle, and 13 households own 2 vehicles 50.
2.12 Figure 2.7: Bar graph for vehicles owned
This bar graph illustrates the frequency distribution of vehicles owned by households, with each bar representing a specific number of vehicles 51.
3. Shapes of histograms
3.1 Symmetric histograms
Histograms can display various shapes, with symmetry being a key characteristic. A symmetric histogram means the data is evenly distributed around a central point.
This implies that the left and right sides of the histogram are mirror images of each other.
- Symmetric distribution: The data points are distributed equally on both sides of the center.
- Frequency curve: When a smooth curve is drawn over the bars of a symmetric histogram, it also appears symmetric 53 57.
3.2 Skewed histograms
Skewness describes an asymmetric distribution of data. In a skewed histogram, the data is concentrated on one side, with a tail extending towards the other.
- Skewed to the right (positive skew): The tail of the distribution extends to the right, meaning there are more extreme high values than extreme low values. The bulk of the data is on the left.
- Skewed to the left (negative skew): The tail of the distribution extends to the left, indicating more extreme low values than extreme high values. The bulk of the data is on the right 55 57.
📝 A histogram skewed to the right has its tail extending towards higher values, with the bulk of the data concentrated on the left, as shown in Figure 2.9 (a) 55.
3.3 Uniform or rectangular histograms
A uniform distribution occurs when all values in the data set have an equal frequency. This results in a histogram where all bars are approximately the same height.
- Uniform distribution: Each data value occurs with the same probability or frequency.
- Rectangular shape: The histogram bars are of equal height, forming a rectangular appearance 56.
3.4 Frequency curves 53 55 56 57
Frequency curves are smooth representations of the distribution of data, often drawn over histograms. The shape of the frequency curve directly reflects the shape of the histogram.
- Symmetric frequency curve: Resembles a bell shape, with the highest point at the center and tapering equally on both sides.
- Skewed frequency curve: The curve is asymmetrical, with a longer tail on one side. A curve skewed to the right has a tail extending towards higher values, while a curve skewed to the left has a tail extending towards lower values 57.
| Histogram Shape | Frequency Curve Shape | Data Distribution |
|---|---|---|
| Symmetric | Symmetric (e.g., bell curve) | Evenly distributed around the center |
| Skewed to the right | Skewed to the right (tail to the right) | More extreme high values, bulk on the left |
| Skewed to the left | Skewed to the left (tail to the left) | More extreme low values, bulk on the right |
| Uniform | Rectangular | Equal frequency for all values |
4. Cumulative frequency distributions
4.1 Definition of cumulative frequency distribution
A cumulative frequency distribution tallies the total number of data points that fall below the upper limit of each class interval. This provides a running total of frequencies as you move up through the classes 58.
4.2 Example 2-7: Cumulative frequency distribution
This example demonstrates how to create a cumulative frequency distribution using a given frequency distribution of iPods sold. The process involves summing the frequencies of classes up to and including the current class 59.
📝 If a class has a cumulative frequency of 35, it means 35 iPods were sold up to the upper boundary of that class 60.
4.3 Solution: Cumulative frequency distribution of iPods sold
The solution presents a table showing the cumulative frequency distribution. It lists the class intervals, their respective frequencies, and the cumulative frequencies.
For instance, if a class has a cumulative frequency of 35, it means 35 iPods were sold up to the upper boundary of that class 60.
4.4 Calculating cumulative relative frequency and cumulative percentage
Cumulative relative frequency is calculated by dividing the cumulative frequency of a class by the total number of observations. Cumulative percentage is obtained by multiplying the cumulative relative frequency by 100. These measures indicate the proportion or percentage of data falling below a certain value 61.
4.5 Cumulative relative frequency and cumulative percentage distributions
This section provides a table illustrating the cumulative relative frequency and cumulative percentage distributions for the iPod sales data. For example, a cumulative relative frequency of 0.35 means 35% of the sales occurred within the classes up to that point.
A cumulative percentage of 65.0 indicates that 65.0% of sales are accounted for by the classes up to that interval 62.
4.6 Definition of an ogive
An ogive is a graphical representation of a cumulative frequency distribution. It is constructed by connecting points plotted above the upper class boundaries with straight lines.
The height of each point corresponds to the cumulative frequency of its respective class 63.
4.7 Ogive for cumulative frequency distribution
Figure 2.12 displays an ogive for the cumulative frequency distribution of iPod sales. This curve visually shows how the cumulative frequency accumulates across the different sales intervals, providing insights into the distribution of sales data 64.
5. Stem-and-leaf displays
5.1 Definition
A stem-and-leaf display is a method for organizing quantitative data where each data value is divided into two parts: a stem and a leaf. The leaves for each stem are then displayed separately.
This method allows for a visual representation of the data's distribution while retaining individual data points 65.
5.2 Constructing a stem-and-leaf display
To construct a stem-and-leaf display, each data value is split into a stem and a leaf. The stem typically represents the leading digit(s) of the number, and the leaf represents the trailing digit.
The stems are listed vertically, and the corresponding leaves are listed horizontally to the right of a vertical line 67.
📝 For the test scores, the stems are the tens digit (5-9) and the leaves are the units digit: Stem 5 has leaves 2, 0, 7; Stem 6 has leaves 9, 1, 4, 5, 8 66 67.
5.3 Example: Test scores 68 69
The following are the scores of 30 college students on a statistics test: 75, 69, 83, 52, 72, 84, 80, 81, 77, 96, 61, 64, 65, 76, 71, 79, 86, 87, 71, 79, 72, 87, 68, 92, 93, 50, 57, 95, 92, 98 66.
The stems for these scores range from 5 to 9, representing the tens digit. The leaves are the units digit of each score 67.
- Stem 5: Leaves are 2, 0, 7.
- Stem 6: Leaves are 9, 1, 4, 5, 8.
- Stem 7: Leaves are 5, 2, 7, 6, 1, 9, 1, 9, 2.
- Stem 8: Leaves are 3, 4, 0, 1, 6, 7, 7.
- Stem 9: Leaves are 6, 2, 3, 5, 2, 8 66.
The initial stem-and-leaf display is shown below:
| Stem | Leaf |
|---|---|
| 5 | 2 0 7 |
| 6 | 9 1 4 5 8 |
| 7 | 5 2 7 6 1 9 1 9 2 |
| 8 | 3 4 0 1 6 7 7 |
| 9 | 6 2 3 5 2 8 |
5.4 Ranked stem-and-leaf display
An advantage of a stem-and-leaf display is that it preserves individual data points. The leaves for each stem can be ranked in increasing order to create a ranked stem-and-leaf display, which makes it easier to see the distribution and order of data within each stem 71 72.
- Stem 5: Ranked leaves are 0, 2, 7.
- Stem 6: Ranked leaves are 1, 4, 5, 8, 9.
- Stem 7: Ranked leaves are 1, 1, 2, 2, 5, 6, 7, 9, 9.
- Stem 8: Ranked leaves are 0, 1, 3, 4, 6, 7, 7.
- Stem 9: Ranked leaves are 2, 2, 3, 5, 6, 8 71.
The ranked stem-and-leaf display for the test scores is:
See the table in section 5.3.
5.5 Example: Monthly rents 74
The following data give the monthly rents paid by a sample of 30 households: 880, 1210, 1151, 1081, 985, 630, 721, 1231, 1175, 1075, 932, 952, 1023, 850, 1100, 775, 825, 1140, 1235, 1000, 750, 750, 915, 1140, 965, 1191, 1370, 960, 1035, 1280 73.
For this data, the stems represent the hundreds digit, and the leaves represent the tens and units digits 74.
- Stem 6: Leaf is 30.
- Stem 7: Leaves are 21, 75, 50, 50.
- Stem 8: Leaves are 80, 50, 25.
- Stem 9: Leaves are 85, 32, 52, 15, 65, 60.
- Stem 10: Leaves are 81, 75, 23, 00, 35.
- Stem 11: Leaves are 51, 75, 00, 40, 40, 91.
- Stem 12: Leaves are 10, 31, 35, 80.
- Stem 13: Leaf is 70 73.
The stem-and-leaf display for the rents is:
| Stem | Leaf |
|---|---|
| 6 | 30 |
| 7 | 21 75 50 50 |
| 8 | 80 50 25 |
| 9 | 85 32 52 15 65 60 |
| 10 | 81 75 23 00 35 |
| 11 | 51 75 00 40 40 91 |
| 12 | 10 31 35 80 |
| 13 | 70 |
📝 For monthly rents, the stems are the hundreds digit (6-13) and the leaves are the tens and units digits: Stem 6 has leaf 30; Stem 7 has leaves 21, 75, 50, 50 73 74.
5.6 Grouped stem-and-leaf displays
A grouped stem-and-leaf display is used when the original stem-and-leaf display has too many stems, making it difficult to interpret the overall shape of the distribution. This is achieved by grouping stems, often by using two rows for each original stem 75.
5.7 Example: Grouping stems
Consider a stem-and-leaf display where stems are grouped. For instance, stems can be split into two rows: the first row for leaves 0-4 and the second row for leaves 5-9 76.
- Original Stem 7: Leaves 2, 7, 5, 5 75.
- Grouped Stem 7 (0-4): Leaf 2.
- Grouped Stem 7 (5-9): Leaves 7, 5, 5 76.
The grouped stem-and-leaf display might look like this:
| Stem | Leaf |
|---|---|
| 7 | 2 |
| 7* | 7 5 5 |
5.8 Split stem procedure
The split stem procedure is a method to refine a stem-and-leaf display, particularly when there are few stems or when a more detailed view of the distribution is needed. Each original stem is split into two or more new stems 77.
5.9 Example: Splitting stems
Consider a stem-and-leaf display with only two stems. Using the split stem procedure, each original stem can be split.
For example, a stem can be split into two: the first for leaves 0-4 and the second for leaves 5-9 78.
- Original Stem 1: Leaves 0, 1, 2, 3, 4 77.
- Split Stem 1 (0-4): Leaves 0, 1, 2, 3, 4.
- Split Stem 1 (5-9):* No leaves 78.
The split stem-and-leaf display would then show:
| Stem | Leaf |
|---|---|
| 1 | 0 1 2 3 4 |
| 1* | — |
6. Dotplots
6.1 Definition
A dotplot is a graphical display of data where each data point is represented by a dot placed above a number line. Values that are significantly higher or lower than the majority of the data are identified as outliers or extreme values 79.
6.2 Creating a dotplot
To create a dotplot, first draw a horizontal line and mark it with numbers that encompass the range of the data. Then, for each data value, place a dot above the corresponding number on the line 82.
6.3 Interpreting a dotplot
Dotplots can reveal clusters of data, gaps, and outliers. Clusters indicate groups of similar values, while gaps show ranges where no data points exist.
Outliers are data points that lie far from the main body of the data 83.
6.4 Comparing dotplots
Dotplots are useful for comparing distributions of data from different groups. By placing dotplots for each group on the same number line, one can easily compare their shapes, centers, and spreads 84.
6.5 Example: Boston Bruins vs. Vancouver Canucks penalty minutes
The number of penalty minutes for players on the Boston Bruins and Vancouver Canucks during the 2011 Stanley Cup playoffs can be visualized using stacked dotplots. This allows for a direct comparison of their penalty behaviors 84.
6.6 Comparison of penalty minutes
Both the Boston Bruins and the Vancouver Canucks had a majority of players with fewer than 20 penalty minutes. Each team also had one player with a significantly higher number of penalty minutes, acting as an outlier (63 minutes for the Bruins and 66 minutes for the Canucks).
The overall shapes of the penalty minute distributions for both teams were quite similar 87.
| Team | Penalty Minutes (Selected Players) | Outlier |
|---|---|---|
| Boston Bruins | Majority < 20 min | 63 min |
| Vancouver Canucks | Majority < 20 min | 66 min |
7. TI-84
7.1 TI-84 calculator
The TI-84 calculator is a tool used for data analysis, particularly in statistical contexts. It can perform various calculations and display data in different formats 88 89.
7.2 Data entry and display
Data can be entered into the TI-84 calculator and then visualized. The calculator offers options for how this data is presented, aiding in interpretation 88 89.
8. Minitab
8.1 Introduction to Minitab
Minitab is a statistical software package designed for data analysis and visualization. It is widely used in academic and industrial settings for performing various statistical procedures, from basic descriptive statistics to advanced modeling.
The software's user-friendly interface allows users to input data, perform analyses, and generate graphical representations of their findings 90 91 92 93 94.
8.2 Data Input and Management
Minitab facilitates data entry and management through its spreadsheet-like interface, known as the Data window. Users can directly input data, import data from various file formats (e.g., Excel, CSV), and manipulate data using built-in functions.
These functions include sorting, selecting, merging, and transforming data, which are essential steps before conducting statistical analyses 90 91 92 93 94.
📝 Minitab's Data window allows users to directly input data or import it from formats like Excel and CSV, and then use functions to sort, select, merge, and transform the data before analysis 90.
8.3 Statistical Analysis Tools
The software offers a comprehensive suite of statistical tools covering a broad range of analytical needs. These include descriptive statistics, hypothesis testing, regression analysis, analysis of variance (ANOVA), and quality control methods.
Minitab guides users through the process of selecting appropriate statistical tests and interpreting the results 90 91 92 93 94.
8.4 Data Visualization
Minitab excels in creating informative and visually appealing graphs and charts to represent data. Common visualizations include histograms, scatterplots, boxplots, and control charts.
These graphical tools help in identifying patterns, trends, and outliers in the data, thereby aiding in the understanding and communication of analytical outcomes 90 91 92 93 94.
8.5 Quality Improvement Applications
Minitab is particularly recognized for its applications in quality improvement methodologies, such as Six Sigma and Total Quality Management (TQM). It provides specialized tools for process capability analysis, design of experiments (DOE), and statistical process control (SPC), enabling organizations to monitor and enhance their processes and product quality 90 91 92 93 94.
9. Excel
9.1 Introduction to Excel
Microsoft Excel is a powerful spreadsheet program used for organizing, analyzing, and visualizing data. It allows users to input data into cells arranged in rows and columns, perform calculations using formulas, and create various types of charts and graphs to represent data trends 95 96.
9.2 Basic Data Entry and Organization
Data in Excel is entered into individual cells, which are the intersection of a row and a column. Each cell can contain text, numbers, or formulas.
Rows are identified by numbers, and columns are identified by letters. This grid structure facilitates the organization of information into tables 95 96.
9.3 Formulas and Functions
Excel uses formulas to perform calculations on data. Formulas begin with an equals sign (=) and can include cell references, operators (like +, -, *, /), and built-in functions. Functions are pre-defined formulas that perform specific operations, such as SUM for adding numbers or AVERAGE for calculating the mean 95 96.
📝 To sum the values in cells A1 through A5, you would enter the formula
=SUM(A1:A5)into a cell 95.
9.4 Data Visualization with Charts
Excel offers a variety of chart types to visualize data, including bar charts, line charts, pie charts, and scatter plots. Charts help in identifying patterns, trends, and outliers in the data, making complex information easier to understand 95 96.
| Chart Type | Purpose |
|---|---|
| Bar Chart | Comparing values across categories |
| Line Chart | Showing trends over time |
| Pie Chart | Illustrating proportions of a whole |
| Scatter Plot | Displaying relationships between two numerical variables |
© 2026 Maeve. All rights reserved. This content is protected by copyright.