Smooth ROC Curve via Bernstein Polynomials
The method smooths the empirical ROC curve of a continuous marker with a Bernstein polynomial: the smoothed curve at each false positive rate is a binomial-weighted average of the empirical curve at equally spaced points. The result is a smooth, monotone curve from (0, 0) to (1, 1) without assuming any distribution for the marker, and its area has a simple closed form. The degree of the polynomial controls the amount of smoothing and can be set by the user; a stratified bootstrap gives an interval for the smoothed area.
연속형 표지자의 경험적 ROC 곡선을 번스타인 다항식으로 매끄럽게 합니다. 각 위양성률에서 매끄러운 곡선의 값은 같은 간격의 점들에서 구한 경험적 곡선 값을 이항 가중치로 평균한 것입니다. 표지자의 분포를 가정하지 않고 (0, 0)에서 (1, 1)까지 이어지는 매끄럽고 단조로운 곡선을 얻으며, 그 아래 면적은 간단한 닫힌 식으로 계산됩니다. 다항식 차수가 매끄러움의 정도를 정하며 사용자가 정할 수 있고, 층화 부트스트랩으로 면적의 구간을 구합니다.
What does the ROC curve of my diagnostic marker look like once the steps of the empirical curve are smoothed out, without assuming normal marker distributions?
정규분포를 가정하지 않고 경험적 곡선의 계단을 매끄럽게 펴면 내 진단 표지자의 ROC 곡선은 어떤 모양입니까?
The method returns the smoothed AUC with a bootstrap interval, the empirical AUC for comparison, the polynomial degree, and smoothed and empirical true positive rates at selected false positive rates.
When to use Smooth ROC Curve via Bernstein Polynomials
- You want a smooth ROC curve for a continuous marker without a binormal assumption.
- You need sensitivities at specific false positive rates that are not distorted by the steps of the empirical curve.
- Each class has at least a few dozen subjects.
When to use something else
- You only need the area under the empirical curve with a test: use ROC-AUC Curve Analysis
- Marker values are plausibly normal within each class: use Bayesian Binormal ROC Model
- Accuracy depends on covariates: use ROC Regression (Covariate-Adjusted ROC)
Assumptions and requirements
- Independent subjects with known condition status
- Higher marker values indicate the condition (or the direction is set)
- The amount of smoothing depends on the chosen degree; check sensitivity to it
What the analysis reports
- Smoothed AUC with bootstrap confidence interval
- Empirical AUC
- Polynomial degree
- Smoothed and empirical sensitivity at selected false positive rates
- Smoothed ROC curve
How to report it
The Bernstein-polynomial smoothed ROC curve (degree [value]; [value] with and [value] without the condition) had AUC = [value], 95% bootstrap CI [[value], [value]].
Related methods
- ROC-AUC Curve Analysis
- Bayesian Binormal ROC Model
- Rating-Scale ROC with Binormal Fit
- ROC Regression (Covariate-Adjusted ROC)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn at a stated tolerance of 2e-3.
독립 계산. scikit-learn 대조 참조 시험 1건 통과(허용오차 2e-3).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Smooth ROC Curve via Bernstein Polynomials on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.