Analytical Methods Committee AMCTB No. 88
First published on 27th March 2019
The uncertainty factor is a new way to express measurement uncertainty. It is especially applicable when the uncertainty is large (e.g., expanded relative uncertainty > 20%), which occurs in some analytical methods, and also when the uncertainty includes that arising from the primary sampling of highly heterogeneous materials. The upper and lower confidence limits of the uncertainty interval are calculated by multiplying and dividing the measurement result by the uncertainty factor, rather than adding and subtracting the traditional uncertainty value.
Standard uncertainty is always quantified as a standard deviation, but this assumes that the frequency distribution that it describes is approximately Gaussian (i.e., normal). However, experimental evidence shows that in some situations, the distribution of repeated measurements is not normal but heavily skewed with a substantial proportion of values much higher than the mode. This observation invalidates the assumption of normality. It also suggests that the range of the uncertainty, rather than being symmetrical about the measured value, is asymmetric with a larger range above than below the measured value. The situations where this asymmetry is likely to arise are when the values of relative uncertainty are high (e.g., > 20%), which occurs in some purely analytical systems, but also when the dominant source of the measurement uncertainty is from the primary sampling of a highly heterogeneous sampling target.
A common solution to restoring the validity of the uncertainty estimation in this situation, is to take logarithms of the measurement values, before calculating the standard deviation. Analytical chemists are familiar with logarithms (to the base ten) as a way to express the hydrogen ion activity when using pH units. The pH value is simply the power to which ten must be raised to obtain the H+ activity, with the sign reversed for convenience of use. Expressing activity in this ‘log-domain’ has several advantages, including being able to express an enormous range very concisely (common laboratory values of H+ activity cover a range of 1014). However, in considerations of uncertainty, natural logarithms (i.e., logarithms to the base ‘e’) are more appropriate, as explained in an example below.
For the situation of uncertainty estimation in circumstances of marked asymmetry, this log-transformation has the benefit of often giving an approximately normal distribution which conforms better to the underlying assumptions required. Furthermore, where the standard uncertainty increases in proportion to concentration, the log-transformation also makes all of the differences from the mean value comparable (i.e., it makes the measurement variance homoscedastic), even when the range of concentration values used in the uncertainty estimation is substantial. However, a drawback in this use of transformation, is that the units of the standard deviation that are calculated on the log-transformed measurements (sL), are no longer in the linear units of analyte concentration, but in the log-domain. The way to overcome this drawback is to express the uncertainty as an ‘uncertainty factor’, as will be explained by the use of the following example.
Fig. 1 Histograms of the Pb concentration measured in 100 soil targets shown on, (a) the original linear scale, (b) after natural logarithms were taken. |
The uncertainty of each of these measurements was estimated using the ‘duplicate method’, in which duplicated analytical measurements are taken on duplicated samples taken at 10 of these 100 targets1 (Fig. 2).
Fig. 2 Measurements of the concentration (mg kg−1) of lead made on duplicated samples from 10 of the 100 targets in a survey of contaminated land, shown in, (a) original concentration units, (b) loge transformed. The duplicate samples (labelled S1 in blue, and S2 in orange) generally differ by more than the duplicate analyses (labelled A1 and A2 in the same colour). (a) Four targets (2, 4, 6 and 7) have particularly large difference between duplicate samples, suggesting a positively skewed distribution for sampling uncertainty, like that between the targets (Fig. 1a). In the log-transformed values (b), these differences are generally much smaller, and more similar across the range of concentration. |
The estimate of the expanded relative measurement uncertainty, made using analysis of variance (ANOVA) on the original measurements,2 was 83.9%. However, inspection of the differences between the 10 duplicate samples (Fig. 2a) reveals evidence of the same positive skew seen for the 100 targets (Fig. 1a), with a substantial proportion of large differences (4/10 by a factor of ≥1.5). The implication is that the nature of the heterogeneity between the targets is similar to that between the sample duplicates within a target, which affects the frequency distribution of the uncertainty from sampling. To overcome this problem, the ANOVA was applied to the natural logarithms of the 40 measurements made on the 10 duplicated samples (Fig. 2b).
The initial estimate of uncertainty of the log-transformed measurement (sL) is still ‘in log space’; that is, expressed on the same logarithmic scale as the log-transformed data. To make the resultant estimate of the measurement uncertainty useful in the linear domain, it can be expressed as a (standard) uncertainty factor (Fu), for the 68% confidence interval.3
Fu = exp(sL) | (1) |
For the more usual 95% confidence, this is expressed as an expanded uncertainty factor (FU). The value of FU can be calculated, either by multiplying sL by the coverage factor of two (k = 2) in the log-domain or, equivalently, by raising Fu to the power of k.
FU = exp(k × sL) = (Fu)k | (2) |
To use the uncertainty factor, the lower 95% confidence limit is calculated by dividing the measurement value by FU, and the upper limit by multiplying the measurement value by FU.
For this example, the value of sL is 0.48, Fu is calculated as 1.62 using eqn (1), and FU is 2.62 using eqn (2).4 For a typical measured lead concentration value of 300 mg kg−1, the lower 95% confidence limit is 115 mg kg−1 (i.e., 300/2.62) and the upper confidence limit is 784 mg kg−1 (i.e., 300 × 2.62).
This confidence interval is from 115 to 784 mg kg−1, which is from −185 to +484 mg kg−1 away from the measurement value. This interval is clearly asymmetric and reflects the positive skew seen in the original measurements (Fig. 1a).
A further advantage of the uncertainty factor, is that it always gives positive values for the confidence limits of an uncertainty estimate. This contrasts with naïve approaches to high relative uncertainty, which can easily imply an expanded uncertainty extending well below zero.
An apparent complication can arise when the measurement uncertainty from the chemical analysis is expressed as relative uncertainty, but that from the sampling is expressed as an uncertainty factor. However, two solutions to this issue of combining uncertainty expressed in two different ways have been identified.4 One option is to also express the uncertainty from chemical analysis as an uncertainty factor, to match that from the sampling. This option enables a valid combination of the two uncertainties to be made in the usual way, but in log space, producing a combined uncertainty factor for the whole measurement process.
This Technical Brief was prepared for the Analytical Methods Committee, with contributions from members of both the AMC Statistics and Sampling Uncertainty Expert Working Groups and approved on 13 March 2019.
This journal is © The Royal Society of Chemistry 2019 |