Classification groups raw data by a common character: geographical (by place), chronological (by time), qualitative (by an attribute such as literacy) and quantitative (by a measured variable such as income). A quantitative variable is discrete if it jumps between values (number of children) and continuous if it can take any value in a range (height). Continuous data are grouped into class intervals.
The vocabulary of a class interval| Term | Meaning | Example: inclusive class 10–19 |
|---|
| Class limits | the two numbers written | 10 and 19 |
| Class boundaries | limits pushed half the gap outward | 9.5 and 19.5 |
| Class width | upper boundary − lower boundary | 10 |
| Mid-value | (lower + upper limit) ÷ 2 | 14.5 |
In the exclusive method (10–20, 20–30, …) the upper limit of one class is the lower limit of the next and a value of exactly 20 goes into 20–30. In the inclusive method (10–19, 20–29, …) both limits belong to the class, and before drawing a histogram or using an interpolation formula you must convert to boundaries by subtracting and adding half the gap — here 0.5. Sturges' rule suggests the number of classes: k = 1 + 3.322 log₁₀N; for N = 100 it gives 7.644, so about 8 classes.
A statistical table has fixed parts: the table number and title; the caption (column headings); the stub (row headings); the body (the figures); a head-note (units, placed under the title); and a footnote and source note below. Tabulation follows classification — you cannot tabulate what you have not classified.