# Histograms

A histogram is a graphic representation of a variable in the shape of bars (rectangles).

They are used for continuous or discrete variables with a large quantity of data that is grouped into classes.

The base width of the bars (rectangles) are proportional to the class widths and the height is the absolute frequency of each interval.

The surface area of every bar is proportional to the frequency of the represented values.

### Frequency Polygon

The frequency polygon is formed by joining the class mark of the intervals by line segments.

#### Example

The weight of 65 children is given by the following table:

ci fi Fi 55 8 8 65 10 18 75 16 34 85 14 48 95 10 58 105 5 63 115 2 65 65

# Histogram and Polygon of a Cumulative Frequency

If the values from a cumulative frequency table are represented graphically, the result is a cumulative frequency histogram and its corresponding polygon.

## Histograms with Different Class Widths

To construct histograms with different class widths, calculate the heights of the rectangles of the histogram.

hi is the height of the interval.

fi is the absolute frequency of the interval.

ai is the class width.

#### Example

The following table shows the test scores (out of 10) of a group of 50 students.

fi hi 15 3 20 10 12 6 3 3 50