Concept Architecture
ROC Curve for Choosing Test Thresholds in Economic Evaluation
A receiver operating characteristic (ROC) curve shows every combination of true positive rate and false positive rate that a diagnostic test, screening tool or risk score can deliver as its positivity threshold is moved. Each point on it is in effect a different version of the test, with its own mix of cases found and false alarms, and so its own costs and health effects in an economic evaluation. The curve describes what the test can do, while prevalence and the values placed on correct and incorrect results decide which point is worth using. The area under curve condenses the curve into one measure of ranking and a summary ROC curve pools studies, but a decision model needs a single point.
Sensitivity plotted against the false positive rate
The Cochrane Handbook for Systematic Reviews of Diagnostic Test Accuracy (chapter 10) defines the ROC curve as the graph of the values of sensitivity and specificity obtained by varying the positivity threshold across all possible values, plotted as sensitivity against one minus specificity. For a test in which higher values point to disease, each threshold gives one point, as follows.
where is the test result, is the positivity threshold, and denote people with and without the target condition, is the true positive rate or sensitivity, and is the false positive rate, equal to one minus specificity.
The Handbook notes that the shape of the curve between the all-negative and all-positive corners depends on how much the distributions of results in the two groups overlap. A test that separates them well approaches the upper left corner, and a test whose distributions coincide lies on the rising diagonal. Metz described the curve as a complete empirical description of the decision threshold effect, covering every combination of correct and incorrect decisions a test can make.
Building an empirical curve from study data
With data, the curve is built by sorting people by score and lowering the threshold one value at a time, adding to the true positive count when the next person has the condition and to the false positive count when they do not. Fawcett notes that any curve from a finite sample is a step function, and that tied scores should be processed together, which draws a diagonal segment.
Only the order of the scores matters. Fawcett points out that ROC graphs measure the ability to produce good relative scores, so predicted risks need not be calibrated for the curve to look good, which leaves calibration to be checked separately, and that scores from different model types should not be compared at a common threshold.
Slopes of the curve as likelihood ratios
The slope of the curve carries the information used to revise a probability. Choi showed that the tangent at a point equals the likelihood ratio for the test value at that point, that the slope of the line joining the origin and a point equals the positive likelihood ratio at that cut-off, and that the slope between two points equals the likelihood ratio for a result between the two thresholds. On an empirical curve, the band between thresholds and has the slope below.
where is the likelihood ratio for a result in band , is the lower threshold of the band and the next higher threshold. Multiplying the pre-test odds by gives the post-test odds for a result in that band.
If the categories are ordered by strength of evidence for disease, these slopes fall as the threshold is lowered and the curve bows upwards. Fawcett shows that only points on the convex hull of a set of ROC points can be optimal under any combination of costs and class proportions, so a point lying beneath the hull is never the best choice.
Choosing an operating point with costs and prevalence
The 2011 NICE Diagnostics Assessment Programme manual, since replaced by the NICE HealthTech programme manual (PMG48), stated that each point on the ROC curve could be considered a different version of the test and evaluated separately, and that the optimal cut-off point is usually one of the decision problems explored in an assessment. PMG48 (section 2.1.15) counts using a different threshold for established tests among the ways current care can be delivered differently. Metz linked ROC analysis to cost and benefit analysis, using average net benefit to identify the optimal compromise among kinds of diagnostic error.
A simple version uses net monetary benefit per person tested, compared with testing and treating nobody, as follows.
where is the prevalence in the tested population, is the net monetary gain from finding and treating a true positive (health gain valued at the threshold, less treatment and confirmation costs), is the net monetary loss from a false positive, and is the cost of the test per person, the same at every cut-off. Points with equal net benefit lie on straight lines with the slope below.
where is the slope of a line of equal net monetary benefit in ROC space. The best cut-off is where the highest such line touches the curve. On an empirical curve, a band of results is worth calling positive when its likelihood ratio exceeds , which is the same as its post-test probability exceeding , the threshold probability of decision curve analysis. Fawcett derives the same slope for iso-performance lines from error costs and class proportions, as do Perkins and Schisterman for a cost-weighted Youden index.
The Youden index, , is the maximum over cut-offs of sensitivity plus specificity minus one, the greatest vertical distance between the curve and the diagonal. Perkins and Schisterman show that it minimises the total of the two misclassification rates when they are weighted equally, and that the point closest to the upper left corner can pick a different cut-off. Equal weighting corresponds to , which holds only when . In screening, with low prevalence and false positives that cost far less than a missed case, that balance is unlikely.
Worked example with a five-band score in two settings
All numbers in this example are illustrative. A triage score places each person in one of five bands, and a validation sample contains 100 people with the target condition and 900 without it. A positive result leads to a confirmatory test costing GBP 500, assumed perfect. A confirmed case gains 0.5 QALYs from treatment costing GBP 3,000, and health is valued at GBP 25,000 per QALY, the lower end of the range in NICE's PMG36. A false positive costs the confirmatory test only.
| Band | With condition | Without condition | Cut-off | TPR | FPR | Band LR |
|---|---|---|---|---|---|---|
| 5 | 40 | 9 | 5 only | 0.40 | 0.01 | 40.0 |
| 4 | 25 | 36 | 4 or above | 0.65 | 0.05 | 6.25 |
| 3 | 20 | 90 | 3 or above | 0.85 | 0.15 | 2.0 |
| 2 | 10 | 225 | 2 or above | 0.95 | 0.40 | 0.4 |
| 1 | 5 | 540 | All | 1.00 | 1.00 | 0.083 |
1. Plot the points. Each TPR is a cumulative count divided by 100, for example (40 + 25) / 100 = 0.65, and each FPR a cumulative count divided by 900, for example (9 + 36) / 900 = 0.05.
2. Read the slopes. Band 4 adds 0.25 to the TPR and 0.04 to the FPR, a slope of 0.25 / 0.04 = 6.25, and band 3 gives 0.20 / 0.10 = 2.0. The slopes fall steadily, so every point lies on the convex hull.
3. Apply the Youden index. Sensitivity plus specificity minus one is 0.39, 0.60, 0.70 and 0.55 for the first four cut-offs and 0 for calling everyone positive, so = 0.70 picks 3 or above in any setting.
4. Value the results. = 0.5 × 25,000 − 3,000 − 500 = GBP 9,000 and = GBP 500. In a specialist clinic with prevalence 0.10, = (0.90 × 500) / (0.10 × 9,000) = 450 / 900 = 0.5. Bands 5, 4 and 3 have likelihood ratios above 0.5 and band 2 does not, so the best cut-off is 3 or above.
5. Move to primary care. At prevalence 0.02, = (0.98 × 500) / (0.02 × 9,000) = 490 / 180 = 2.72. Band 3, with a likelihood ratio of 2.0, now falls below the line and the best cut-off is 4 or above. The table gives net monetary benefit per 1,000 people tested, before the test cost.
| Cut-off | Clinic TP / FP | Clinic NMB (GBP) | Primary care TP / FP | Primary care NMB (GBP) |
|---|---|---|---|---|
| 5 only | 40 / 9 | 355,500 | 8 / 9.8 | 67,100 |
| 4 or above | 65 / 45 | 562,500 | 13 / 49 | 92,500 |
| 3 or above | 85 / 135 | 697,500 | 17 / 147 | 79,500 |
| 2 or above | 95 / 360 | 675,000 | 19 / 392 | −25,000 |
For example, the clinic figure at 3 or above sets 85 × 9,000 = 765,000 against 135 × 500 = 67,500, leaving 697,500, and the primary care figure at 4 or above sets 13 × 9,000 = 117,000 against 49 × 500 = 24,500, leaving 92,500. Using the Youden cut-off in primary care gives up 92,500 − 79,500 = GBP 13,000 per 1,000 people tested.
6. Check with the threshold probability. Here = 500 / 9,500 = 0.053. In primary care a band 3 result raises the odds from 0.02 / 0.98 = 0.0204 to 0.0204 × 2.0 = 0.0408, a probability of 0.039, below 0.053, so confirming it is not worthwhile.
7. Interpret. The curve was held fixed between the two settings by assumption, yet the best point moved, because prevalence enters the slope of the decision line and not the curve.
Comparing tests whose curves cross
If one curve lies above another everywhere, the first test offers more true positives at every false positive rate. Curves often cross, and Fawcett notes that a test with the larger area under the curve can perform worse in a particular region of ROC space. Vickers and Elkin note that when a false negative is much more harmful than a false positive, a model with much greater specificity but slightly lower sensitivity could have a higher area yet be a poorer choice for clinical use.
The 2011 NICE manual judged the area under the curve of little use for computing test accuracy in practice or cost effectiveness. A decision model needs the sensitivity and specificity at each test's operating point, so the curve, more than its area, is the useful form of diagnostic accuracy evidence.
Uncertainty and optimism in the chosen cut-off
A cut-off chosen in the same data used to estimate its accuracy flatters the test. Leeflang and colleagues simulated cut-offs chosen by the Youden index and found that the bias was inversely related to sample size, with true sensitivity and specificity of 84% estimated at about 90% in studies of 40 people and 86% in studies of 200.
Sensitivity and specificity at points along one curve are linked, since a cut-off that raises one lowers the other. The NICE manual (PMG36, sections 4.7.18 and 4.7.19) states that because they are usually correlated and may vary with how a test is used or interpreted, point estimates with distributions are not usually appropriate, and asks for correlation between parameters to be reflected in the probabilistic sensitivity analysis.
Misreadings of the ROC curve
Several errors recur when a curve supports a cost-effectiveness case. Most come from treating the curve as a property of the test alone, detached from the setting and the decision.
- Treating the curve as fixed across settings. Fawcett notes that ROC curves do not change with the proportion of positive and negative cases. The 2011 NICE manual, however, warns that laboratory, operator and machine differences can shift the effective cut-off or move a test below its ROC curve.
- Reading accuracy as usefulness. Zweig and Campbell describe the ROC plot as a pure index of accuracy, to be distinguished from the practical value of the information.
Sources
- Choi BC. Slopes of a receiver operating characteristic curve and likelihood ratios for a diagnostic test. American Journal of Epidemiology. 1998;148(11):1127-1132. https://doi.org/10.1093/oxfordjournals.aje.a009592
- Fawcett T. An introduction to ROC analysis. Pattern Recognition Letters. 2006;27(8):861-874. https://doi.org/10.1016/j.patrec.2005.10.010
- Leeflang MM, Moons KG, Reitsma JB, Zwinderman AH. Bias in sensitivity and specificity caused by data-driven selection of optimal cutoff values: mechanisms, magnitude, and solutions. Clinical Chemistry. 2008;54(4):729-737. https://doi.org/10.1373/clinchem.2007.096032
- Macaskill P, Gatsonis C, Deeks JJ, Harbord RM, Takwoingi Y. Chapter 10: Analysing and presenting results. In: Deeks JJ, Bossuyt PM, Gatsonis C, editors. Cochrane Handbook for Systematic Reviews of Diagnostic Test Accuracy. Version 1.0. The Cochrane Collaboration; 2010. Section 10.2.5. https://methods.cochrane.org/sites/methods.cochrane.org.sdt/files/uploads/Chapter%2010%20-%20Version%201.0.pdf
- Metz CE. Basic principles of ROC analysis. Seminars in Nuclear Medicine. 1978;8(4):283-298. https://doi.org/10.1016/s0001-2998(78)80014-2
- National Institute for Health and Clinical Excellence. Diagnostics Assessment Programme manual. Manchester: NICE; December 2011. Sections 14.2.1 and 14.3.2. https://www.nice.org.uk/Media/Default/About/what-we-do/NICE-guidance/NICE-diagnostics-guidance/Diagnostics-assessment-programme-manual.pdf
- National Institute for Health and Care Excellence. NICE HealthTech programme manual (PMG48). London: NICE; 14 July 2025, last updated 17 December 2025. Section 2.1.15. https://www.nice.org.uk/process/pmg48/chapter/methods-for-guidance-produced-in-the-nice-healthtech-programme
- National Institute for Health and Care Excellence. NICE technology appraisal and highly specialised technologies guidance: the manual (PMG36). London: NICE; 31 January 2022, last updated 13 October 2026. Sections 4.7.15, 4.7.18 and 4.7.19. https://www.nice.org.uk/process/pmg36/chapter/economic-evaluation-2
- Perkins NJ, Schisterman EF. The inconsistency of "optimal" cutpoints obtained using two criteria based on the receiver operating characteristic curve. American Journal of Epidemiology. 2006;163(7):670-675. https://pmc.ncbi.nlm.nih.gov/articles/PMC1444894/
- Vickers AJ, Elkin EB. Decision curve analysis: a novel method for evaluating prediction models. Medical Decision Making. 2006;26(6):565-574. https://pmc.ncbi.nlm.nih.gov/articles/PMC2577036/
- Zweig MH, Campbell G. Receiver-operating characteristic (ROC) plots: a fundamental evaluation tool in clinical medicine. Clinical Chemistry. 1993;39(4):561-577. https://doi.org/10.1093/clinchem/39.4.561
Related Concepts (5)
Library
Publications
1
Bayesian Methods in Health Economics — Gianluca Baio, 1st Edition ed., 2012 (Chapman & Hall / CRC Press)
An overview of Bayesian statistical methods for the analysis of health economic data, covering economic evaluation concepts, statistical cost-effectiveness analysis, Bayesian computation and MCMC, and applied health economic evaluation.
BookView source →
Frequently Asked Questions (6)
What is an ROC curve?
The ROC (receiver operating characteristic) curve plots a test's sensitivity against its false positive rate at each cut-off, guiding thresholds in HTA.
Source: Metz 1978
What trade-off does an ROC curve display?
Each point on an ROC curve pairs a true positive rate, or sensitivity, with a false positive rate, equal to one minus specificity, for one positivity threshold. Moving the threshold so that more people with the target condition test positive also flags more people without it, so gains in sensitivity are paid for with lost specificity. How steep that price is depends on how far the test results of the two groups overlap. A test that separates them well bends towards the upper left corner, where both measures are high, while a test whose distributions coincide lies on the rising diagonal and offers no useful trade-off.
Source: Macaskill et al. 2010
How is an ROC curve constructed?
With study data, people are sorted by test score and the positivity threshold is lowered one value at a time. Each step adds to the true positive count when the next person has the condition and to the false positive count when they do not, and the cumulative counts divided by the numbers with and without the condition give the true and false positive rates. Fawcett notes that any ROC curve from a finite sample is a step function. Tied scores are processed together, which draws a diagonal segment rather than a step. Only the order of the scores matters, so predicted risks need not be calibrated for the curve to look good.
Source: Fawcett 2006
How is an ROC curve interpreted?
Beyond its closeness to the upper left corner, an ROC curve is read through its slopes, which carry the information used to revise a probability. Choi showed that the tangent at a point equals the likelihood ratio for the single test value at that point. The slope of the line from the origin to a point equals the positive likelihood ratio when that point is the cut-off for positivity, and the slope between two points equals the likelihood ratio for a result falling between the two thresholds. Multiplying the pre-test odds by such a likelihood ratio gives the post-test odds for that result.
Source: Choi 1998
What does the ROC curve show about thresholds?
Every point on an ROC curve is a different positivity threshold, so the curve sets out the cut-offs a test offers without saying which one to use. The choice depends on prevalence and on the relative costs of false negatives and false positives. Perkins and Schisterman show that the Youden index, the maximum of sensitivity plus specificity minus one, picks the cut-off that minimises the total of the two misclassification rates when they are weighted equally. Weighting them by prevalence and relative loss gives a generalised index, and in screening, where prevalence is low and a missed case costs far more than a false alarm, the equal-weight cut-off is unlikely to be the best.
Source: Perkins & Schisterman 2006
How does the ROC curve relate to the area under the curve?
The area under the curve condenses a whole ROC curve into one number summarising how well a test ranks people with the condition above people without it. Two curves can cross, so a test with the larger area can still perform worse in the region that matters for a decision. Vickers and Elkin note that when a false negative is much more harmful than a false positive, a model with much greater specificity but slightly lower sensitivity could have the higher area yet be the poorer choice for clinical use. An economic evaluation needs the sensitivity and specificity at a chosen operating point, which the area alone cannot supply.
Source: Vickers & Elkin 2006
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 29 Oct 2026
Content version: 1.0.1
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/roc-curve
- Term code
- HE-ES-SA-186
- Wikidata
- Q327120
Stable URI · Machine-readable · Resolvable · CC BY 4.0
