Displaying Data
A list of wait times shows every recorded number but makes the overall pattern hard to spot. Which display keeps the details you need? We will use the same example to build a dot plot, a histogram, and a box plot, then switch to categorical data.
- Data display: A table or graph that shows the distribution or pattern of observed values.
Core ideas
Dot plots and histograms
A dot plot retains individual observations. A histogram groups numerical values into intervals and shows how many observations fall in each.
Box plots
The box spans the first and third quartiles, with the median marked inside. Its width along the data axis is the interquartile range.
Two-way tables
Cross-tabulate two categorical variables. For example, among 20 bus riders, 5 being late gives a within-group proportion of .
Essential example
Use the following illustrative wait times in minutes for eight visits: . In a dot plot, put one dot above each minute value for each observation. There are two dots above , two above , and one above . The exact individual values remain visible.
A histogram groups values by intervals. Choose equal-width bins and use the left endpoint in each bin while leaving the right endpoint for the next one.
| Wait in minutes | Count |
|---|---|
A count of four in the second bin describes waits from three up to six minutes. The bar alone does not tell you which exact values were observed. A different bin width can make the same observations look more or less clustered.
Read a box plot and a table
Using the medians of the two halves, the sorted data give , median , and . The box spans to . Under the minimum-to-maximum convention, the whiskers reach and . Some plots use a different whisker rule, so check the convention before reading extremes.
For two categorical variables, use a two-way table. If 5 of 20 bus riders were late, the late proportion among bus riders is percent. Use the bus-rider total as the denominator because the question is conditional on that group.
Read the denominators in a two-way table
Suppose 5 of 20 bus riders and 4 of 10 car riders were late in an illustrative group. The overall late fraction is . The bus-rider late fraction is , and the car-rider late fraction is . Reversing the question changes the denominator. Among the late group, the bus-rider fraction is . Each fraction comes from the same table, but its denominator specifies which group is under discussion.
Keep and continue
Keep the ordered wait times and quartiles. Next, use them to compare center and spread.
Previous: Quadratic Models
Next: Comparing Distributions