Skip to content

Methods · Diagnostic testing · Diagnostic accuracy

Two-Graph ROC Analysis (TG-ROC)

Two-graph ROC analysis plots the sensitivity and the specificity of a quantitative diagnostic test against the cut-off value, rather than against each other. The cut-off where the two curves cross gives equal sensitivity and specificity, and a required accuracy level marks an intermediate range of results that cannot be called positive or negative with that accuracy.

두 그래프 ROC 분석은 정량 진단검사의 민감도와 특이도를 서로에 대해서가 아니라 절단값에 대해 그립니다. 두 곡선이 만나는 절단값에서 민감도와 특이도가 같아지며, 요구 정확도를 정하면 그 정확도로는 양성이나 음성으로 판정할 수 없는 중간 범위를 정할 수 있습니다.

Which cut-off should my quantitative test use, and which results are too close to call at the accuracy I need?

정량 검사의 절단값을 어디에 둘지, 필요한 정확도에서 판정하기 어려운 결과가 어느 범위인지 알고 싶습니다.

Sensitivity and specificity are computed at every observed cut-off and the crossing point is located by interpolation, with a stratified bootstrap interval. For a chosen accuracy level, such as 95%, the lower limit is the highest cut-off that still keeps that sensitivity and the upper limit the lowest cut-off that reaches that specificity; results between them form the intermediate range, and the share of results falling there is reported. A binormal version based on group means and SDs is given alongside.

When to use Two-Graph ROC Analysis (TG-ROC)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Two-graph ROC analysis found that sensitivity and specificity were equal ([value]) at a cut-off of [value] (95% bootstrap CI [value] to [value]); the intermediate range for 95% accuracy ran from [value] to [value] and contained [value]% of the results.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 3 reference tests compare the results with SciPy, scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.

    독립 계산. SciPy·scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과(허용오차 1e-6).

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 Two-Graph ROC Analysis (TG-ROC) on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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.

Method ID Q95020 · Reviewed 2026-10-25