Analytical Methods Committee AMCTB No 87

Received
5th March 2019
, Accepted 5th March 2019

First published on 27th March 2019

In the analytical sciences regression methods have two main uses – in calibrations in instrumental analysis, and in testing for bias in method comparison studies. In first order (straight line) regression the true values of the intercept α and the slope β are independent of each other but their estimated values and are not independent. This can be appreciated visually by considering the straight lines joining all the individual pairs of points; those with a large slope will have a small intercept and vice versa, so the correlation between and is negative and possibly substantial. This correlation has important consequences when the estimated coefficients are used for significance testing in the interpretation of the regression line.

In calibrations the predictor (or ‘independent’) variable usually comprises a set of concentration values (the x-values) and the response (or ‘dependent’) variable the corresponding analytical signals (the y-values). In method comparison, the x-values would usually be results from a number of typical test materials analysed by a reference method, and the corresponding y-values would be obtained by a quicker, less precise method. The correlation between and is seldom shown in regression output, but becomes an issue when we want to apply significance tests to them both.

Fig. 1 Calibration for ^{239}Pu by ICP-MS, using responses from column “R1”, showing data (blue points) and simple regression (red line). Data (from AMC Datasets) can be found at http://www.rsc.org/images/Plutonium239_tcm18-57760.txt. |

Fig. 2 illustrates the effect of the dependence on the outcome for the calibration shown in Fig. 1. Point A in Fig. 2 shows the values of the estimated coefficients. Points B and C show example reference pairs of values defining illustrative joint null hypotheses, that is,

H_{0}: α = α_{ref} and β = β_{ref}. |

Fig. 2 Outcome of regression on data from Fig. 1, showing the regression coefficients (Point A), their individual 95% confidence limits (outer dashed lines), the limit of the 95% joint confidence region (blue ellipse), and two example joint null hypotheses (points B, C). |

Point B falls within both of the individual 95% confidence intervals, so the regression coefficients (Point A) might naively be taken as showing no significant difference from the reference values. Crucially, however, point B falls outside the ellipse defining the joint confidence region, and the joint null is therefore properly rejected at 95% confidence. Point C, in contrast, falls outside the two individual confidence intervals, so might be taken as significantly different and rejected on both counts. However, it is clearly within the joint 95% confidence region and therefore the null hypothesis is not rejected.

These examples serve as an illustration for interpreting joint confidence regions but, for calibration purposes, an analyst would usually be interested in testing only the single null hypothesis that the intercept was zero, α = 0. A zero intercept is useful as it means that the signal is proportion to the concentration. In any event, the slope of the graph is usually set at an arbitrary value. In Fig. 2 we see that zero is comfortably within the confidence limits (−82.5, 118.9) for the separate intercept estimate.

H_{0}: (α = 0 and β = 1). |

Random variation aside, that is what we would expect if there were no bias at all.

Fig. 3 shows some results from a comparison of a laboratory-based reference method and a field method for the determination of uranium in stream waters sampled at various sites, using unweighted regression. Fig. 4 shows the discrepant outcomes of both separate and joint tests of significance. In that instance the null hypothesis value for the slope coefficient β (that is, 1.0 exactly) is outside (just) the upper confidence limit for the slope estimate, and so might be naively taken as implying a significant rotational bias. The combined null point (0, 1), however, is clearly within the joint confidence region, so any bias indicated is not significant at 95% confidence.

Fig. 3 Data (blue solid circles) from a comparison between an experimental field method and a laboratory reference method for the determination of uranium in stream water (excluding values above 100 ng ml^{−1}). Each point is from a separate source of water. Here the laboratory method is assumed to have the smaller variance and is treated as the independent variable. Data (from AMC Datasets) can be found at http://www.rsc.org/images/Uranium_in_stream%20water_tcm18-57750.txt. |

Fig. 4 Outcome of regression on data from Fig. 3, showing the regression coefficients (central point), their individual 95% confidence limits (outer red dashed lines), the limit of the joint 95% confidence region (blue ellipse), and a joint null hypothesis H_{0}: (α = 0 and β = 1) (black dashed lines and point). |

The data shown in Fig. 5, a comparison of a rapid procedure and a reference procedure for the determination of dissolved oxygen in samples of water, gives rise to a contrasting outcome. The correlation between the coefficients is more extreme than in the previous example, and the joint confidence region correspondingly narrow (Fig. 6). There we see the combined null point (0, 1) well within both of the individual 95% confidence limits, suggesting prima facie that there is no bias in the rapid procedure. However, the null point is clearly outside the joint 95% confidence region, showing that significant bias is indeed present, although not showing exactly what form the bias takes.

Fig. 5 Data (blue solid circles) and simple regression (red line) from a comparison between an experimentally rapid method and a laboratory reference method for the determination of dissolved oxygen in water. Each point is from a separate source of water. Here the laboratory method is assumed to have the smaller variance and is treated as the independent variable. The value at about 9 mg L^{−1} was excluded from further treatment as it seems to be an outlier and leverage point. Data (from AMC Datasets) can be found at http://www.rsc.org/images/Dissolved%20oxygen_tcm18-194855.txt. |

Fig. 6 Outcome of regression on data from Fig. 5 (excluding high leverage point), showing the regression coefficients (central point), their individual 95% confidence limits (outer red dashed lines), the limit of the joint 95% confidence region (blue ellipse), and the joint null hypothesis H_{0}: (α = 0 and β = 1) (black dashed lines and point). |

It should be noted that in each of these comparisons it is assumed that the reference method (i.e., the independent variable) has a much smaller variance than the other method. If a reference procedure used in method comparison has an appreciable variance, it may be preferable to use the FREML (functional relationship estimation by maximum likelihood) approach, as described in Technical Brief 10: an Excel® add-in for this method is available via the RSC web site. The datasets used in this Technical Brief can also be downloaded without formality via the Analytical Methods Committee webpages at http://www.rsc.org/amc.

^{2}Σx^{2} + (2Σx) + n2 − 2s^{2}F = 0, |

By inserting any appropriate value of , we obtain two real values of , which define points on opposite sides of the confidence ellipse. At the poles of the ellipse the two roots are equal, outside that range there are no real roots. The points obtained are re-centred on the regression coefficients and plotted by joining adjacent points. A version for weighted regression is a straightforward extension of this procedure.

M. Thompson (Birkbeck University of London).

This Technical Brief was written on behalf of the Statistics Expert Working Group and approved by the Analytical Methods Committee on 28/02/19.

This journal is © The Royal Society of Chemistry 2019 |