Submitted:
11 September 2025
Posted:
12 September 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Methods
2.1. The Two-Class, Binormal ROC Curve Framework
2.2. Box–Cox for Binormal ROC
2.3. Goodness-of-Fit Testing in the Binormal Framework
2.4. The Three-Class, ROC Surface Framework
2.5. Box–Cox for Trinormal ROC Surfaces
2.6. Proposed Trinormal GOF Test
3. Simulation Scenarios and Results
- Scenarios A–C: Skewed and/or mixture distributions. Scenario A combines a gamma distribution for , a two-component normal mixture for , and a shifted normal for , yielding a high empirical VUS around 0.82. Scenario B introduces a lognormal distribution for , a mixture distribution for , and a chi-square plus normal noise for , producing moderate discrimination (empirical VUS ). Scenario C adopts gamma distributions with increasing shape/scale parameters across groups, targeting a VUS of 0.60. At the same time, these are scenarios where the Box–Cox transformation (or the simpler log one) are expected to fail transforming to normality. The proposed GOF test is expected to exhibit some power to reject the trinormal hypothesis even at low to moderate sample sizes.
- Scenarios D–F: Trinormal benchmarks with equal or unequal variances. Scenario D sets means equally spaced at 0, 0.9, and 1.8 with equal unit variance, while Scenarios E and F gradually increase variance heterogeneity across groups, yielding empirical VUS values close to the 0.50 null benchmark. For these scenarios, even the simple log transformation is expected to perform rather well transforming to normality, with the Box–Cox providing optimal results. The test is expected to approximate the nominal size of used throughout.
- Scenarios G–I: Strong departures from normality. Scenario G uses lognormal distributions with scaling factors, leading to pronounced skewness and low empirical VUS (). Scenario H further exaggerates skewness by shifting the lognormal parameters, targeting VUS . Finally, Scenario I combines a lognormal , a normal mixture , and a highly skewed gamma plus normal noise , resulting in the lowest discrimination (VUS ). Naive estimation of VUS based on a trinormal assumption is expected to fail, while the Box–Cox should show robustness and a valid option towards the use of parametric assumptions.
- In Scenarios A–F, the empirical and naive trinormal VUS values are broadly consistent, with differences typically below 0.02. For example, Scenario A yields an empirical VUS of 0.818 and a naive VUS of 0.811, while Scenario D (trinormal null) shows 0.504 vs. 0.511. This suggests that moderate skewness or variance heterogeneity does not strongly bias parametric estimates when sample sizes are large.
- Scenarios G–I demonstrate severe discrepancies. In Scenario G, the empirical VUS is 0.295, but the naive trinormal estimate drops to 0.209, substantially underestimating diagnostic performance. In Scenario H, the empirical VUS is 0.699, yet the naive trinormal VUS falls to 0.427, a striking underestimation. Conversely, in Scenario I, the naive estimate (0.602) vastly overstates the empirical VUS (0.214). These results indicate that naive normal modeling can misrepresent discrimination strength, either attenuating or inflating it, when strong departures from normality or mixture structures are present.
- For scenarios A–C, when the naive trinormal VUS estimate is close to the empirical, no transformation appears to be needed regardless of underlying distributions. Transformations may even distort the true underlying discrimination patterns. A fact which is apparent as the sample size grows larger.
- For scenarios D–F, even if underlying distributions are in fact normal, the naive trinormal VUS estimator will fail if significant scale differences exist between the underlying actually normal distribution. This is a very important finding, given that underlying independent normality of the distributions of the three classes does not ensure accurate estimation of the VUS using the naive trinormal model. Even a simple log transformation will provide the needed normalization to trinormality allowing for the use of the parametric VUS model.
- For scenarios G–I, the Box–Cox behaves very well for moderate sample sizes when differences between empirical and naive trinormal VUS estimates are within the range of (scenario G, underlying lognormal distributions), while the simple log transformation does not provide an adequately accurate result. The proposed GOF test exhibits high power in detecting departures from the trinormal model (especially for scenarios H and I). Even when the underlying distributions are lognormal both transformation choices offer little help. In such cases, resorting to nonparametric methods is recommended.
4. Application: Covid-19 Antibody Data
5. Discussion
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AUC | Area Under Curve |
| FPR | False Positive Rate |
| GOF | Goodness of Fit |
| ROC | Receiver Operating Characteristic |
| TCF | True Class Fraction |
| TPR | True Positive Rate |
| VUS | Volume Under Surface |
Appendix A. R-Code for the Implementation of the Trinormal ROC Model GOF Test Statistic
| library(trinROC) |
| # probit transform for stability |
| probit_transform <- function(p) { |
| p <- min(max(p, 1e-6), 1 - 1e-6) |
| qnorm(p) |
| } |
| # GOF Test for Trinormal VUS |
| gof_test_trinormal <- function(x, y, z, B = 400, boxcox = FALSE) { |
| lambda_opt <- NULL |
| # ---- Optional Box-Cox transformation ---- |
| if (boxcox) { |
| bc <- boxcoxROC(x, y, z, verbose = FALSE) |
| x <- bc$xbc |
| y <- bc$ybc |
| z <- bc$zbc |
| lambda_opt <- bc$lambda # extract optimal lambda |
| } |
| # ---- 1. Nonparametric empirical VUS ---- |
| np_vus <- emp.vus(x, y, z) |
| WN <- probit_transform(np_vus) |
| # ---- 2. Trinormal parametric VUS ---- |
| trin <- trinVUS.test(x, y, z) |
| par_vus <- as.numeric(trin$estimate) |
| WP <- probit_transform(par_vus) |
| # ---- 3. Difference ---- |
| Delta <- WN - WP |
| # ---- 4. Bootstrap variance of Delta ---- |
| boot_deltas <- replicate(B, { |
| xb <- sample(x, length(x), replace = TRUE) |
| yb <- sample(y, length(y), replace = TRUE) |
| zb <- sample(z, length(z), replace = TRUE) |
| npb <- emp.vus(xb, yb, zb) |
| WNb <- probit_transform(npb) |
| tb <- trinVUS.test(xb, yb, zb) |
| parb <- as.numeric(tb$estimate) |
| WPb <- probit_transform(parb) |
| WNb - WPb |
| }) |
| Var_Delta <- var(boot_deltas, na.rm = TRUE) |
| # ---- 5. Test statistic ---- |
| if (Var_Delta <= 0) { |
| D <- NA |
| p_val <- NA |
| } else { |
| D <- abs(Delta) / sqrt(Var_Delta) |
| p_val <- 2 * (1 - pnorm(abs(D))) |
| } |
| list( |
| VUS_nonparam = np_vus, |
| VUS_trinormal = par_vus, |
| WN = WN, WP = WP, |
| Delta = Delta, |
| Var_Delta = Var_Delta, |
| D = D, p_value = p_val, |
| boxcox_used = boxcox, |
| lambda_opt = lambda_opt # return optimal lambda |
| ) |
| } |
References
- Nakas, C.T.; Bantis, L.E.; Gatsonis, C.A. ROC Analysis for Classification and Prediction in Practice, 1st ed.; Chapman and Hall/CRC: Boca Raton, FL, USA, 2023. [Google Scholar] [CrossRef]
- Noll, S.; Furrer, R.; Reiser, B.; Nakas, C.T. Inference in Receiver Operating Characteristic Surface Analysis via a Trinormal Model-Based Testing Approach. Stat 2019, 8, e249. [Google Scholar] [CrossRef]
- Hanley, J.A. The robustness of the “binormal” assumptions used in fitting ROC curves. Med. Decis. Making 1988, 8, 197–203. [Google Scholar] [CrossRef] [PubMed]
- Zou, K.H.; Resnic, F.S.; Talos, I.F.; Goldberg-Zimring, D.; Bhagwat, J.G.; Haker, S.J.; Kikinis, R.; Jolesz, F.A.; Ohno-Machado, L. A global goodness-of-fit test for receiver operating characteristic curve analysis via the bootstrap method. J. Biomed. Inform. 2005, 38, 395–403. [Google Scholar] [CrossRef] [PubMed]
- Zou, K.H.; Hall, W.J. Two transformation models for estimating an ROC curve derived from continuous data. J. Appl. Stat. 2000, 27, 621–631. [Google Scholar] [CrossRef]
- Bantis, L.E.; Brewer, B.; Nakas, C.T.; Reiser, B. Statistical Inference for Box–Cox based Receiver Operating Characteristic Curves. Statistics in Medicine 2024, 43, 6099–6122. [Google Scholar] [CrossRef] [PubMed]
- Bantis, L.E.; Nakas, C.T.; Reiser, B. Construction of confidence regions in the ROC space after the estimation of the optimal Youden index-based cut-off point. Biometrics 2014, 70, 212–223. [Google Scholar] [CrossRef] [PubMed]
- Bantis, L.E.; Nakas, C.T.; Reiser, B. Construction of confidence intervals for the maximum of the Youden index and the corresponding cutoff point of a continuous biomarker. Biometrical J. 2019, 61, 138–156. [Google Scholar] [CrossRef] [PubMed]
- Bantis, L.E.; Nakas, C.T.; Reiser, B. Statistical inference for the difference between two maximized Youden indices obtained from correlated biomarkers. Biometrical J. 2021, 63, 1241–1253. [Google Scholar] [CrossRef] [PubMed]
- Nakas, C.T.; Yiannoutsos, C.T. Ordered multiple-class ROC analysis with continuous measurements. Stat. Med. 2004, 23, 3437–3449. [Google Scholar] [CrossRef] [PubMed]
- Xiong, C.; Van Belle, G.; Miller, J.P.; Morris, J.C. Measuring and estimating diagnostic accuracy when there are three ordinal diagnostic groups. Stat. Med. 2006, 25, 1251–1273. [Google Scholar] [CrossRef] [PubMed]
- Bantis, L.E.; Nakas, C.T.; Reiser, B.; Myall, D.; Dalrymple-Alford, J.C. Construction of joint confidence regions for the optimal true class fractions of ROC surfaces and manifolds. Stat. Methods Med. Res. 2017, 26, 1429–1442. [Google Scholar] [CrossRef] [PubMed]
- Faraggi, D.; Reiser, B. Estimation of the area under the ROC curve. Statist. Med. 2002, 21, 3093–3106. [Google Scholar] [CrossRef] [PubMed]
- Kontopoulou, K.; Ainatzoglou, A.; Ifantidou, A.; Nakas, C.T.; Gkounti, G.; Adamopoulos, V.; Papadopoulos, N.; Papazisis, G. Immunogenicity after the first dose of the BNT162b2 mRNA Covid-19 vaccine: real-world evidence from Greek healthcare workers. J. Med. Microbiol. 2021, 70, 001387. [Google Scholar] [CrossRef] [PubMed]




| Scenario (approximate target empirical VUS) | Empirical VUS | Naive trinormal VUS | |||
|---|---|---|---|---|---|
| A () | 0.818 | 0.811 | |||
| B () | 0.555 | 0.562 | |||
| C () | 0.592 | 0.584 | |||
| D () | 0.504 | 0.511 | |||
| E () | 0.523 | 0.525 | |||
| F () | 0.493 | 0.507 | |||
| G () | 0.295 | 0.209 | |||
| H () | 0.699 | 0.427 | |||
| I () | 0.214 | 0.602 |
| Unbalanced | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Scenario | Box–Cox | Log | None | Box–Cox | Log | None | Box–Cox | Log | None | Box–Cox | Log | None |
| A | 0.020 | 0.022 | 0.019 | 0.053 | 0.079 | 0.049 | 0.096 | 0.205 | 0.065 | 0.046 | 0.072 | 0.039 |
| B | 0.026 | 0.036 | 0.018 | 0.069 | 0.083 | 0.029 | 0.119 | 0.211 | 0.034 | 0.040 | 0.066 | 0.035 |
| C | 0.021 | 0.026 | 0.024 | 0.032 | 0.079 | 0.037 | 0.057 | 0.182 | 0.043 | 0.026 | 0.058 | 0.037 |
| D | 0.026 | 0.024 | 0.033 | 0.026 | 0.041 | 0.034 | 0.038 | 0.047 | 0.041 | 0.027 | 0.028 | 0.037 |
| E | 0.029 | 0.024 | 0.051 | 0.035 | 0.039 | 0.051 | 0.033 | 0.047 | 0.045 | 0.033 | 0.029 | 0.059 |
| F | 0.029 | 0.029 | 0.190 | 0.040 | 0.040 | 0.336 | 0.035 | 0.043 | 0.077 | 0.030 | 0.029 | 0.367 |
| G | 0.345 | 0.345 | 0.500 | 0.034 | 0.355 | 0.655 | 0.042 | 0.042 | 0.553 | 0.353 | 0.347 | 0.680 |
| H | 0.504 | 0.509 | 0.716 | 0.514 | 0.520 | 0.945 | 0.523 | 0.523 | 0.999 | 0.511 | 0.510 | 0.978 |
| I | 0.992 | 0.996 | 0.994 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| Case | VUS empirical | VUS trinormal | D | p-value |
|---|---|---|---|---|
| None | 0.335 | 0.180 | 3.865 | 1.11e-04 |
| Log | 0.335 | 0.295 | 2.254 | 0.024 |
| Box–Cox | 0.335 | 0.306 | 1.674 | 0.094 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).