Two charts that look very similar to the eye but are conceptually distinct serve to represent frequencies: the bar chart for discrete data and the histogram for continuous data.
Definition — Bar chart vs. histogram
- Bar chart: for discrete data (marks, genders, brands). Separated bars, the height is the frequency.
- Histogram: for continuous data grouped into classes (intervals). The rectangles are contiguous and the area of each represents the frequency: if the classes have different widths, the height must be the frequency density , not directly (otherwise the eye overestimates the wide classes).
Example — Histogram of heights
Heights (in cm) of pupils grouped into classes of width cm:
Histogram of the heights of 20 pupils, in classes of width 5 cm; the peak falls in the class .
The peak in identifies the mode (modal class). The shape is slightly asymmetric to the right (positive skew).
Links
Topics: Probabilita
Concepts: Classi di frequenza · Grafico a barre · Istogramma · Moda
Methods: Istogramma
Skills: Interpretare grafico