... from the others since none of the packages weighs between 52 and 53 grams.)

A histogram and a bar graph

Figure 4.2 Histogram and bar chart of M&M package weights.

The right side of Figure 4.2 shows a bar chart derived from the same data. To make this bar chart, we truncated the package weights to two digits, keeping only the integer weights and discarding any fraction of a gram. The bar chart describes the resulting ordinal variable.

The two descriptions of these data are clearly similar. Both show a peak (mode) around 50 grams, for instance. The differences, however, are important. The bars in the bar chart are not placed next to each other ...

Get Statistics for Business: Decision Making and Analysis, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.