Series: Advanced Biostatistics for MedTech: Bridging Clinical Evaluation and Engineering
The Regulatory Demand for Statistical Rigour in IVDs
During the late stages of a technical file, method comparison is sometimes presented as a simple scatter plot with a standard trendline. The accompanying correlation coefficient is usually high, offering a false sense of security that the new diagnostic device matches the reference method perfectly. This approach masks a significant statistical problem.
Applying standard Ordinary Least Squares (OLS) regression to IVD method comparison data often violates the simplifying assumption that the comparator method’s variability is negligible. Relying on OLS in regulatory submissions can lead to biased slope estimates and immediate technical deficiencies during Notified Body reviews. The correlation coefficient cited in its support is a poor measure of agreement, as it is inflated by the width of the concentration range rather than true concordance.
The shift from the In Vitro Diagnostic Directive to the In Vitro Diagnostic Regulation (IVDR 2017/746) has reshaped analytical performance expectations for medical devices in the EU and the UK. Under IVDR Annex I, manufacturers must demonstrably justify the analytical performance of their devices, covering trueness, precision, accuracy, and measurement uncertainty. For In Vitro Diagnostics (IVDs) and continuous monitoring devices, demonstrating this performance necessitates a method comparison study against a reference measurement procedure. The Clinical and Laboratory Standards Institute (CLSI) guideline EP09c is a widely recognised consensus standard for designing and analysing these studies.
Moving beyond OLS requires adopting advanced statistical methodologies that account for the realities of IVD data. These might include Deming and Passing-Bablok regression, methods for handling heteroscedasticity, and the deployment of Bayesian hierarchical models for multi-site analytical validation.
The Statistical Inadequacy of Ordinary Least Squares in Method Comparison
The premise of a method comparison study is to evaluate the agreement between a reference method (X) and an evaluation method (Y) across a range of analyte concentrations. The standard linear model is:
Y = \beta_0 + \beta_1 X + \epsilonIn OLS regression, the minimisation objective is the sum of squared residuals, performed exclusively in the Y direction:
\min \sum_{i=1}^{n} (Y_i - \hat{Y}_i)^2The critical assumption underlying OLS is that the independent variable (X) is measured without error, and all random error is contained within the dependent variable (Y). In IVD method comparison, both the reference method and the evaluation method possess measurement error. If X is measured with error, the observed values are X_{obs} = X_{true} + \delta, where \delta represents the random analytical error of the comparator.
When OLS is applied to data where the independent variable contains error, it results in regression dilution (attenuation bias). The OLS estimator for the slope is biased toward zero:
E[\hat{\beta}<em>{1,OLS}] = \beta_1 \left( \frac{\sigma</em>{true}^2}{\sigma_{true}^2 + \sigma_{\delta}^2} \right)Where \sigma_{true}^2 is the variance of the true analyte concentration and \sigma_{\delta}^2 is the variance of the comparator’s measurement error.
In high-precision IVD systems where the analytical measurement range (AMR) is narrow relative to the measurement error, this attenuation bias becomes substantial. Submitting an OLS-derived slope and intercept to a Notified Body under IVDR is statistically unjustifiable, as it attenuates the slope toward zero and systematically biases the intercept upward.
Deming Regression: Minimising Weighted Distances
To address the error-in-variables problem, CLSI EP09c recommends regression methods that account for error in both variables. Deming regression is a principal approach, alongside Passing-Bablok and other techniques. The choice depending on the characteristics and assumptions specific to the data. Unlike OLS, Deming regression accounts for measurement error in both X and Y by minimising the weighted sum of squared residuals in both directions.
The Deming minimisation objective:
Where \sigma_{\epsilon}^2 is the variance of the evaluation method’s measurement error, and \sigma_{\delta}^2 is the variance of the comparator method’s measurement error.
This is often parameterised using the variance ratio \lambda = \sigma_{\epsilon}^2 / \sigma_{\delta}^2. The resulting slope estimator (\hat{\beta}_{1,Deming}) is consistent, provided that the variance ratio \lambda is correctly specified (or, in large samples, consistently estimated).
Estimating \lambda requires a separate precision validation study, typically conducted in accordance with CLSI EP05 (Evaluation of Precision of Quantitative Measurement Procedures). If the variance ratio is assumed to be 1 (i.e., the error variances of both methods are equal), the technique is referred to as orthogonal regression. Assuming \lambda = 1 without empirical justification is a frequent pitfall in regulatory submissions. For IVDs, the reference method (e.g., isotope dilution mass spectrometry) typically exhibits significantly lower variance than the evaluation method (e.g., an enzymatic point-of-care test). A solid IVDR submission must derive \lambda from replicates measured across the AMR.
Passing-Bablok Regression: Robustness Against Non-Normality and Outliers
While Deming regression resolves the error-in-variables bias, it is a parametric technique dependent on the assumption that measurement errors are normally distributed and free of gross outliers. Clinical samples frequently contain outliers due to haemolysis, lipaemia, or interfering substances.
Passing-Bablok regression is a non-parametric alternative recommended by CLSI EP09c when the data distribution is non-normal or when outliers are present. The method estimates the slope (\beta_1) by taking the median of all possible pairwise slopes of the lines connecting points in the dataset, adjusted to be robust to the exchange of X and Y axes.
For n data points, there are N = n(n-1)/2 pairwise slopes S_{ij}:
S_{ij} = \frac{Y_j - Y_i}{X_j - X_i} \quad \text{for } i < jThe Passing-Bablok slope estimator is:
\hat{\beta}<em>1 = \operatorname{median} S</em>{ij}Specifically, it is the median of the shifted pairwise slopes, with a correction for those slopes where the sign flips if X and Y are swapped. The intercept is subsequently derived as:
\hat{\beta}_0 = \operatorname{median} (Y_i - \hat{\beta}_1 X_i)The primary advantage of Passing-Bablok in the medtech regulatory context is its robustness. A single outlier that would severely distort an OLS or even a Deming regression estimate has effectively negligible influence on the Passing-Bablok median. The estimator tolerates a substantial minority of outliers, providing robustness where standard parametric methods fail. Confidence intervals for the slope and intercept are constructed using the method’s own analytic, rank-based procedure, derived by Passing and Bablok from the distribution of the ranked pairwise slopes. Bootstrap resampling is an available alternative to this when the analytic assumptions are questionable.
The trade-off is statistical power. If the errors are truly normal and homoscedastic, Passing-Bablok is less efficient than Deming regression. The choice between Deming and Passing-Bablok must be governed by a decision rule fixed in the SAP, with the triggering diagnostics and their thresholds stated in advance of any analysis of study data. For example: Deming regression will be used as the primary method, with Passing-Bablok substituted if the Shapiro-Wilk test on the residuals of a preliminary fit returns p < 0.05, or if more than a stated proportion of observations exceed a pre-specified Cook’s distance threshold. Specifying the rule, the triggering diagnostics and the thresholds in advance keeps the choice pre-specified while allowing it to respond to the data’s actual distributional behaviour.
Handling Heteroscedasticity: The Achilles Heel of Bland-Altman
Bland-Altman analysis (difference plots) is a staple of method comparison. it focuses on the agreement between two methods rather than the mathematical relationship. The method plots the difference between methods (Y_i - X_i) against their average (\frac{Y_i + X_i}{2}).
A limitation of standard Bland-Altman analysis is its assumption of homoscedasticity, that the variance of the differences is constant across the entire measurement range. For the vast majority of IVDs, particularly continuous biosensors and immunoassays, this assumption is completely violated. Analytical imprecision typically scales with analyte concentration.
Consider a continuous glucose monitor evaluated against a laboratory hexokinase reference method. At hypoglycaemic concentrations (e.g., 2.0 \text{ mmol/L}), the absolute difference between methods may be \pm 0.3 \text{ mmol/L}. At hyperglycaemic concentrations (e.g., 20.0 \text{ mmol/L}), the absolute difference may be \pm 3.0 \text{ mmol/L}. If standard Bland-Altman limits of agreement are applied, the limits will be excessively wide at the low end (overestimating clinically acceptable error) and excessively narrow at the high end (masking clinically significant deviation).
Variance-Stabilising Transformations
The traditional regulatory approach to heteroscedastic method comparison data is to apply a variance-stabilising transformation, such as the logarithmic transformation. If the coefficient of variation (CV) is constant, the variance of the differences scales with the square of the mean. A log transformation converts proportional error into additive error.
Logarithmic transformations complicate clinical interpretation.
A Notified Body reviewer assessing a BGM against ISO 15197:2013 criteria needs to evaluate error in clinically meaningful units (mg/dL or mmol/L), not in log-transformed space. Back-transforming Bland-Altman limits from log space yields geometric means and ratios, which are frequently misinterpreted by clinical reviewers.
Weighted Deming Regression and Percentage Error
For heteroscedastic data where transformation is undesirable, Weighted Deming Regression is the mathematically rigorous solution provided a reliable variance function is available. Instead of a constant variance ratio \lambda, the weights are allowed to vary across the concentration range. The variance of the measurement error is modelled as a function of the analyte concentration.
A common model for the variance function in IVDs is a power function:
\sigma^2 (X) = a + b X^cWhere c determines the relationship between concentration and variance.
By estimating this function (often via replicates at specific concentration levels), the Deming regression can be weighted inversely proportional to the variance at each point. This helps to prevent high-concentration points with inherently larger absolute variance from unduly influencing the estimates of the slope and intercept.
Both the variance ratio \lambda and the variance function \sigma^2(X) require replicate measurements distributed across the AMR. This is a design commitment rather than an analysis choice. The precision study (CLSI EP05) and the method comparison must be planned together. The number of concentration levels and the replicates per level should be specified in the SAP and protocol. A study designed around single measurements of patient samples cannot support weighted Deming retrospectively.
Regulatory standards like ISO 15197 explicitly define acceptable error as a combination of absolute and relative criteria (e.g., \pm 15 \text{ mg/dL} for glucose < 100 \text{ mg/dL}, and \pm 15\% for glucose \ge 100 \text{ mg/dL}). The statistical evaluation of method comparison data against such criteria requires the calculation of Parkes Error Grids or Surveillance Error Grids, which map the clinical risk of the observed differences. The biostatistician must integrate the outputs of the method comparison regression (bias and imprecision estimates) into these clinical risk frameworks to satisfy IVDR requirements for analytical performance.
The Total Analytical Error (TAE) Framework
Under IVDR Annex I, Section 9.1(a) manufacturers must specify and justify analytical performance characteristics. These include trueness (bias), precision (imprecision), and accuracy. Separately, Section 9.3 establishes metrological traceability requirements, which lean toward the ISO/GUM measurement-uncertainty approach. While the regulation does not prescribe a single consolidated metric, in clinical-chemistry practice, these components are frequently combined into the Total Analytical Error (TAE) framework (formalised in CLSI EP21), which reflects the maximum expected error of a single measurement. A common approximation used in clinical chemistry is the one-sided Westgard model.
The mathematical formulation of this TAE approximation is:
TAE = |\text{Bias}| + 1.65 \times SDOr, utilising the coefficient of variation:
TAE\% = |\text{Bias}\%| + 1.65 \times CV\%The factor 1.65 corresponds to the 95th percentile of a one-sided normal distribution.
While the formula is simple, its application in method comparison is nuanced. The bias is not a single number; it is derived from the method comparison regression. If Deming regression yields a slope \hat{\beta}_1 = 1.05 and an intercept \hat{\beta}_0 = 2.0 \text{ mg/dL}, the bias is concentration-dependent:
\text{Bias}(X) = \beta_0 + (\beta_1 - 1)XSimilarly, the imprecision (SD or CV) is derived from the precision study (CLSI EP05) and is typically heteroscedastic. Therefore, the TAE must be calculated and plotted across the entire AMR. A Notified Body will reject a submission that presents a single TAE value if the device exhibits proportional bias or concentration-dependent imprecision. The biostatistician must generate a TAE plot, overlaying the calculated TAE against the manufacturer’s claimed performance specifications, demonstrating that the upper bound of TAE does not exceed the allowable total error (ATE) at any point in the clinical reportable range.
Advanced Application: Bayesian Hierarchical Models for Multi-Site Validation
While IVDR does not explicitly mandate a specific number of testing sites, analytical performance is expected to capture inter-laboratory variability. Device‑specific standards such as ISO 15197 add concrete requirements (three reagent system lots and three sites). The traditional frequentist approach involves calculating TAE at each site independently and either pooling the data or taking the worst-case scenario.
Pooling the data assumes that inter-site variability is negligible. If inter-site variability is significant (e.g., due to differences in reagent handling, altitude, or operator training), pooling biases the variance estimates. Taking the worst-case site is overly conservative and reduces the statistical power of the validation.
A statistically robust approach is the application of Bayesian Hierarchical Models (also known as multilevel models). This framework allows for the simultaneous estimation of site-specific performance parameters while borrowing strength across sites to stabilise estimates. This approach offers a sophisticated treatment of multi-site variability.
Consider a method comparison study conducted across J sites, with n_j samples per site. The hierarchical model for the method comparison relationship can be formulated as:
Level 1 (Within-Site):
Y_{ij} = \alpha_j + \beta_j X_{ij} + \epsilon_{ij}Level 2 (Between-Site):
\alpha_j \sim N(\mu_\alpha, \tau_\alpha^2)
Where:
- Y_{ij} is the evaluation method result for sample i at site j.
- X_{ij} is the comparator method result.
- \alpha_j and \beta_j are the site-specific intercept and slope.
- \mu_\alpha and \mu_\beta are the global (population-level) intercept and slope.
- \tau_\alpha^2 and \tau_\beta^2 represent the variance of the intercepts and slopes across sites.
A fully specified model employs a bivariate normal distribution with a covariance term to account for the joint relationship between slope and intercept.
Using Markov Chain Monte Carlo (MCMC) methods, as described by Pardo (2023) in the context of Bayesian inference, we can sample from the posterior distributions of these parameters.
The advantage of this approach under IVDR is twofold. First, it provides a formal statistical test for inter-site variability. If the posterior distributions of \tau_\alpha^2 and \tau_\beta^2 are tightly clustered around zero, the manufacturer can statistically justify pooling the data. If they are significantly greater than zero, the hierarchical model naturally accounts for this variability without resorting to worst-case arithmetic. Second, the hierarchical model yields a posterior distribution for the global TAE which incorporates both the within-site analytical uncertainty and the between-site variance. This provides a more robust estimate of analytical performance than traditional frequentist aggregation.
Summary
Method comparison for IVDs under IVDR is not a matter of plotting Y against X and fitting a trendline in Excel. Treatment of measurement error, heteroscedasticity, and multi-site variability are regulatory expectations. The ability to sufficiently defend methods before a Notified Body reviewer is what differentiates a regulatory asset from a procedural bottleneck.
The selection of Deming versus Passing-Bablok regression must be statistically justified based on error distributions and outlier diagnostics. Heteroscedasticity must be addressed, either through variance-stabilising transformations or weighted regression techniques so that Bland-Altman limits of agreement are clinically meaningful across the analytical measurement range. The integration of method comparison data into the Total Analytical Error framework and its extension via Bayesian hierarchical modelling for multi-site studies represents current best practices.
References:
- Bland, J. M., & Altman, D. G. (1986). Statistical methods for assessing agreement between two methods of clinical measurement. The Lancet, *327*(8476), 307-310.
- Clinical and Laboratory Standards Institute. (2014). EP05-A3: Evaluation of precision of quantitative measurement procedures (3rd ed.). CLSI.
- Clinical and Laboratory Standards Institute. (2016). EP21: Evaluation of total analytical error for quantitative medical laboratory measurement procedures (2nd ed.). CLSI.
- Clinical and Laboratory Standards Institute. (2018). EP09c: Measurement procedure comparison and bias estimation using patient samples (3rd ed.). CLSI.
- European Parliament and Council. (2017). Regulation (EU) 2017/746 on in vitro diagnostic medical devices (IVDR). Official Journal of the European Union.
- Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A., & Rubin, D. B. (2013). Bayesian data analysis (3rd ed.). Chapman & Hall/CRC.
- International Organization for Standardization. (2013). ISO 15197:2013 – In vitro diagnostic test systems – Requirements for blood-glucose monitoring systems for self-testing in managing diabetes mellitus. ISO.
- Linnet, K. (1993). Evaluation of regression procedures for methods comparison studies. Clinical Chemistry, *39*(3), 424-432.
- Pardo, S. A. (2023). Statistical methods and analyses for medical devices. Springer.
- Parkes, J. L., Slatin, S. L., Pardo, S., & Ginsberg, B. H. (2000). A new consensus error grid to evaluate the clinical significance of inaccuracies in the measurement of blood glucose. Diabetes Care, *23*(8), 1143-1148.
- Passing, H., & Bablok, W. (1983). A new biometrical procedure for testing the equality of measurements from two different analytical methods. Journal of Clinical Chemistry and Clinical Biochemistry, *21*(11), 709-720.
