Statistics is the science of collecting, organising, summarising and interpreting numerical information. Raw data are the values exactly as they were first recorded, before anything has been sorted, grouped or averaged: the burette readings in a titration logbook, the absorbance values printed by a spectrophotometer, the number of samples received each day. Everything later in a statistical analysis depends on the quality of these first records. A wrong value recorded at the bench cannot be repaired by a correct calculation later.
The population is the whole set of items that a question is about, for example every bottle in a production batch of cleaning solution. A sample is the part of the population that is actually measured, for example 12 bottles chosen from the batch. Samples are used because measuring the whole population is usually impossible, too slow, or destroys the items. A sample describes the population well only if it is chosen fairly. Choosing items at random, or at fixed intervals along the production line, gives every item a chance of being tested, whereas always picking the nearest bottle can give a biased sample.
| Type of data | Meaning | Laboratory example |
|---|---|---|
| Qualitative (categorical) | Described by a category or label | Colour change at the end point, type of sample received |
| Quantitative, discrete | Counted, taking separate whole-number values | Number of failed calibrations in a week, number of colonies on a plate |
| Quantitative, continuous | Measured, taking any value in a range | Mass of a precipitate, concentration, pH, time |
Ungrouped data are raw values listed individually, one value for each observation, with no classes. They are suitable for small sets of data, or for discrete data in which the same few values repeat. When the same value occurs many times, the data are organised in a frequency table: one row for each distinct value, showing how many times it occurs. A tally is used while counting, and the frequency is the final count.
A tally mark is a single stroke for each observation. Every fifth stroke crosses the previous four, so that the marks can be read in fives. In this text each stroke is written I, and the crossing fifth stroke is written as a slash after four strokes (IIII/ is five). The steps for making a frequency table are:
Example: The number of defective filter papers in each of 30 boxes of 10 was recorded as follows:
2, 0, 1, 1, 3, 2, 0, 4, 1, 2, 1, 0, 3, 2, 1, 1, 0, 2, 3, 1, 2, 4, 0, 1, 3, 2, 1, 0, 4, 2
| Defective papers | Tally | Frequency |
|---|---|---|
| 0 | IIII/ I | 6 |
| 1 | IIII/ IIII | 9 |
| 2 | IIII/ III | 8 |
| 3 | IIII | 4 |
| 4 | III | 3 |
| Total | 30 |
The total of 30 equals the number of boxes. The most frequent value is 1, found in 9 boxes. The total number of defective papers is 0 × 6 + 1 × 9 + 2 × 8 + 3 × 4 + 4 × 3 = 0 + 9 + 16 + 12 + 12 = 49.
Grouped data are values that have been sorted into classes, which are intervals, with a frequency recorded for each class. Grouping is used when there are many different values, as with continuous measurements. A list of 40 chloride results with few repeated values would give 40 rows in a frequency table, and the pattern would be hard to see, but five or six classes show it clearly. The price of grouping is that the individual values are lost, so later calculations use the class mid-point instead of the real values and give approximate results.
| Term | Meaning |
|---|---|
| Class interval | The range of values in one class, for example 40-49 |
| Class limits | The smallest and largest values that can be recorded in the class (40 and 49) |
| Class boundaries | The values halfway between the upper limit of one class and the lower limit of the next (39.5 and 49.5) |
| Class width | Upper boundary minus lower boundary (49.5 − 39.5 = 10) |
| Class mid-point | Half the sum of the limits or of the boundaries (44.5) |
| Frequency | The number of observations in the class |
| Cumulative frequency | The running total of the frequencies up to the end of a class |
Example: The chloride concentrations (mg/L, to the nearest whole number) of 40 water samples were:
59, 25, 59, 59, 68, 50, 26, 41, 39, 53, 53, 56, 30, 62, 46, 38, 35, 30, 71, 59, 50, 46, 48, 41, 43, 40, 46, 60, 78, 22, 41, 31, 62, 51, 40, 31, 43, 64, 48, 66
The smallest value is 22 and the largest is 78, so the range is 56. Six classes of width 10 cover the data.
| Class (mg/L) | Class boundaries | Mid-point | Frequency | Cumulative frequency |
|---|---|---|---|---|
| 20-29 | 19.5 to 29.5 | 24.5 | 3 | 3 |
| 30-39 | 29.5 to 39.5 | 34.5 | 7 | 10 |
| 40-49 | 39.5 to 49.5 | 44.5 | 12 | 22 |
| 50-59 | 49.5 to 59.5 | 54.5 | 10 | 32 |
| 60-69 | 59.5 to 69.5 | 64.5 | 6 | 38 |
| 70-79 | 69.5 to 79.5 | 74.5 | 2 | 40 |
The frequencies add to 40, the number of samples. The modal class is 40-49. The values in the 20-29 class are 25, 26 and 22, which shows how the individual values are no longer visible once the data are grouped.
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free account