Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

Should Diagnostic Test Thresholds Be Chosen Before the Study?

Diagnostic thresholds determine which test results are classified as positive or negative. Learn why thresholds should usually be selected before confirmatory evaluation, when data-driven cutoff development is appropriate, and how to avoid optimistic accuracy estimates.

435
Choosing Diagnostic Test Thresholds Guide 435 of 1272
01 · The Question

Should You Decide What Counts as a Positive Test Before Examining the Results?

You are evaluating a biomarker, diagnostic questionnaire, imaging score, or artificial intelligence classifier. The test produces a numerical result, but you need a threshold to distinguish positive from negative classifications.

Should you select that threshold before collecting data, or examine the results and choose the cutoff that produces the highest sensitivity and specificity?

Choosing a threshold after examining the same participants' reference-standard classifications can make diagnostic performance appear better than it will be in future patients. Yet data-driven threshold development is not inherently inappropriate. The crucial distinction is whether the study is developing a decision rule or independently evaluating one that has already been established.

02 · The Short Answer

Prespecify Thresholds for Confirmatory Accuracy Evaluation

In Brief

Diagnostic test thresholds should generally be chosen before examining the reference-standard outcomes in a confirmatory diagnostic accuracy study. If a threshold must be developed from data, that process should be treated as test development, followed by appropriate validation using data not used to select the cutoff.

The appropriate threshold depends on the test's intended role, the consequences of false positives and false negatives, and the population being tested. Selecting whichever cutoff produces the most favorable apparent accuracy in the evaluation dataset risks overfitting and optimistic performance estimates.

03 · What You Need to Know

How Diagnostic Thresholds Affect Accuracy and Study Validity

What Is a Diagnostic Test Threshold?

A diagnostic threshold, also called a cutoff or decision threshold, is the value used to convert a numerical or ordered test result into a diagnostic classification.

For example, a questionnaire may produce scores from 0 to 30. Researchers might classify scores of 12 or higher as positive and lower scores as negative.

Likewise, a laboratory biomarker may be considered positive when its concentration exceeds a specified value.

The threshold is part of the test's operational definition. Changing it changes which participants are classified as positive and negative, even when the underlying measurements remain unchanged.

Some tests use multiple thresholds to create low-, intermediate-, and high-risk categories. Others produce continuous information intended to support decisions without a single universal binary cutoff.

Researchers should therefore establish whether dichotomization is necessary for the intended diagnostic application.

Why Does the Threshold Affect Sensitivity and Specificity?

For a test where higher values indicate greater likelihood of the target condition, lowering the positive threshold generally increases sensitivity because more affected participants are classified as positive.

However, it also tends to reduce specificity because more unaffected participants are classified as positive.

Raising the threshold generally has the opposite effect.

This relationship creates a trade-off between missed cases and false alarms.

There is rarely a threshold that simultaneously maximizes sensitivity and specificity. The appropriate balance depends on the consequences of each type of classification error.

For a triage test intended to identify patients requiring further assessment, missing serious disease may be particularly consequential. For a test that triggers an invasive or hazardous intervention, false positives may carry substantial costs.

Threshold selection should reflect these decisions rather than treating sensitivity and specificity as abstract numbers to maximize.

Why Should the Threshold Be Prespecified?

Prespecifying the threshold separates the diagnostic rule being evaluated from the data used to evaluate it.

When the threshold is fixed before examining reference-standard outcomes, the resulting accuracy estimates assess a defined test procedure rather than the best-performing cutoff found in that particular sample.

This reduces the risk that random features of the dataset influence the threshold and inflate apparent performance.

Prespecification also improves reproducibility. Other researchers can apply the same threshold to an independent population and assess whether the reported accuracy persists.

However, prespecification does not guarantee that the threshold is appropriate. It must still be justified by prior evidence, clinical considerations, or a clearly defined decision framework.

What Happens When Researchers Select the Best Cutoff From the Same Dataset?

Suppose researchers evaluate 30 possible thresholds and select the one producing the highest combined sensitivity and specificity.

Each candidate threshold is assessed using the same sample. Random variation may make one cutoff appear unusually favorable, even when its true performance is no better than nearby alternatives.

Choosing the maximum observed performance capitalizes on that variation.

The reported sensitivity and specificity may therefore be optimistic when applied to new participants.

This problem is a form of overfitting or selection-induced optimism. It can occur even when the threshold-selection rule is applied consistently and without deliberate manipulation.

The more candidate thresholds and analytical choices researchers examine, the greater the opportunity for sample-specific optimization.

Is Data-Driven Threshold Selection Always Wrong?

No. Threshold development may be a legitimate research objective when no established cutoff exists.

For example, researchers developing a new biomarker may need to identify candidate thresholds before the test can undergo confirmatory evaluation.

The methodological requirement is to distinguish threshold development from independent validation.

A development dataset can be used to select a candidate threshold. Internal validation procedures may then estimate the optimism associated with that selection process.

Independent validation in a suitable population provides stronger evidence of how the fixed threshold performs beyond the data used to derive it.

Researchers should not describe the accuracy observed during threshold optimization as though it were an unbiased external validation result.

What Is the Youden Index, and Should It Determine the Threshold?

The Youden index is a commonly used summary of sensitivity and specificity at a particular threshold.

It is calculated as sensitivity plus specificity minus one.

How the Youden Index Is Calculated
J = Sensitivity + Specificity − 1
J is the Youden index at a specified threshold. Sensitivity and specificity are expressed as proportions between 0 and 1.
If sensitivity is 0.90 and specificity is 0.70, J = 0.90 + 0.70 − 1 = 0.60. If another threshold produces sensitivity of 0.80 and specificity of 0.85, its J is 0.65. The second threshold has a higher Youden index, but this does not automatically make it clinically preferable.

Maximizing the Youden index gives equal numerical weight to sensitivity and specificity. It does not directly incorporate the prevalence of the condition or the relative consequences of false-positive and false-negative decisions.

For many clinical applications, these consequences are not equally important.

The Youden index may therefore be useful for exploratory threshold development, but it should not automatically determine the final clinical cutoff.

How Does the ROC Curve Relate to Threshold Selection?

A receiver operating characteristic, or ROC, curve displays sensitivity against the false-positive rate, which equals one minus specificity, across possible thresholds.

It helps researchers examine how diagnostic performance changes as the threshold moves.

The area under the ROC curve, commonly abbreviated AUC, summarizes discrimination across thresholds under the relevant sampling and measurement conditions.

However, the AUC does not identify a universally optimal clinical threshold.

A test may have a high AUC while performing inadequately at the particular threshold needed for a clinical decision.

Researchers should therefore distinguish overall discrimination from performance at the intended operating point.

When comparing tests, the ROC analysis should also reflect the appropriate reference standard and diagnostic comparison.

Should Threshold Selection Consider Disease Prevalence?

Disease prevalence affects the probability that a positive or negative test result correctly reflects the target condition.

Even when sensitivity and specificity remain unchanged, positive predictive value generally decreases as prevalence decreases, while negative predictive value generally increases.

Consequently, a threshold that performs acceptably in a high-prevalence referral clinic may generate many unnecessary referrals in a low-prevalence population.

Prevalence can also influence decision-theoretic threshold selection when the expected benefits and harms of diagnostic actions are considered.

Researchers should distinguish the statistical properties of the test from the consequences of using it in a particular population.

The intended clinical setting should therefore be considered when determining which threshold is appropriate.

Why Does the Intended Role of the Test Matter?

A test intended to rule out a serious condition may require very high sensitivity at its chosen threshold.

A confirmatory test intended to minimize unnecessary treatment may require high specificity.

An add-on test may need to demonstrate useful information beyond existing clinical assessment rather than merely achieving favorable stand-alone accuracy.

These are different diagnostic decisions, and they may justify different thresholds for the same underlying measurement.

The threshold should therefore be selected in relation to the diagnostic pathway and the actions that follow positive or negative results.

A cutoff should not be described as optimal without specifying the objective it is intended to optimize.

Can Different Populations Require Different Thresholds?

Potentially. The distribution of test results among affected and unaffected individuals may vary across populations.

Differences in disease severity, age, comorbidity, measurement procedures, or clinical setting can change performance at a fixed threshold.

However, automatically recalibrating a threshold in every new sample can create additional overfitting and complicate comparisons.

Researchers should first evaluate the performance of the established threshold in the intended population.

If modification is scientifically justified, the revised threshold should undergo appropriate validation before being treated as established.

The importance of evaluating diagnostic performance in the intended testing population applies directly to threshold transportability.

What If a Test Produces Indeterminate or Borderline Results?

Some tests cannot be meaningfully reduced to a simple positive-or-negative classification.

For example, a laboratory assay may have an intermediate range requiring repeat testing. A questionnaire may identify scores that warrant further assessment without supporting a definite classification.

Researchers should prespecify how borderline and indeterminate results will be handled.

Excluding such results from the accuracy analysis can make the test appear more accurate if difficult cases are disproportionately removed.

Where relevant, researchers should report the frequency of indeterminate results and evaluate the performance of the complete testing strategy, including repeat or confirmatory procedures.

How Should Threshold Development Be Validated?

Validation should assess the performance of the complete threshold-selection process or of the fixed threshold, depending on the research stage.

For internal validation, resampling approaches such as bootstrapping can estimate optimism when the entire threshold-selection procedure is repeated within each resample.

Simply evaluating a selected cutoff in the same dataset without accounting for its selection does not provide independent validation.

External validation applies the fixed threshold to participants not used in its development, preferably from a population relevant to the intended application.

Researchers should report sensitivity, specificity, confidence intervals, and other relevant performance measures at the fixed threshold.

When the test is intended for a new setting, external validation is particularly valuable because accuracy may vary with the clinical spectrum.

How Should Threshold Selection Be Reported?

STARD 2015 recommends reporting how test positivity cutoffs or result categories were defined and distinguishing prespecified thresholds from exploratory choices.

Researchers should identify the threshold, its units, the direction of positivity, and the rationale for its selection.

If several thresholds were examined, the analysis should describe the selection method and whether performance estimates were obtained from development or validation data.

Reporting only the best-performing threshold without disclosing the search process can misrepresent the strength of the evidence.

Transparent reporting also allows readers to assess whether the chosen threshold can be reproduced and applied in practice.

04 · A Practical Example

How Choosing a Cutoff After Seeing the Data Can Exaggerate Performance

Hypothetical Example

Developing a Threshold for a Diagnostic Questionnaire

Researchers develop a questionnaire that produces scores from 0 to 30, with higher scores indicating a greater likelihood of the target condition.

They recruit 200 participants and establish disease status using an appropriate reference standard. The sample contains 80 participants with the condition and 120 without it.

Three candidate thresholds are examined. The numbers below are hypothetical and are not derived from an actual study.

Positive Threshold True Positives True Negatives Sensitivity Specificity
Score ≥ 10 76 of 80 72 of 120 95.0% 60.0%
Score ≥ 14 68 of 80 96 of 120 85.0% 80.0%
Score ≥ 18 52 of 80 110 of 120 65.0% 91.7%
Comparing Candidate Thresholds
Youden index = Sensitivity + Specificity − 1
Sensitivity is the proportion of reference-positive participants correctly identified. Specificity is the proportion of reference-negative participants correctly classified.
Threshold 10: 0.95 + 0.60 − 1 = 0.55. Threshold 14: 0.85 + 0.80 − 1 = 0.65. Threshold 18: 0.65 + 0.9167 − 1 ≈ 0.567. Threshold 14 has the highest observed Youden index among these candidates, but that result does not establish its independent performance or clinical optimality.
Develop the candidate threshold

The researchers select score 14 as a candidate cutoff based on the development data and the intended diagnostic role.

Recognize selection-induced optimism

Because the same participants were used to choose and evaluate the threshold, the observed sensitivity and specificity may be more favorable than those obtained in future participants.

Conduct independent validation

The researchers apply the fixed threshold of 14 to a separate sample from the intended testing population without reoptimizing it.

Interpret validation performance

Suppose the independent sample produces sensitivity of 79% and specificity of 77%. These hypothetical estimates suggest lower performance than in development and should be reported with confidence intervals.

Evaluate clinical suitability

The researchers assess whether the validated sensitivity and specificity provide an acceptable balance of missed cases and false referrals for the intended diagnostic pathway.

The example illustrates why threshold development and validation should be distinguished. A cutoff selected from the data is not necessarily invalid, but its apparent development performance should not be presented as independent evidence of accuracy.

05 · What Researchers Often Get Wrong

Common Mistakes When Selecting Diagnostic Cutoffs

Misconception

The Threshold With the Highest Youden Index Is Always Best

The Youden index summarizes sensitivity and specificity but does not directly account for prevalence or the consequences of false-positive and false-negative decisions. Clinical suitability requires additional judgment.

Misconception

A Cutoff Selected From the Study Data Is Automatically Validated

Evaluating a threshold in the same dataset used to select it can produce optimistic performance estimates. Independent or appropriately resampling-based validation is needed.

Misconception

Prespecification Makes Any Threshold Scientifically Appropriate

Prespecification reduces outcome-driven selection but does not establish that the cutoff is useful. The threshold must still match the diagnostic objective and acceptable consequences of classification errors.

Misconception

A High AUC Guarantees a Good Clinical Threshold

The AUC summarizes discrimination across thresholds. It does not establish that performance at a particular operating point is adequate for the intended decision.

Misconception

The Same Threshold Must Perform Equally Well Everywhere

Test-result distributions and diagnostic case mix can vary across settings. A fixed threshold may require external validation before use in a different population.

Misconception

Borderline Results Can Be Excluded Without Affecting Accuracy

Excluding indeterminate results may remove difficult cases and produce overly favorable estimates. Their frequency and handling should be prespecified and reported.

06 · What This Means for You

How to Decide When and How to Select a Diagnostic Threshold

First determine whether the study is developing a diagnostic rule or independently evaluating an established rule.

If the purpose is confirmatory evaluation, fix the threshold before examining the reference-standard results in the evaluation dataset.

If the purpose is threshold development, use a transparent selection procedure and plan validation that accounts for the selection process.

A simple decision framework

If a justified threshold already exists
Prespecify it and evaluate its performance without reoptimization in the validation sample.
If no defensible threshold exists
Conduct threshold development and distinguish its exploratory estimates from validated performance.
If false negatives have particularly serious consequences
Consider a threshold favoring sensitivity, while evaluating the resulting false-positive burden.
If false positives trigger costly or harmful procedures
Consider the importance of specificity and the overall consequences of diagnostic decisions.
If the test will be used in a new population
Validate the established threshold in that population before assuming comparable performance.

When several candidate thresholds are clinically plausible, researchers may report their performance transparently, but should identify which threshold was prespecified for the primary analysis.

For machine-learning diagnostic systems, threshold selection should be separated from final testing. Repeatedly adjusting a classification threshold using the test dataset compromises its independence.

Watch Out

Do not describe a cutoff as optimal merely because it maximized an accuracy statistic in one dataset. The observed optimum may reflect sampling variation, and the statistical criterion may not correspond to the clinical decision that the test is intended to support.

Threshold development should also consider whether the study's patient spectrum adequately represents the intended diagnostic setting. A threshold optimized among obvious cases and healthy controls may not transfer reliably to patients with uncertain diagnoses.

07 · A Quick Checklist

Before Selecting or Evaluating a Diagnostic Threshold

Before finalizing the cutoff and analysis, check:
Define whether the study is developing a threshold or independently validating an existing one.
Specify the test score, units, direction of positivity, and classification rule.
Identify the test's intended role and the consequences of false-positive and false-negative results.
Prespecify the primary threshold before examining reference-standard outcomes in confirmatory evaluation data.
Disclose any data-driven threshold-selection method and the number or range of candidates examined.
Avoid treating the maximum observed Youden index as automatic evidence of clinical optimality.
Plan internal validation of the complete development procedure where appropriate.
Evaluate the fixed threshold in independent data when confirmatory performance is required.
Prespecify handling of borderline, indeterminate, and missing test results.
Report accuracy estimates with confidence intervals and distinguish development from validation results.
08 · Frequently Asked Questions

Frequently Asked Questions About Diagnostic Test Thresholds

Must a diagnostic cutoff always be selected before data collection?

No. Data-driven selection is legitimate during threshold development. However, confirmatory evaluation should generally use a threshold fixed before examining the evaluation dataset's reference-standard outcomes.

Can I choose the cutoff with the highest sensitivity and specificity?

You can examine the trade-off between these measures, but there is usually no threshold that maximizes both simultaneously. Selection should reflect the intended diagnostic decision and the consequences of errors.

Is the Youden index the best way to select a diagnostic threshold?

Not universally. It is a useful statistical summary, but it does not directly incorporate prevalence or unequal consequences of false positives and false negatives.

Can I use the ROC curve to choose a threshold?

Yes, particularly during exploratory development. However, selecting a cutoff from the same data used to report its accuracy can produce optimistic estimates, so validation is needed.

Does a high AUC mean my selected cutoff is good?

No. AUC summarizes discrimination across thresholds. The chosen cutoff may still produce an unacceptable sensitivity-specificity balance for the intended application.

Can different populations require different cutoffs?

Potentially. Differences in case mix and test-result distributions can affect performance. Any revised threshold should be justified and validated rather than selected opportunistically.

Should indeterminate test results be excluded?

Not automatically. Exclusion can produce overly favorable estimates. Researchers should prespecify how indeterminate results will be managed and report their frequency.

Should an AI diagnostic classifier use a fixed threshold during external validation?

Generally, yes. The threshold should be established using development data and then applied without reoptimization to independent evaluation data when assessing external performance.

09 · The Bottom Line

Threshold Selection and Accuracy Evaluation Should Be Kept Distinct

The Bottom Line

Diagnostic thresholds should generally be prespecified for confirmatory accuracy evaluation. When a threshold is developed from data, its apparent performance must be distinguished from performance established through appropriate validation.

The most defensible cutoff is not necessarily the one with the highest observed accuracy statistic. It is the threshold that provides a justified balance of diagnostic errors for the intended population and clinical decision, supported by credible evidence beyond the data used to select it.

10 · Sources and Further Reading

Authoritative Sources on Diagnostic Threshold Selection

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes