Author-reviewedEvidence: highv1.0.2

Classification Methods

Classification methods are statistical and machine learning techniques that assign patients or other cases to predefined classes, such as risk groups.

Status
Published, version 1.0.2
Last reviewed
9 Oct 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Classification Methods, Risk Thresholds and Misclassification Costs in Health Economics

Classification methods learn a rule from patients whose class is already known, such as diseased or healthy, or high or low risk, and then apply that rule to sort new patients. In health economics the class a patient is given usually triggers an action with a cost, such as a referral, a treatment or a place in a care programme, so every misclassification carries a price in money or health. A predicted probability becomes a class through a threshold set by the relative harms of false positives and false negatives, and classifiers are judged by discrimination, calibration and net benefit, including in health technology assessment (HTA). The term refers here to statistical classifiers, not coding systems such as diagnosis related groups, which assign cases with a fixed published grouper rather than a rule fitted to the analyst's data.

Supervised learning and what makes a method a classifier

Hastie, Tibshirani and Friedman sort learning problems into two kinds. In supervised learning the aim is to predict an outcome from inputs; in unsupervised learning there is no outcome and the aim is to describe patterns among the inputs. Their naming convention calls prediction of a quantitative output regression and prediction of a qualitative output classification. A classifier is therefore a supervised method whose outcome is a category, which separates it from cluster analysis, where the groups are found in the data without any known labels.

The same authors define the ideal classifier under equal misclassification costs. With a zero-one loss, where every error counts as one unit, the best rule assigns each case to its most probable class given the inputs. They call this rule the Bayes classifier and its error rate the Bayes rate.

Equal costs rarely hold in health care. Hastie and colleagues represent unequal costs with a loss matrix giving the price of classifying a member of one class as another. Their own example is that it is probably worse to predict that a person will not have a heart attack when they will than the reverse. This loss matrix is where clinical and economic judgement enters a statistical method.

Families of classifiers used in health research

The common methods differ in flexibility and in how easily the rule can be inspected. The table summarises families described by Hastie, Tibshirani and Friedman; most return a probability or score that is then cut at a threshold.

FamilyHow it assigns a class
Logistic regressionModels the log-odds of class membership as a linear function of the inputs
Linear discriminant analysisAssumes the classes are Gaussian with a common covariance matrix, which gives linear boundaries
Classification trees (CART)Partition the input space into rectangles by recursive binary splits and assign a class in each region
Random forestsBuild a large collection of de-correlated trees and average them
k-nearest neighboursTakes a majority vote among the closest training cases
Support vector classifiersFind a separating hyperplane between the classes in the inputs or a transformed space
Neural networksFit a two-stage regression or classification model with hidden units

A classification tree is a data-driven rule. The decision tree of decision analysis is different, since it is built from the structure of a decision and its probabilities come from evidence, not from splitting a dataset.

The choice between simple and flexible methods is partly a question of transparency. The NICE position statement on the use of AI in evidence generation (ECD11, 2024) states that if more explainable and common methods are potentially robust, they should be presented first, with less transparent approaches as supplements.

From predicted probability to class through a threshold

Most classifiers produce a probability, and a threshold turns it into a class. Vickers and Elkin derive that threshold from a simple decision tree in which a patient is treated or not treated while unsure whether disease is present. At the threshold probability the expected value of treating equals the expected value of not treating, which gives the following.

pt1−pt=d−ba−c\frac{p_t}{1 - p_t} = \frac{d - b}{a - c}

where ptp_t is the threshold probability, aa the value of a true positive, bb the value of a false positive, cc the value of a false negative and dd the value of a true negative, with values expressed in a unit such as quality-adjusted life years (QALYs). The numerator d−bd - b is the harm of treating someone unnecessarily and the denominator a−ca - c is the harm of missing someone who would have benefited.

The threshold is therefore a statement about relative harms, not a property of the classifier. When a missed case is nine times as harmful as an unnecessary treatment, the odds pt/(1−pt)p_t/(1-p_t) equal one ninth and ptp_t is 10%. In an economic evaluation the harms can be expressed as net health or net monetary values, so the cost of the action affects where the line is drawn.

Judging a classifier by discrimination, calibration and net benefit

Van Calster and colleagues describe two separate properties of a risk model. Discrimination means giving higher risk estimates to patients who have the event than to those who do not, usually summarised by the area under the curve (AUC) of the ROC curve, also called the c-statistic. Calibration means agreement between estimated risks and observed event rates. At a chosen threshold, performance can also be shown as sensitivity and specificity.

Good discrimination does not guarantee reliable risk estimates. Collins and Altman validated both models for 10-year cardiovascular risk in about two million UK patients. Among men aged 35 to 74, QRISK2-2011 was well calibrated with an AUC of 0.771, while the NICE version of the Framingham equation over-predicted risk with an AUC of 0.750. At the traditional 20% threshold, QRISK2-2011 would select 110 per 1,000 men aged 35 to 74 years and NICE Framingham 206 per 1,000. Overestimation of risk leads to overtreatment and underestimation to undertreatment, with direct effects on programme costs and outcomes.

Performance on the development data is optimistic. Van Calster and colleagues explain that an overfitting model captures noise and, on new data, shows lower discrimination and risk estimates that are too extreme. Internal checks such as cross-validation estimate this optimism; external validation tests the model elsewhere.

Neither measure says whether using the model does more good than harm. Vickers and Elkin note that accuracy metrics such as the AUC do not take account of consequences. Their net benefit weights false positives by the threshold odds, as follows.

NB=TPn−FPn×pt1−ptNB = \frac{TP}{n} - \frac{FP}{n} \times \frac{p_t}{1 - p_t}

where NBNB is net benefit in units of true positives per patient, TPTP and FPFP are the counts of true and false positives at threshold ptp_t, and nn is the number of patients. Plotting net benefit across thresholds gives decision curve analysis, with treat-all and treat-none strategies as comparators.

Worked example of a referral rule at a 10% threshold

All numbers here are illustrative. A classifier estimates each patient's probability of a condition, and patients at or above 10% are referred for further investigation. The threshold reflects an assumed gain of 0.45 QALYs from referring a true case (a−ca - c) and an assumed loss of 0.05 QALYs from an unnecessary referral (d−bd - b), so the odds pt/(1−pt)p_t/(1-p_t) are 0.05 divided by 0.45, or one ninth, and ptp_t is 0.10.

Step 1. Classify the cohort. In 10,000 patients with a prevalence of 5%, 500 have the condition. The classifier gives 400 true positives, 100 false negatives, 950 false positives and 8,550 true negatives.

Step 2. Threshold measures. Sensitivity is 400/500 = 0.80 and specificity is 8,550/9,500 = 0.90. The positive predictive value is 400/1,350 = 0.296, so about seven in ten referrals are false positives.

Step 3. Accuracy misleads. The share classified correctly is (400 + 8,550)/10,000 = 0.895. A rule that refers nobody is correct for 9,500/10,000 = 0.95 of patients, a higher accuracy while finding no cases.

Step 4. Net benefit.

NBmodel=40010,000−95010,000×0.100.90=0.0400−0.0106=0.0294NB_{model} = \frac{400}{10{,}000} - \frac{950}{10{,}000} \times \frac{0.10}{0.90} = 0.0400 - 0.0106 = 0.0294

where the terms are as defined above. Referring everyone gives the following.

NBall=50010,000−9,50010,000×0.100.90=0.0500−0.1056=−0.0556NB_{all} = \frac{500}{10{,}000} - \frac{9{,}500}{10{,}000} \times \frac{0.10}{0.90} = 0.0500 - 0.1056 = -0.0556

where NBallNB_{all} is the net benefit of referring everyone. Referring nobody has a net benefit of 0.

Step 5. Convert to QALYs. Compared with referring nobody, the model gains 400 x 0.45 = 180 QALYs and loses 950 x 0.05 = 47.5 QALYs, a net 132.5 QALYs in 10,000 patients. The unrounded net benefit gives the same figure, since 0.029444 x 0.45 x 10,000 = 132.5.

The classifier beats both default strategies at this threshold even though its accuracy is lower than referring nobody. A full cost-effectiveness analysis would add the costs of investigation and treatment to each branch.

Classifiers in economic evaluation and HTA

Classifier outputs enter decision models in two main ways. Sensitivity and specificity set the shares of a cohort that follow the true-positive, false-positive, false-negative and true-negative branches of a test-and-treat model, and predicted risk groups can define the populations for a subgroup analysis. The ISPOR task force on machine learning (Padula and colleagues) names five areas where machine learning could enhance health economics and outcomes research, including cohort selection and predictive analytics of health outcomes, among them outcomes that are high cost or life threatening. It also warns that a lack of transparency in how the methods select features and make predictions increases risk to decision makers, and proposes the PALISADE checklist as a guide.

For evidence submitted to NICE, the ECD11 position statement asks that AI methods be used only when they add demonstrable value, that submitting organisations carry out careful technical and external validation, and that development and reporting follow established checklists such as PALISADE and TRIPOD+AI. TRIPOD+AI, published in 2024, gives a 27-item reporting checklist for prediction model studies whether regression or machine learning methods are used, and it supersedes the TRIPOD 2015 checklist.

Boundaries with nearby concepts

Four neighbouring terms are often confused with classification methods.

  • Cluster analysis and latent class analysis find groups without known labels, so are unsupervised. Their groups need interpreting before use.
  • Regression analysis predicts a quantity, such as annual cost; classification predicts a category. Logistic regression sits in both camps, since it estimates a probability that a threshold turns into a class.
  • Diagnostic accuracy describes how well a test or classifier separates people with and without a condition. Classification methods are the means of building such a rule from data.
  • Calibration on this wiki means fitting model parameters so that outputs match observed data. Calibration of a classifier means agreement between predicted and observed risk, as described above.

Where classifiers mislead in applied work

Classifiers are easy to build and easy to misread. The errors below recur in applied health economics.

  • Accuracy under class imbalance. When the condition is rare, a rule that assigns everyone to the common class can score highly, as Step 3 shows. TRIPOD+AI asks authors who use class imbalance methods to state why and to report any recalibration of the predictions.
  • High AUC taken as reliable risk. The QRISK2-2011 and NICE Framingham comparison shows similar discrimination with very different numbers of patients selected for treatment.
  • Transport to a new setting. Van Calster and colleagues note that a model developed where disease incidence is high may overestimate risk where it is lower, so prevalence and case mix should be checked before results are used in a model for another population.
  • Thresholds treated as technical constants. The threshold encodes the relative harms of errors, so it belongs with the economic assumptions and should be tested in sensitivity analysis. Reporting predicted risks, not only classes, lets the rule be reapplied at other thresholds.
  • Fairness. TRIPOD+AI asks studies to describe approaches used to address model fairness, since performance can differ across population groups.

Sources

  • Hastie T, Tibshirani R, Friedman J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. 2nd ed. New York: Springer; 2009. Preface and sections 2.2, 2.4, 4.3, 4.4, 7.10, 9.2, 11.3, 12.2, 12.3, 13.3 and 15.1. https://hastie.su.domains/ElemStatLearn/
  • Vickers AJ, Elkin EB. Decision curve analysis: a novel method for evaluating prediction models. Medical Decision Making. 2006;26(6):565-574. doi:10.1177/0272989X06295361. https://pmc.ncbi.nlm.nih.gov/articles/PMC2577036/
  • Van Calster B, McLernon DJ, van Smeden M, Wynants L, Steyerberg EW; Topic Group 'Evaluating diagnostic tests and prediction models' of the STRATOS initiative. Calibration: the Achilles heel of predictive analytics. BMC Medicine. 2019;17:230. doi:10.1186/s12916-019-1466-7. https://pmc.ncbi.nlm.nih.gov/articles/PMC6912996/
  • Collins GS, Altman DG. Predicting the 10 year risk of cardiovascular disease in the United Kingdom: independent and external validation of an updated version of QRISK2. BMJ. 2012;344:e4181. https://pmc.ncbi.nlm.nih.gov/articles/PMC3380799/
  • Collins GS, Moons KGM, Dhiman P, et al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378. doi:10.1136/bmj-2023-078378. https://pmc.ncbi.nlm.nih.gov/articles/PMC11019967/
  • Padula WV, Kreif N, Vanness DJ, et al. Machine learning methods in health economics and outcomes research: the PALISADE checklist. A good practices report of an ISPOR task force. Value in Health. 2022;25(7):1063-1080. doi:10.1016/j.jval.2022.03.022.
  • National Institute for Health and Care Excellence. Use of AI in evidence generation: NICE position statement (ECD11). Published 15 August 2024. https://www.nice.org.uk/corporate/ecd11

Library

Publications

2
  • Journal article

    TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods — Collins GS, Moons KGM, Dhiman P, Riley RD, Beam AL, Van Calster B, et al., Vol. 385, Article e078378 ed., 2024 (BMJ)

    Reporting guideline for clinical prediction models, cited for its 27-item checklist that applies whether regression or machine learning methods are used and supersedes TRIPOD 2015, for items asking why class imbalance methods were used and how predictions were recalibrated and how model fairness was addressed, and for the statement that there is no such thing as a validated prediction model.

  • Book

    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.

Frequently Asked Questions (6)

  • What are classification methods?

    Classification methods are statistical and machine learning techniques that assign patients or other cases to predefined classes, such as risk groups.

    Source: Hastie, Tibshirani & Friedman 2009

  • What do classification methods do with an individual's characteristics?

    Classification methods take an individual's characteristics and assign them to one of a set of predefined categories, such as high or low risk of a disease. Drawing on statistical and machine learning techniques, they learn from data where the categories are known and then apply the learned pattern to new cases whose category is not. This supports tasks like flagging patients likely to deteriorate or sorting images as normal or abnormal. Sorting cases into known categories is what they do. Hastie and colleagues (2009) describe these methods.

    Source: Hastie et al. 2009

  • How do classification methods work?

    Classification methods work by learning from a dataset in which the category of each observation is known, identifying patterns in the features that distinguish the categories, and forming a rule or model that assigns new observations to a category based on their features. The model is trained on data and then applied to predict unseen cases. So classification methods work by fitting a model to labelled data and using it to predict the categories of new cases, with different methods differing in how they represent and learn the relationship between features and category, ranging from simple statistical models to flexible machine learning algorithms.

    Source: Hastie, Tibshirani & Friedman 2009

  • What are examples of classification methods?

    Examples of classification methods include logistic regression, which models the probability of category membership; decision trees and random forests, which split data by feature thresholds; support vector machines; and neural networks and other machine learning algorithms. They range from interpretable statistical models to complex, flexible learners. So classification methods span a spectrum from traditional statistical models such as logistic regression to modern machine learning approaches, and the choice among them depends on the data, the need for interpretability, and predictive performance, with simpler methods often preferred where transparency matters and complex ones where predictive accuracy is paramount.

    Source: Hastie, Tibshirani & Friedman 2009

  • How is the performance of classification methods evaluated?

    The performance of classification methods is evaluated using measures such as accuracy, sensitivity, and specificity; the area under the ROC curve for discrimination; calibration of predicted probabilities; and measures such as the Brier score, typically assessed on data not used for training, through validation or a separate test set. So the performance of classification methods is evaluated on how well they predict categories for new cases, using a range of measures for discrimination and calibration and validating on independent data, since performance on the training data can be optimistic, and honest assessment requires testing the model's predictions on cases it has not seen.

    Source: Hastie, Tibshirani & Friedman 2009

  • What are the challenges of classification methods?

    The challenges of classification methods include overfitting, where a model fits the training data too closely and generalises poorly; the need for adequate, representative data; handling imbalanced categories, where one is much rarer; and balancing predictive performance against interpretability. So classification methods are applied with attention to these challenges, using validation to guard against overfitting, ensuring the data suit the task, and choosing methods appropriate to the need for accuracy or transparency, since a model that performs well on training data may fail on new cases, and the value of a classifier depends on it generalising reliably to the population of interest.

    Source: Hastie, Tibshirani & Friedman 2009

Trust Record

Not verified for this version

This concept changed after its last verification. Re-verify to stamp this version.

Canonical Identity

Term code
HE-ES-SA-025

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/classification-methods