Abstract
Accurate classifiers that utilize novel biomarkers and readily available predictors significantly enhance decision-making in various clinical scenarios, such as assessing the need for biopsies in cancer diagnosis. When classification performance is limited, a decision framework can be applied to rule in or rule out invasive diagnostic procedures while incorporating a neutral zone for indeterminate classifications. Building on this framework, we propose a new family of two-step classifiers that selectively employ costly biomarker testing for a targeted subset of individuals undergoing multiple evaluations. The optimal solution expands upon the Neyman-Pearson Lemma, highlighting a vital trade-off between the costs of expensive biomarker measurements and improving classification performance while minimizing uncertainty in the decision process. We demonstrate the practical utility of our approach through a biomarker study focused on prostate cancer diagnosis.
Keywords: biomarker, classification, Neyman-Pearson Lemma, conformal prediction, sequential testing
1. Introduction
Using classifiers built upon emerging biomarkers and existing clinical predictors, medical tests can improve clinical decisions with better stratification. For example, in the setting of prostate cancer diagnosis, patients are recommended for invasive biopsy if they are identified as being at high risk of having clinically significant cancer and otherwise are recommended to forgo biopsy. However, clinical classifiers are often imperfect, rendering two types of misclassification errors with different clinical consequences. The false negatives may result in skipping biopsies for patients harboring clinically significant diseases. The false positives will lead to overtesting healthy individuals with invasive and unnecessary procedures. Therefore, decision-making must control the false negative rate (FNR) and the false positive rate (FPR) at clinically acceptable levels.
Recently, a new family of classifiers has emerged, known as classification with confidence (Lei, 2014), neutral zone classifiers (Jeske and Smith, 2018; Jeske et al., 2020), or set-valued classifiers with bounded error rates (Sadinle et al., 2019). We refer to this family of models as error-controlling classifiers, which aim to control the FNR and the FPR simultaneously at predefined levels, denoted as and , respectively. Due to their typically suboptimal performance, these classifiers achieve this goal by confidently classifying clear-cut cases while leaving ambiguous cases in a “neutral zone” without making a decision. The proportion of unclassified cases is called the neutral zone rate (NZR), a key metric of the classifier’s performance. A better classifier should have a smaller NZR for a given pair of and , leaving fewer cases unclassified. For example, Tosoian et al. (2023) constructed an error-controlling classifier for prostate cancer diagnosis by establishing low-risk and high-risk cutoffs for a risk score called MyProstateScore (MPS) at = 0.1 and = 0.2, respectively. They suggested that individuals with MPS above the high-risk cutoff (or below the low-risk cutoff) could confidently proceed to (or forgo) biopsy.
Emerging biomarkers are opening up new opportunities for more accurate disease detection. For instance, Tosoian et al. (2024) demonstrated that the Prostate Cancer Prevention Trial risk score (PCPTrs), a widely used model based on commonly available clinical variables, achieves an 80% FPR at a 5% FNR for detecting clinically significant prostate cancer. However, when novel biomarkers are incorporated, the FPR is reduced to 63%, while maintaining the same 5% FNR. This improvement is promising but introduces additional biomarker testing, increasing the diagnostic burden and the associated costs. Such development raises important questions: Is it always necessary to conduct every available test for each individual? How can we construct diagnostic strategies to optimize performance while controlling errors and reducing cost and test burden?
To address these questions, we propose a new family of two-step error-controlling classifiers (TECs), formally described in Section 2. The two-step approach begins with a base model (e.g., PCPTrs) that classifies straightforward cases using readily available clinical data. For cases in the neutral zone, additional and potentially more costly information, such as genetic biomarkers from urine samples, is incorporated in an augmented model in the second step to refine the classification. By strategically allocating the error budget (i.e., and ) between the two steps, this approach ensures efficient use of resources while maintaining performance and controlling errors. Although this paper focuses on two-step classifiers, the methodology is flexible and can be extended to multi-step classifiers for even more complex diagnostic scenarios.
Cost-effective strategies for sequential medical testing have been previously studied. For example, Jeske et al. (2020) proposed a two-stage classifier that balances the overall error rate against the cost of expensive biomarkers, while other approaches optimize weighted overall error rates or the Generalized Youden Index (Ahmed et al., 2011). Our work extends the existing sequential testing literature in two key aspects. First, we explicitly control both the FPR and the FNR in the constraints along with the objective functions, allowing alignment with application-specific clinical priorities. Second, rather than enforcing a deterministic binary decision at the final stage, our approach permits a nonzero NZR at the last step and incorporates it directly into the dual objective functions.
The paper is organized as follows. In Section 2, we formally introduce the TEC framework. Section 3 discusses key properties of the TEC. The estimation and inference procedures are outlined in Section 4, followed by simulation studies in Section 5. We apply the TEC to the motivating example of prostate cancer diagnosis in Section 6. Finally, we conclude with a discussion in Section 7.
2. Framework
2.1. Review of Error-controlling Framework
Let be the binary disease status and the classifier, a function of the covariates . Specifically, . indicates a definitive classification that recommends aggressive or conservative medical intervention based on , respectively. A particular output in this framework is , meaning no definitive classification or specific recommendation is given based on . The goal of such classifiers is to find to minimize , the NZR, under the error constraints:
We set and to be small values to reflect the low tolerance levels of making false negative and false positive errors, respectively, for high-stakes decision-making. That is, we consider the scenario that given prespecified small values of and .
For the optimality in achieving the goal of minimizing NZR, Lei (2014) gave the following lemma.
Lemma 1. With and , the solution to is
where and are chosen such that and .
This lemma can be seen as an extension of the result on the binary classification problem with a single error constraint, such as maximizing true positive rate (TPR) under a specific FPR constraint (McIntosh and Pepe, 2002). These optimality results, including those introduced in the later sections, can be seen as extensions of the Neyman-Pearson Lemma to the settings in classification.
In practice, the true conditional probability or the true risk is unknown. We can use an estimated risk or a univariate risk score with larger values indicative of . To construct a , we may choose , for , based on the quantiles of among individuals. This construction procedure is used twice in the two-step extension described in the next subsection.
The minimization of NZR as the objective may be less apparent than standard problems, such as maximizing the percentage of unnecessary biopsy avoided (1-FPR) at a maximally tolerated percentage of true aggressive cancers missed (FNR). We note that under the error constraints on FPR and FNR, the classifier minimizing the NZR is also the classifier maximizing the correct classification rate (CCR), or . For example, the ideal classifier in a prostate cancer diagnosis setting only correctly recommends invasive biopsy for all individuals with high-grade cancer and correctly avoids any unnecessary biopsy. Among classifiers that yield specific low rates of missing aggressive cancer and unnecessary biopsies, a better classifier should make a larger proportion of correct recommendations or leave a smaller proportion of unclassified. This interpretation is summarized as Lemma 2.
Lemma 2. With and ,
This equivalence is evident from the following equation:
To conclude this subsection and familiarize readers with the error-controlling framework and the goal of minimizing NZR, we visualize the error-controlling classifier in the standard receiver operating characteristic (ROC) space as in Figure 1. Suppose we set = 0.2 and = 0.1, represented by a cross at (0.2, 0.9) in the ROC space. The ROC curve of a risk score, , is far below (0.2, 0.9), but we may choose two cutoffs, and , to meet the error tolerance levels. The two cutoffs are determined by and respectively, which result in corresponding (i.e., FNR at ) and (i.e., FPR at ), respectively. The NZR is a weighted sum of the length of the two colored dashed lines in the ROC plot:
Figure 1:

Visualization of an error-controlling classifier
Notice that if the ROC curve of a risk score dominates another ROC curve, the superiority of this risk score is reflected by a smaller NZR due to shorter lengths of the two colored lines.
2.2. Two-step Error-controlling Classifiers (TEC)
In this extension, we consider a situation where is partitioned into two parts with being the baseline and routinely collected predictors (e.g., age) and being the novel and expensive biomarkers. To stratify patients, we have a baseline risk score as a function of and an augmented risk score including both and . In the motivated example of prostate cancer diagnosis: is the PCPTrs using routinely available clinical information, and we may only collect , additional novel markers, to form an augmented in a subset of individuals for cost-effective diagnostic strategies. Within the error-controlling framework, one strategy is to construct a family of classifiers in two steps as follows, which is referred to as the Two-step Error-controlling Classifier (TEC).
The first step is to construct an error-controlling classifier based on with a set of and . The neutral zone from the first step is . In the second step, for these individuals in , is collected, and another error-controlling classifier is constructed with given a set of and . The final neutral zone after the two steps is . That is, the TEC takes the following form:
Within the error-controlling framework, we need to ensure that overall and are maintained after the two steps. To achieve this, we propose to control how much of the error budget is spent in each step. Specifically, for class , we choose and as
where controls how much the error budget is spent in the first step. Note that we consider to be the same for both errors, and one may generalize it to class-specific . This error budgeting scheme is analogous to alpha allocation in clinical trials with hypothesis testing on co-primary endpoints. In Section 4, we show that an estimation procedure based on this error budgeting scheme achieves the overall error control (Theorem 2).
We may pre-specify or determine based on the observed data. One may argue that we should spend less on the error budget in the first step (i.e., < 0.5) when the information from may potentially avoid errors. In other words, the error-tolerance levels in the first step should be much more stringent if the definite classification is made without . Hence, may be chosen a priori based on this interpretation. Alternatively, we may choose based on a trade-off between the operating characteristics as described in the next section.
With this budgeting scheme indexed by , the four cutoffs are
where , are the cumulative distribution functions (CDFs) of given = 1, 0, respectively; , are the CDFs of given and = 1, 0, respectively. Hereinafter, we assume that and are continuous, so the CDFs are strictly increasing and the cutoffs are unique. We also denote , , and as the corresponding density functions. When the CDFs are unknown, we describe the corresponding finite sample algorithm for error-controlling in Section 4 after discussing the operating characteristics and properties in the next section.
3. Properties of the TEC
3.1. Optimality
The operating characteristics of the TEC have two parameters: (1) the NZR after the first step, ; (2) the NZR after the second step, . Both and are the minimization goals of the TEC. is also the proportion of individuals in need of measuring , and we would like to minimize this proportion to reduce cost and test burden; represents the overall performance after the two-step, as in the regular error-controlling classifiers.
The following theorem can be viewed as an extension of Lemma 1 and is proved in Appendix A.
Theorem 1. Given , and , the TEC constructed based on the true risk models and minimizes and .
Theorem 1 has a practical implication: one should not discard the information of in the second step. That is, we should use the augmented risk score instead of in the second step. On the contrary, in some literature on sequential testing (e.g., Ahmed et al., 2011), the subsequent test ignores the existing baseline information, which is likely sub-optimal although it avoids additional modeling efforts of constructing . We illustrate this implication of Theorem 1 using the data example in Section 6.
3.2. Trade-off between and
For the goal of minimizing both and , there is a trade-off that is driven by . We demonstrate this -driven trade-off using a numerical example. In this numerical example, the data are generated as follows , , , ; we aim to construct a TEC with and at = 0.1 and = 0.2. The smaller value of corresponds to less tolerance for making false negative errors. The trade-off in TEC is visualized in Figure 2. In Figure 2(a), we plot and as functions of to highlight the s-driven nature of the trade-off.
Figure 2:

An example to demonstrate the trade-off
The two horizontal lines in Figure 2(a) represent the NZR of the two single-step error-controlling classifiers based on and , denoted as and respectively. On one extreme, when no error budget is spent in the first step (i.e., = 0) and , the TEC reduces to the single-step classifier based on with = 1 and . On the other extreme, when all the error budget is spent in the first step (i.e., = 1) and , the TEC reduces to the single-step classifier based on with . The behavior of as a function of can be summarized in the following lemma.
Lemma 3. (Part A) is a decreasing function of with and ; (Part B) if the density ratio, , is increasing, decreases at decreasing rates.
In Appendix B, we prove Lemma 3 for the behavior of by differentiating with respect to once and twice, which will result in expressions involving density functions of among = 1 or = 0 (i.e., or ) respectively). The increasing density ratio, equivalently concavity of the ROC curve, is relatively mild, assuming the higher values of are indicative of disease.
To study the behavior of , we note that . From Figure 2(a), we conjecture that is increasing in with increasing rate under some conditions. However, the required conditions are not straightforward and may not be interpretable. We could formally analyze the behavior of by differentiation. The first derivative of has many terms, which involve the joint densities of and among = 1 or 0 in addition to the marginal densities. The second derivative is only more complicated.
Through simulations in Appendix C, the minimal conditions should be weaker than the requirement of using true risk models for constructing the TEC. The key condition seems to lay in the nested structure of and , and the latter utilizes the additional information from on top of . Such nested structure is also recommended by the implication of Theorem 1 thus the increasing behavior is typical. In practice, we may empirically examine the behavior by plotting the estimated against .
The behaviors of and may suggest a potential cost-effective trade-off for some small . As seen in Figure 2(a), at = 0.4, the has minimally increased from but decreases from 1 to about 0.6, which suggests that we save about 40% cost of measuring but minimally impact the performance of the TEC as measured in . The real data example in Section 6 also demonstrates the cost-effective opportunity in the trade-off.
To emphasize the trade-off of the two minimization goals, we can visualize the TEC by plotting against as in Figure 2(b). The bottom right segments of the curve suggest that if we have a budget of measuring (i.e., ), the TEC can minimally sacrifice its performance (i.e., ) and save some costs of collecting (i.e., ). For interested readers, we note a corresponding optimality result as the parameter s becomes implicit in Figure 2(b):
Corollary 1.
Given , and , the TEC constructed based on and minimizes .
In Appendix D, we provide a proof of Corollary 1 as a consequence of Theorem 1 and Lemma 3.A. Due to Corollary 1, the curve of TEC based on the true risk models in Figure 2(b) becomes the Pareto curve in the view of multi-objective optimization (Boyd and Vandenberghe, 2004, Chapter 4). The optimality of the Pareto curve indicates that a TEC based on to achieve small on the bottom-left side of the curve is unachievable and any TEC based on with on the top-right side of the curve is suboptimal.
In practice, a TEC is derived based on working models for and . The optimality results imply that model misspecification may lead to a loss of performance of the resulting classifier. Consequently, a key step is to appropriately incorporate when constructing a well-calibrated estimate of . Standard model diagnostic procedures may be employed to improve the aptness of a parametric regression model, or alternatively, flexible nonlinear approaches, such as random forest or neural network, may be used to enhance the fit of a working model.
The cost-effective trade-off is further governed by the incremental value of beyond in the effect of . Within the TEC framework, this incremental value is quantified by the difference in NZRs between the two single-step classifiers, . In Appendix E, we present a numerical example in which is associated with only weakly, yielding limited improvement in decisiveness. We therefore recommend computing both and first to assess the potential maximal gain from measuring before deriving the TEC.
4. Estimation and Inference
To avoid overfitting of the classifiers, we assume and are estimated from a separate data set as in the motivating example. Thus, we focus on identifying the four cutoffs in the TEC and the inference of and when the dataset consists of independent and identically distributed (i.i.d.) random vectors . In the context of error-controlling classifiers, it is known as sample-splitting-based robust error control in a general framework of conformal prediction (Lei, 2014; Lei et al., 2018; Angelopoulos and Bates, 2023).
4.1. Estimation
Given the risk scores, the four cutoffs (i.e., for = 1, 2 and ) are the population quantiles dependent on and apparent estimators for these cutoffs are the sample quantiles, based on the empirical CDF or some other variations of sample quantiles (Hyndman and Fan, 1996).
In the context of the TEC where the error control is a focus, following Lei (2014), we add extra care and consider the following estimation procedure (Algorithm 1) to identify the four cutoffs, , for the TEC from a dataset with a finite sample size of . Algorithm 1 ensures that as a target user for the TEC, a new patient with the risk scores and receives a classification and the errors of are controlled on average. This is the idea of coverage guarantee in the conformal prediction and we refer to Angelopoulos and Bates (2023) for an introduction to this line of research.
Formally, the property of the TEC based on Algorithm 1 is characterized by the following theorem:
| Algorithm 1 Estimating t(j)k | |
|---|---|
|
|
Theorem 2. Suppose and a new data point are i.i.d. data points. Construct the TEC from Algorithm 1. is the classification from the TEC based on . Then, for ,
where .
See Appendix F for a proof of Theorem 2. In words, due to the floor function applied to the budgets and asymmetry between = 1 and = 0 in selecting cutoffs from ranked samples, the cutoffs identified from Algorithm 1 tend to be conservative with some small sample sizes which guarantee the errors are bounded below the prespecified levels on average. In addition to this desired error-controlling property, Algorithm 1 conceptually highlights the idea of error budget spending by splitting the total budget of into and .
Alternatively, the apparent approach of estimating the cutoffs is based on sample quantiles, which has two disadvantages. First, the cutoffs based on empirical CDF (or other variants such as the ones implemented in in the R package) as the sample quantiles for , , may result in FNR and FPR not being controlled on average. Note that for the first step, controls FNR at but cannot control FPR at where and are the empirical CDF of and respectively. For the second step, because and are the CDFs conditional on (thus depends on ), the sample-quantile-based cutoffs of the second step depend on the estimated neutral zone from the first step and its rate (i.e., ). In contrast, Algorithm 1 circumvents estimating by directly dealing with the budget and bounds the errors without being overly conservative. In Section 5, we demonstrate the differences between the apparent approach and Algorithm 1 in a simulation study.
4.2. Inference
With obtained from the above algorithm, the natural estimator for is the empirical proportions:
The asymptotic normality of and can be established via the standard estimating equation methodology. Due to the estimation of , the asymptotic variances of and include terms involving density functions of and . These density functions are typically unknown in practice, and density estimations are often challenging, especially in the tails of distributions. This problem is analogous to the asymptotic variance of TPR at an estimated cutoff corresponding to a fixed FPR in a standard ROC analysis. Like the standard ROC analysis, we deploy a resampling method to approximate the variances (Zhou and Qin, 2005).
If is selected graphically to balance the trade-off, we suggest only considering in a coarse grid of size ; for example, consider with = 9. The reasons for this suggestion are twofold. First, in each finite sample, and are not monotone in even if the average of these quantities from the repeats of many finite samples is monotone (see Figure 6 and Figure 7 in Appendix C). Considering a continuous or having a fine grid shows these jumps increase the chance of seeking a trade-off between and only specific to a particular dataset. Second, due to the dependence on resampling for the pointwise confidence interval, the typical numerical approximation of a simultaneous confidence band based on a fine grid can be computationally intensive.
With the restriction on a small number of discrete points , we consider a resampling-based method, described as Algorithm 2 in Appendix G, to approximate confidence intervals or bands of and . Montiel Olea and Plagborg-Møller (2019) provided a justification for the confidence band approximation. Note that to account for the variability from estimating the cutoffs, Algorithm 1 is applied to each resampled data set. In Section 5, we use simulation to demonstrate the finite sample coverage.
5. Simulation
We conduct a simulation study to demonstrate the algorithms to construct and evaluate the TEC. The binary disease status is generated with probability where , , and . We consider the risk scores , , and the two error constraints , . We generate 5000 random data sets for a sample size () from 400 to 8000.
To illustrate Algorithm 1 for controlling FPR at 0.1 and FNR at 0.2, we additionally generate large data sets for a sample size of 100, 000 for error rate evaluation given the identified cutoffs. The average of FNR and FPR over 5000 data sets at = 0.2 are summarized in Figure 3. As expected from Theorem 2, FNR and FPR are conservatively controlled below the desired levels by Algorithm 1 in finite sample sizes, and as sample sizes increase, FNR and FPR approach and , respectively. For comparison, we use the sample quantile estimates , , , for the cutoffs. We consider the default quantile estimator in R and the inverse of the empirical CDF. As these quantile estimators are not designed for the TEC, the error rates are not controlled at finite samples, although the excess errors become negligible in a large sample. Algorithm 1 circumvents estimating and for identifying the cutoffs, and the resulting FNR and FPR are closer to and at different sample sizes, compared with the sample-quantile-based cutoffs.
Figure 3:

Algorithm 1 controls FNR or FPR at and in finite samples, respectively
We investigate the validity of the resampling-based procedure described as Algorithm 2. For each sample size, the true values of are approximated as the average of over 5000 simulation runs. The coverage probabilities are the proportions of the intervals in each run containing the true values. We use 1000 bootstrap samples.
Figure 4 summarizes the results of the coverage of the resampling-based 95% confidence interval of at each and the joint 95% confidence bands across . The coverage probabilities of are close to the nominal 95% except for at = 400. With the small amount of error budget spent in the first step, the cutoffs are on the extreme tails of and is closer to the boundary = 1. The coverage is closer to the nominal for larger sample sizes (n=600, 1000 or above). Overall, the confidence bands are conservative for the sample size commonly encountered in practice. Only for a very large sample size (n=8000), the coverage probabilities of confidence bands are about nominal.
Figure 4:

Resampling-based confidence interval/band for and
6. Data Example
We applied the proposed TEC procedure to the PCA3 Evaluation Trial from the National Cancer Institute Early Detection Research Network (NCI-EDRN) (Wei et al., 2014). The study consists of 743 participants entering the study with signs of an elevated risk of prostate cancer. All participants subsequently received a diagnostic biopsy. The binary outcome is high-grade cancer in the biopsy, i.e., = 1 if the Gleason score is greater than 6. Of 743 participants, 151 were diagnosed with high-grade prostate cancer. In this setting, due to the invasive nature of the prostate cancer diagnostic biopsy, novel biomarker tests are needed to decide whether a diagnostic biopsy should be recommended. Following Tosoian et al. (2023), we consider = 0.1 for ruling out a biopsy so that no more than 10% of high-grade prostate cancer is missed; we set = 0.2 for ruling in a biopsy so that no more than 20% of unnecessary biopsies are recommended. Given = 0.1 and = 0.2, we seek a classifier that makes as many correct recommendations as possible, leaving the fewest individuals without a recommendation. The competing classifiers are based on three risk scores described in Tomlins et al. (2016): is the Prostate Cancer Prevention Trial risk score (Thompson et al., 2006), with consisting of routinely collected covariates including serum prostate-specific antigen (PSA), age, digital rectal examination status, African American race, and history of previous negative biopsy. is the MPS score, where consists of serum PSA and two gene expression signatures in a participant’s urine sample, namely TMPRSS2-ERG and PCA3. is a set of covariates that are the union of variables in and , and is obtained by fitting a logistic regression model (Tomlins et al., 2016).
We want to utilize in the first step to triage patients for biopsy decisions, and in the second step, using more expensive biomarkers on those patients for whom a decision could not be reached in the first step. To illustrate the practical implication of Theorem 1, we also consider in the second step. Since uses only a subset of , we expect the TEC with in the second step to be superior to that with in the second step.
The trade-off between and is visualized in Figure 5. As expected from Theorem 1, the from the TEC with in the second step is smaller than the from the TEC with in the second step. At = 0.4, the trade-off between and seems attractive: a minimal increase in exchanges for a meaningful reduction in . We further summarize the related metrics with their 95% CI for the two TECs at = 0.4 in Table 1. For comparison, we also include the single-step error-controlling classifiers using , , and . The cutoffs for all the classifiers are listed in Appendix H.
Figure 5:

The trade-off between and in the Example. At = 0.4, the TEC with in the second step results in a of 0.74, a of 0.39, represented by the solid triangle and the solid circle, respectively
Table 1:
Summaries of different error-controlling classifiers at = 0.4
| single-step | 0.1 | 0.2 | NA | 0.49(0.42,0.56) | 0.33(0.22,0.43) | |
| 0.1 | 0.2 | NA | 0.38(0.31,0.46) | 0.44(0.34,0.54) | ||
| 0.1 | 0.2 | NA | 0.44(0.37,0.51) | 0.38(0.29,0.47) | ||
| two-step ( = 0.4) | then | 0.1 | 0.2 | 0.74(0.69,0.78) | 0.39(0.33,0.46) | 0.43(0.35,0.5) |
| then | 0.1 | 0.2 | 0.74(0.69,0.78) | 0.42(0.36,0.49) | 0.40(0.32,0.47) |
For the single-step classifiers, is not applicable (NA); the overall is displayed in the column
The single-step classifier based on has the lowest overall of 0.38 and the highest CCR of 0.44 among all the competing classifiers, as expected. That is, with and controlled at 0.1 and 0.2, respectively, the single-step classifier based on can make correct biopsy recommendations for 44% of individuals while leaving 38% unclassified. At = 0.4, the TEC with in the second step, then , results in a of 0.74, a of 0.39, and a of 0.43. This suggests that, in comparison with the existing single-step classifier, using the proposed TEC may save 26% of the cost of measuring the expensive biomarkers while maintaining comparable performance in and at the desired level for and .
7. Discussion
We consider constructing a classifier for medical decision-making under an error-controlling framework. Unlike the common binary classification problem, our method features a neutral zone for uncertain or borderline cases. Leaving patients in the neutral zone without a definite recommendation from a classifier may seem unsatisfactory. However, it is a proactive way to keep humans in the loop for decision-making and encourage further information collection, particularly for these ambiguous cases. By allowing the classifier to abstain from making recommendation when the confidence level is insufficient, we may improve overall decision-making accuracy. The idea has been naturally deployed in clinical research but has not been formally adapted for multi-step classification in the statistical literature. We outline a procedure for more rigorous practical implementation and show that the cost-effective trade-off between and makes this two-step extension particularly attractive.
The diagnostic literature has explored an alternative framework involving a neutral zone. Pepe et al. (2008) considered constructing a classifier with a neutral zone using absolute risks at low and high cutoffs. They hypothesized that a cutoff at 20% absolute risk for high-grade prostate cancer could guide biopsy recommendations, while a risk at 2% absolute risk would be low enough to forgo a biopsy. This neutral zone approach can be visualized through the predictiveness curve, which plots the estimated absolute risks against their percentiles. However, the approach relies on a well-calibrated risk prediction model, which may not always be available. Furthermore, determining the neutral zone cutoffs on the absolute risk scale requires a cost-benefit justification or assigned costs that are not straightforward in a single-step scenario (Amirou et al., 2014; Dubos et al., 2016), and it is additionally challenging to extend cost assignment to a multi-step scenario. An alternative family of classifiers based on these assigned costs is often called classification with rejection options (Yuan and Wegkamp, 2010). Such classifiers do not necessarily control the error rate at prespecified levels (Lei, 2014). Consequently, while classifiers with rejection options can be useful in certain contexts, they may not be suitable when precise error control is required.
Outside of the error-controlling framework, alternative strategies for sequential medical testing pursue different optimization objectives. For instance, Jeske et al. (2020) proposed a two-stage classifier designed to balance the overall error rate against the cost associated with expensive biomarkers. Another approach considers a weighted overall error rate or Generalized Youden Index as the primary optimization metric (Ahmed et al., 2011). A key distinction is that while these sequential strategies yield a definitive classification, their resulting FPR and FNR are not explicitly controlled. Nevertheless, the trade-off dynamics characterized in the TEC may be applicable to these alternative sequential testing approaches, an area that merits further research.
Acknowledgments
The work is supported by grants R01 CA236558, U24 CA288285, and U24 CA086368 awarded by the National Institutes of Health. The authors also thank the anonymous referee and the Associate Editor for their constructive comments, which helped improve the quality and clarity of the manuscript.
A. Proof of Theorem 1
A simple proof of Theorem 1 builds on Lemma 1. We leverage Lemma 1 in each of the two steps to establish the desired result. In the first step, given and minimizes . In the second step, we may apply Lemma 1 again among the sub-population in to conclude that minimizes given and . We reach the conclusion by noting that and .
B. Proof of Lemma 3
We want to verify the signs of the first and the second derivatives of . That is, and . First note that and . Differentiate and :
We note by plugging in and :
where for is the marginal density of ; and is the density ratio. If we assume a increasing density ratio (i.e., ), we can verify that :
| (1) |
C. Behavior of
We provide a simulation to demonstrate the heuristic argument given in the main text.
Using simulation, we demonstrate tends to be an increasing function if includes all the information of .
The binary disease status is generated with probability where , , and . Let the two error constraints = 0.1, = 0.2. We consider in the first step, and the true model and two wrong models in the second step. Model misspecifies the functional form of to be in a logistic regression model. Model omits . In each simulated replicate, we fit the logistic regression models with a sample size of 1000 and evaluate the with a new data set with the same sample size. On average, and .
The average of over 1000 simulation replicates is summarized in Figure 6. Note that from both and are increasing functions of at increasing rates, suggesting that the true risk model is not a necessary condition. from is not a increasing function. This observation hints that some notions of nested information structure may play a role. One may make a heuristic argument for this condition: the increasing s results in informative from a larger proportion of patients being incorporated in the TEC, hence a better performance of the TEC and a smaller .
Figure 6:

Behavior of
We also present based on from one replicate in Figure 7. Note that on average, estimated from a finite sample is an increasing function as seen in Figure 6 but one realization of empirical may display some random variability which seems not increasing in some local points (e.g., between = 0.1 and = 0.3 in Figure 7). Therefore, to avoid confusion in practice, we suggest only plot in a coarse grid such as () instead of ().
Figure 7:

Random variability in behavior of
D. Proof of Corollary 1
Lemma 3.A shows a one-to-one correspondence between and for any used in the first step. If we choose for the first step, there is a fixed s for a given . With the fixed , Theorem 1 says that the TEC based on and minimizes .
E. Additional numerical examples on the trade-off
To complement the analysis in the main text, we present additional numerical examples demonstrating the impact of the incremental predictive value of . The numerical example described in Section 3.2 represents a scenario where the novel biomarker provides a strong incremental value. For comparison, we generate a scenario characterized by weak incremental value, defined as follows: with and . The true risk is given by . We construct a TEC using the risk scores and , with error control parameters set to = 0.1 and = 0.2.
Table 2:
Summaries for novel biomarkers with strong and week incremental values.
| Scenario | |||||
|---|---|---|---|---|---|
| strong | 0.326 | 0.226 | 0.100 | 0.615 | 0.234 |
| weak | 0.251 | 0.241 | 0.010 | 0.542 | 0.241 |
The comparative results are summarized in Table 2. For the novel biomarker with a strong incremental value, the full incremental value, namely, , is 0.1. Reducing the proportion of unclassified individuals by this magnitude justifies the adoption of the two-step extension. Specifically, at = 0.4, the method achieves a NZR of 0.234 (down from 0.326). This improvement is clinically meaningful, while avoiding the cost of the novel biomarker for = 38.5% of the population.
Conversely, in the scenario of weak incremental value, measuring for 100% of the population yields a maximal NZR reduction of only 0.010 (from 0.251 to 0.241). This marginal gain suggests that the additional complexity and cost of the second step are unwarranted. In such cases, a simpler error-controlling classifier based solely on is preferable, as it avoids the costs associated with entirely without significantly sacrificing classification performance.
This comparison highlights that the cost-effective trade-off offered by the TEC is built on the existence of a meaningful incremental value of over .
F. Proof of Theorem 2
We present the proof for = 1 (i.e., controlling FNR). The proof for = 0 is similar. We expand the notations for the rank samples: and . Because of , and are i.i.d., we have
for any integer within the ranges. This is known as exchangeability in the conformal prediction literature.
Note that the event consists of two mutually exclusive events: and , thus we have:
For the lower bound of , we utilize the relationship between the floor function and the ceiling function for any positive number . Thus, is a lower bound.
G. Resampling-based inference
| Algorithm 2 Resampling-based confidence interval/band for | |
|---|---|
|
|
H. Cutoffs in the data example
Table 3:
Cutoffs for the single-step classifiers and the two-step classifiers (at = 0.4)
| single-step | 0.140 | 0.214 | |||||
| 0.099 | 0.259 | ||||||
| 0.100 | 0.276 | ||||||
| two-step ( = 0.4) | then | 0.132 | 0.319 | 0.085 | 0.274 | ||
| then | 0.132 | 0.319 | 0.090 | 0.311 |
The risk scores are described in Tomlins et al. (2016)
References
- Ahmed AE, McClish DK, and Schubert CM (2011). Accuracy and cost comparison in medical testing using sequential testing strategies. Statistics in medicine, 30(29):3416–3430. [DOI] [PubMed] [Google Scholar]
- Amirou A, Abdeslam DO, Zidelmala Z, Aidene M, and Merckle J (2014). Optimizing the classification cost using svms with a double hinge loss. Informatica, 38(2):125–133. [Google Scholar]
- Angelopoulos AN and Bates S (2023). Conformal prediction: A gentle introduction. Foundations and Trends® in Machine Learning, 16(4):494–591. [Google Scholar]
- Boyd SP and Vandenberghe L (2004). Convex optimization. Cambridge university press. [Google Scholar]
- Dubos C, Bernard S, Adam S, and Sabourin R (2016). Roc-based cost-sensitive classification with a reject option. In 2016 23rd International Conference on Pattern Recognition (ICPR), pages 3320–3325. IEEE. [Google Scholar]
- Hyndman RJ and Fan Y (1996). Sample quantiles in statistical packages. The American Statistician, 50(4):361–365. [Google Scholar]
- Jeske DR and Smith S (2018). Maximizing the usefulness of statistical classifiers for two populations with illustrative applications. Statistical methods in medical research, 27(8):2344–2358. [DOI] [PubMed] [Google Scholar]
- Jeske DR, Zhang Z, and Smith S (2020). Construction, visualization and application of neutral zone classifiers. Statistical methods in medical research, 29(5):1420–1433. [DOI] [PubMed] [Google Scholar]
- Lei J. (2014). Classification with confidence. Biometrika, 101(4):755–769. [Google Scholar]
- Lei J, G’Sell M, Rinaldo A, Tibshirani RJ, and Wasserman L (2018). Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523):1094–1111. [Google Scholar]
- McIntosh MW and Pepe MS (2002). Combining several screening tests: optimality of the risk score. Biometrics, 58(3):657–664. [DOI] [PubMed] [Google Scholar]
- Montiel Olea JL and Plagborg-Møller M (2019). Simultaneous confidence bands: Theory, implementation, and an application to svars. Journal of Applied Econometrics, 34(1):1–17. [Google Scholar]
- Pepe MS, Feng Z, Huang Y, Longton G, Prentice R, Thompson IM, and Zheng Y (2008). Integrating the predictiveness of a marker with its performance as a classifier. American journal of epidemiology, 167(3):362–368. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sadinle M, Lei J, and Wasserman L (2019). Least ambiguous set-valued classifiers with bounded error levels. Journal of the American Statistical Association, 114(525):223–234. [Google Scholar]
- Thompson IM, Ankerst DP, Chi C, Goodman PJ, Tangen CM, Lucia MS, Feng Z, Parnes HL, and Coltman CA Jr (2006). Assessing prostate cancer risk: results from the prostate cancer prevention trial. Journal of the National Cancer Institute, 98(8):529–534. [DOI] [PubMed] [Google Scholar]
- Tomlins SA, Day JR, Lonigro RJ, Hovelson DH, Siddiqui J, Kunju LP, Dunn RL, Meyer S, Hodge P, Groskopf J, et al. (2016). Urine tmprss2: Erg plus pca3 for individualized prostate cancer risk assessment. European urology, 70(1):45–53. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tosoian JJ, Sessine MS, Trock BJ, Ross AE, Xie C, Zheng Y, Samora NL, Siddiqui J, Niknafs Y, Chopra Z, et al. (2023). Myprostatescore in men considering repeat biopsy: validation of a simple testing approach. Prostate cancer and prostatic diseases, 26(3):563–567. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Tosoian JJ, Zhang Y, Xiao L, Xie C, Samora NL, Niknafs YS, Chopra Z, Siddiqui J, Zheng H, Herron G, et al. (2024). Development and validation of an 18-gene urine test for high-grade prostate cancer. JAMA oncology. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wei JT, Feng Z, Partin AW, Brown E, Thompson I, Sokoll L, Chan DW, Lotan Y, Kibel AS, Busby JE, et al. (2014). Can urinary pca3 supplement psa in the early detection of prostate cancer? Journal of Clinical Oncology, 32(36):4066–4072. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yuan M and Wegkamp M (2010). Classification methods with reject option based on convex risk minimization. Journal of Machine Learning Research, 11(1). [Google Scholar]
- Zhou X-H and Qin G (2005). Improved confidence intervals for the sensitivity at a fixed level of specificity of a continuous-scale diagnostic test. Statistics in medicine, 24(3):465–477. [DOI] [PubMed] [Google Scholar]
