Analytical Chemistry Technology  ·  Level 6
Mathematics For Science

Chapter 11: Apply statistics methods

📚 4 Topics

11.1 Collection of raw data

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.

Population and sample

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.

Types of data

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

Sources and methods of collection

  • Direct measurement: values read from a balance, burette, pH meter or other instrument and written in a logbook or saved by the instrument.
  • Observation: counting or noting events, such as bubbles per minute or the number of samples arriving.
  • Records: values taken from existing laboratory registers, calibration logs and delivery notes.
  • Questionnaires and interviews: answers collected from clients or staff, for example about turnaround time.

Good practice when recording raw data

  1. Decide before starting what will be measured, in what units, and how many measurements are needed.
  2. Prepare a data sheet with labelled columns for sample identity, date and time, value, units and analyst.
  3. Record each value at the moment of measurement, to the full resolution of the instrument. A balance that shows 0.0001 g is read to four decimal places.
  4. Never rub out or overwrite a value. A wrong entry is crossed out with one line and the correction written beside it, with a reason.
  5. Note the conditions that could affect the result, such as the temperature, the instrument used and the date of its last calibration.
  6. Keep the original record safe and work from a copy when sorting or calculating.

11.1.1 Ungrouped data

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.

Tally and frequency table

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:

  1. List every distinct value that occurs, in increasing order, in the first column.
  2. Go through the raw data once, in order, and put one tally stroke against the value for each observation.
  3. Count the strokes in each row and write the frequency in the next column.
  4. Add the frequencies. The total must equal the number of observations in the raw data.
  5. Check the total against the original data before using the table.

Worked example

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.

11.1.2 Grouped data

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.

Terms used with classes

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

Steps for grouping data

  1. Find the smallest and largest values and calculate the range.
  2. Choose 5 to 10 classes of equal width, so that the width is a convenient number and the classes together cover the whole range.
  3. Write the class intervals so that they do not overlap and every value fits in exactly one class.
  4. Tally each value into its class and count the tallies.
  5. Add the frequencies and check the total against the number of observations.
  6. Calculate the mid-point of each class and, if needed, the cumulative frequency.

Worked example

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.

The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒11.2 Data presentation

A table of numbers holds the information, but a chart lets a reader see it at a glance. Data presentation is the choice and construction of tables and diagrams that show the pattern in the data clearly and honestly. The right choice depends on the type of data…

🔒11.3 Processing of raw data

Raw data become useful when they are processed: reduced to a few numbers that describe the whole set. Two questions are asked of almost every set of laboratory measurements. Where is the centre of the values, and how widely are they spread around it? The first…

🔒11.4 Interpretation of processed data

Calculating a mean and a standard deviation is not the end of a statistical job. The numbers must be read, compared and turned into a statement that a supervisor or client can act on: whether two analysts agree, whether a method is repeatable, whether a result…