Frequency table and histogram

Paste your raw data and the frequency table and chart are prepared for you. Which chart to use when is explained in Chapter 2.

Sample data:

20 numbers read.

Table type

9 distinct values; with this few values, listing each one (simple table) is enough.

Valuefcfrfcrf
1220.10.1
2240.10.2
3260.10.3
4280.10.4
53110.150.55
63140.150.7
72160.10.8
82180.10.9
92200.11
Total201

f: frequency, cf: cumulative frequency, rf: relative frequency, crf: cumulative relative frequency

01231: 2 (10%)12: 2 (10%)23: 2 (10%)34: 2 (10%)45: 3 (15%)56: 3 (15%)67: 2 (10%)78: 2 (10%)89: 2 (10%)9Value (reps)

Bar chart: values are discrete, so the bars have gaps between them.

How was the table built?

  1. Count how many times each value occurs: the frequency (f).

  2. Add the frequencies one after another to get the cumulative frequency (cf). The last row must equal n.

  3. Divide each frequency by n to get the relative frequency (rf); relative frequencies add up to 1.

    nf=fn=f20nf = \dfrac{f}{n} = \dfrac{f}{20}