Deming and Weighted Deming regression for method comparison Regression for comparing two measurement procedures when both carry error — constant and non-constant precision, jackknife CIs, systematic error decomposition and Syx for independent precision estimation. In Analyse-it since 1997, and the regression EP09-A3 specifies.

Every feature from all five editions for 15 days, no sign-up.
Method Validation edition from US$ 475 a year · 30-day money-back guarantee.

Microsoft Excel with the Analyse-it tab selected, showing the Deming regression report for the CLSI EP09-A3 Appendix I data: the scatter plot of MP Y against MP X with the Deming fit line, its 95% confidence band, the identity line and the allowable difference bands, with N 79 and the range of each method beneath, and the Method Comparison task pane open on Fit Y on X with the fit, the SD of each method and the variance ratio. Handwritten notes: Runs inside Excel: every analysis is on the Analyse-it tab; Deming fit with its 95% confidence band, the identity line and the allowable difference bands; Imprecision of each method: SD, CV or the ratio; The report is an ordinary Excel worksheet: share it, archive it, open it on any PC with Excel.

The parametric regression when precision is characterised

Analyse-it has a tremendous advantage in its ease of use. With other programs, you really have to study how to use them, but Analyse-it makes it so easy, and at the same time offers the advanced procedures we need like Weighted Deming regression.
Marco Balerna, Ph.D.
Clinical Chemist
Ente Ospedaliero Cantonale, Switzerland
Read the case study →

Excel’s LINEST function and chart trendline fit an ordinary least-squares line and stop. All the measurement error is assumed to be in Y; the reference method is treated as error-free. In a method comparison both methods have error, and ignoring the error in X biases the slope towards zero. Deming regression corrects for that, but the correction depends on whether precision is constant or varies with concentration. Use the wrong model and the bias estimate is wrong.

Is precision constant across the measuring range, or proportional to concentration? Is the bias a fixed offset, a proportional one or both? Is the scatter about the line what the within-run precision predicts, or is something in the matrix inflating it? And at the concentrations where clinical decisions are made, does the bias matter?

Deming and Weighted Deming regression with jackknife confidence intervals

Both models are in the same analysis, so you can fit both and choose with evidence. Deming when precision is constant across the range (constant SD), Weighted Deming when it varies with concentration (constant CV). Fit both, compare the residual patterns and keep the one that matches the data. Slope and intercept come with jackknife confidence intervals, and the scatter plot shows the fit with its confidence band, the identity line and the allowable error bands.

  • Deming regression (constant precision)
  • Weighted Deming regression (non-constant precision)
  • Slope and intercept with jackknife confidence intervals
  • Scatter plot with fit line, confidence bands, identity line and allowable difference bands
  • Residual plot (raw and standardised) with histogram
  • Vary colour of points by a factor
Microsoft Excel showing the Fit Y on X section of a Weighted Deming regression report on the CLSI EP09-A3 Appendix I data: the equation, the variance ratio lambda, and the intercept and slope with jackknife 95% confidence intervals and standard errors, with the Comparability table beneath and the task pane open on Fit Y on X with Weighted Deming as the fit. Handwritten notes: Weighted Deming fit: slope and intercept with jackknife 95% CIs; Precision of each method, as CV; Weighted Deming: imprecision as a constant CV.
The Weighted Deming fit on the EP09-A3 Appendix I data: slope 1.037 with jackknife 95% CI 0.9846 to 1.090. The Deming fit on the same 79 samples gives 1.074 (1.001 to 1.147).

Imprecision as SD, %CV or ratio, or estimated from replicate measurements

Deming regression needs the imprecision of both methods, and there are two ways to supply it. For singlicate measurements, specify it as an SD, a %CV or the ratio of the two — from an EP05-A3 precision study or the manufacturer’s claim. For duplicates or replicates, imprecision and the within-subject variance are estimated directly from the data, and the precision of each method is reported. Compare using the mean of the replicates, the first replicate only or the first replicate of the test method against the mean of the reference.

  • Imprecision: SD, %CV or relative ratio (singlicate)
  • Automatic imprecision estimation from replicates
  • Precision (SD or CV) for each method
  • Singlicate, duplicate and replicate measurements
  • Compare using mean, 1st replicate or 1st vs mean of reference
  • Within-subject variance estimation

Systematic error: constant and proportional bias, Syx and Pearson r

A single bias figure hides whether the offset is fixed across the range or scales with concentration. Constant bias (the intercept) and proportional bias (the slope) are reported separately, each with a confidence interval, so you can see which component drives the difference. Syx is an independent estimate of the scatter about the line, to compare with the expected within-run precision. A larger Syx points to matrix-related effects inflating the differences, which warrant investigation before the bias conclusion is final. Pearson r summarises the correlation.

  • Systematic error: constant and proportional bias with CIs
  • Syx independent precision estimate
  • Pearson r correlation coefficient
Microsoft Excel showing the Fit Y on X section of a Deming regression report on the CLSI EP09-A3 Appendix I data: the equation, the variance ratio lambda, the intercept and slope with jackknife 95% confidence intervals and standard errors, Sy.x beneath, then the Comparability table and the Precision table with the fit SD of each method, with the task pane open on Fit Y on X. Handwritten notes: Intercept (constant bias) and slope (proportional bias), with CIs; Sy.x beneath; Precision of each method from the fit, as SD.
The Deming fit: intercept −0.4202 (constant bias) and slope 1.074 (proportional bias), each with a jackknife 95% CI. Syx sits beneath, with the precision of each method estimated from the fit.

Bias at clinical decision points with equality and equivalence tests

The slope gives the average bias; clinical decisions are made at specific concentrations. Predict the mean bias, with a confidence interval, at any decision threshold. Test equality (is the difference zero?) and equivalence (is it inside the allowable difference?) at each point per EP09-A3. Specify the allowable difference as an absolute concentration, a percentage or a combination — such as “10%, with a minimum of 5 mg/dL”.

  • Predict bias with confidence intervals at clinical decision points
  • Equality and equivalence (within allowable difference) tests
  • Allowable difference: absolute, percentage or combination
Microsoft Excel showing the Comparability section of a Deming regression report on the CLSI EP09-A3 Appendix I data: the predicted value at the 5 microgram per litre decision point with its 95% confidence interval, the mean difference with its 95% confidence interval, the plus or minus 6% allowable difference and the equality test p-value with the hypotheses beneath, and the task pane open on Comparability with the decision level, the hypothesis test and the allowable difference options. Handwritten notes: Bias at the decision point with its 95% CI, against the allowable difference; Decision levels; Allowable difference.
Deming fit: the predicted value and the mean difference at the 5 μg/L decision point, −1.0% with 95% CI −5.0% to 3.0%, inside the ±6% allowable difference. The equality test gives p = 0.6237.

Partitioned measuring intervals and total analytical error per EP21-A

Precision that changes across the measuring range is not served by one regression. Partition the data into separate measuring intervals, each with its own regression, bias estimates and comparability assessment, or reduce the interval to the range the comparison supports. Use any fit within each interval, and give each its own allowable difference, as EP09-A3 specifies. A method can pass on bias and still fail in use. EP21-A combines the bias estimate with the imprecision of the test method and compares the total against the allowable error at each decision point. The result is one pass/fail assessment for both. The difference plot and the mountain plot show the differences against the same allowable band.

  • Reduce or partition measuring interval
  • Total analytical error per EP21-A
  • Difference / relative difference / ratio plot with allowable difference band
  • Mountain plot with allowable difference band

Example analyses

See Deming and Weighted Deming results in detail — systematic error decomposition, Syx, bias at decision points and total analytical error. Each analysis uses a CLSI example dataset you can download and follow along with.

EP09 A3 Example 2 10 pages EP09-A3 — Appendix I
All five regression fits.
79 observations fitted five ways — ordinary least squares, weighted least squares, Deming, weighted Deming and Passing-Bablok. Each analysis gives the equation, parameter estimates with CIs and the predicted bias at a medical decision point of 5 µg/L. Weighted least squares is the fit that misses the allowable difference.
EP21 A Example 1 2 pages EP21-A — Table 2
LDL cholesterol total analytical error.
100 observations. Difference plot and mountain plot with an allowable difference of ±10 mg/dL, median difference with a 90% CI and 95% limits of agreement.

Part of the method comparison workflow

Deming and Weighted Deming are two of five regression methods in the method comparison analysis. For a non-parametric approach, see Passing-Bablok regression. To see the distribution of differences and limits of agreement, see Bland-Altman.

Related guides in the Learn section: choosing a regression for method comparison and bias at a medical decision point.

Software you can trust

Validated calculations you can defend at inspection Every calculation is performed by Analyse-it — no Excel formulas, no third-party functions. Results are validated against CLSI reference datasets, published datasets and thousands of internal test cases before every release. How Analyse-it is developed and validated →
Data stays in your facility Analyse-it runs entirely within Microsoft Excel on your PC. No cloud processing, no data transmission. Pre-submission data, data derived from patients and in-process results stay within your facility under your own data governance controls.
Standard Excel workbooks anyone can open Every analysis is an ordinary .xlsx workbook. Share with colleagues, submit to regulatory affairs, archive for audit, open on any PC with Excel. No proprietary format, no licence required to view results. Colleagues and auditors see exactly what you see.
Results that cannot be accidentally broken Analysis output contains computed values, not formulas. Nothing to accidentally overwrite, no cell references to break, no formula errors to introduce. The results you reported are exactly what you will find when you reopen the workbook months or years later for an audit.

Free trial and pricing

Try it on your own data first. The 15-day trial is every feature from all five editions, with no sign-up and no licence key — install it and start straight away.

Method Validation edition: US$ 475 per year or US$ 1155 for a perpetual licence. Every purchase carries a 30-day money-back guarantee. Need a quote for purchasing? Add the licence to the cart and save it as a PDF quote.