Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working

Deming regression

This procedure performs method comparison using the Deming regression model (Linnet, 1990; Linnet, 1993).

Whereas the ordinary linear regression method assumes that only the Y measurements are associated with random measurement errors, the Deming method takes measurement errors for both methods into account.

Deming regression assumes a constant ratio of measurement error variances between the two variables for all observations. Weighted Deming regression extends this by allowing observation-specific weights (or error variances), so points with different measurement precisions contribute differently to the fit.

Required input

Deming regression - dialog box

Select the variables for the two techniques you want to compare.

For each of both techniques you can either enter 2 variables (which contain repeated measurements) or you can enter only one variable, in which case you will have to enter an already established Coefficient of Variation (CV, expressed as a percentage).

Options

Weighted Deming regression: option to calculate Weighted Deming regression according to Linnet 1990 & 1993.

Graphs

As an option, you can create 2 graphs:

  • A scatter diagram with the regression line
  • The residuals plot.

Use the Subgroups button if you want to identify subgroups in the scatter diagram and residuals plot. A new dialog box is displayed in which you can select a categorical variable. The graph will display different markers for the different categories in this variable.

Results

The results are displayed in the following text window:

Deming regression

Method X

LIAISON_1

LIAISON_2

Method Y

IRMA_ICS

Method

Mean

Coefficient of variation (%)

X

3.7748

4.12

Y

4.6150

6.70

Sample size

32

Variance ratio

0.3779

Deming regression equation

y = 0.005201  +  1.2212  x  

Parameter

Coefficient

Std. Error

95% CI

Intercept

0.005201

0.1942

-0.3914 to 0.4018

Slope

1.2212

0.04608

1.1271 to 1.3153

Pearson correlation coefficient

0.9810

95% Confidence interval

0.9610 to 0.9908

  • Mean and Coefficient of Variation (%) for both methods
  • Sample size: the number of (selected) data pairs
  • Variance ratio: this is the ratio of the measurement errors of X and Y.
  • The regression equation, Intercept and Slope with 95% confidence interval
  • The Intercept and Slope are calculated according to Linnet (1990, 1993). The standard errors and confidence intervals are estimated using the jackknife method (Armitage et al., 2002).
    The 95% confidence interval for the Intercept can be used to test the hypothesis that A=0. This hypothesis is accepted if the confidence interval for A contains the value 0. If the hypothesis is rejected, then it is concluded that A is significantly different from 0 and both methods differ at least by a constant amount.
    The 95% confidence interval for the Slope can be used to test the hypothesis that B=1. This hypothesis is accepted if the confidence interval for B contains the value 1. If the hypothesis is rejected, then it is concluded that B is significantly different from 1 and there is at least a proportional difference between the two methods.

Scatter diagram and regression line

This graph shows the observations with the regression line (solid line) and identity line (x=y, dotted line).

Deming regression - scatter diagram

Extrapolation

MedCalc only shows the regression line in the range of observed values. As a rule, it is not recommended to extrapolate the regression line beyond the observed range. To allow extrapolation anyway, right-click in the graph and click Allow extrapolation on the context menu.

Allow extrapolation

Residuals plot

Deming regression - residuals plot

MedCalc calculates optimized residuals following NCSS 2026.

The residual plot allows for the visual evaluation of the goodness of fit of the linear model. Residuals may point to possible outliers (unusual values) in the data or problems with the linear regression model. If the residuals display a certain pattern, you can expect the two variables not to have a linear relationship.

Outliers, defined here as residuals outside the 4 SD limit, are plotted in a different color. Linnet & Boyd (2012) recommend that these measurements should not just be rejected automatically, but the reason for their presence should be scrutinized.

Literature

  • Armitage P, Berry G, Matthews JNS (2002) Statistical methods in medical research. 4th ed. Blackwell Science.
  • Linnet K (1990) Estimation of the linear relationship between the measurements of two methods with proportional errors. Statistics in Medicine 12:1463-1473. PubMed
  • Linnet K (1993) Evaluation of regression procedures for methods comparison studies. Clinical Chemistry 39:424-432. PubMed
  • Linnet K, Boyd JC (2012) Selection and analytical evaluation of methods - with statistical techniques. In Burtis CA, Ashwood ER, Bruns DE (eds). Tietz Textbook of Clinical Chemistry and Molecular Diagnostics (5th edn). Elsevier Saunders, St Louis, MO, pp. 201-228.
  • NCSS (2026) NCSS Documentation, Chapter 303: Deming regression PDF

See also

External links