TriaLab Power Studio · Method

Two ROC curves compared, same participants (paired areas)

Diagnostic accuracy Validated 14 published examples

Sizes the diseased and non-diseased needed to show that two diagnostic tests’ areas under the ROC curve differ — over the whole curve or a false-positive range — when both tests score the same participants, with the correlation between their scores carried into the comparison, by Obuchowski & McClish’s binormal model for rating scales or Hanley & McNeil’s approximation for a continuous score (PASS 265).

Also known as: two ROC curves, compare AUCs, correlated ROC areas, DeLong, Hanley and McNeil, Obuchowski, binormal, partial area.

Maturity

Validated: 14 published examples from 2 independent publications (Obuchowski & McClish 1997; PASS) reproduce on every build (ADR-0001 §58).

What it solves for

  • Sample size: offered.
  • Power: offered.
  • Detectable effect: offered.
  • Precision: not offered — No source on disk sizes the interval for a difference of two areas; PASS sizes the test only, and the one-curve kernel sizes an area’s interval.
  • Assurance: not offered — No source on disk states a prior on this design’s effect, so the assurance modifier is not admitted here.
  • Duration: not offered — This design has no time axis: each participant is scored once, so calendar time does not enter the power function.

Size axes:

  • Diseased participants, scored by both tests (the non-diseased follow at the ratio R) (diseased), Count

Inputs

Every field as the form shows it, with its help. A field marked advanced sits behind Expert mode.

Common to every method

  • Significance level (alpha) (alpha): a number, above 0 and below 1; default 0.05; typically 0.01 to 0.05 (0.05 in most trials; 0.01 for confirmatory claims); entered as proportion (0-1) or percent The type I error rate. Interpreted as two-sided when testing plain equality and one-sided when a margin frame is active, following the usual convention.
  • Target power (power_target): a number, above 0 and below 1; default 0.8; typically 0.8 to 0.9 (0.80 is conventional; 0.90 for definitive trials); entered as proportion (0-1) or percent The chance of a significant result if the assumed effect is real. Used when solving for sample size or detectable effect; ignored when solving for power.

The method’s own

  • Area of test 1 (AUC₁) (auc_1): a number, above 0.5 and below 1; default 0.8; entered as proportion (0-1) or percent On the full-area scale (McClish’s transformed value under a partial range).
  • Area of test 2 (AUC₂) (auc_2): a number, above 0.5 and below 1; default 0.85; entered as proportion (0-1) or percent On the same scale.
  • Difference in area to detect (AUC₂ − AUC₁) (difference): a number, above -0.5 and below 0.5; default 0.05; entered as proportion (0-1) or percent On the full-area scale.
  • Type of score (data): a choice; default rating A rating scale (1 to 5, per cent confidence) takes Obuchowski & McClish’s binormal variance; a continuous measurement takes Hanley & McNeil’s approximation, which Obuchowski (1998) found better there and which knows only the whole curve.
    • rating Discrete rating scale: Binormal, Obuchowski & McClish 1997; any false-positive range.
    • continuous Continuous score: Hanley & McNeil 1982; the whole curve.
  • Non-diseased per diseased participant (R) (non_diseased_ratio): a number, above 0; default 1 The design’s ratio of non-diseased to diseased; the prevalence’s odds in a prospective study, or a choice in a case–control one. Obuchowski & McClish’s Table IV shows a ratio near 1 is close to best.
  • Correlation of the two tests’ scores among the diseased (r₊) (correlation_diseased): a number, at least -1 and at most 1; default 0.6 Obuchowski & McClish’s r_A; for a continuous score the average of the two correlations enters Hanley & McNeil’s table.
  • Correlation of the two tests’ scores among the non-diseased (r₋) (correlation_non_diseased): a number, at least -1 and at most 1; default 0.6 Obuchowski & McClish’s r_N.
  • Ratio of score SDs, non-diseased to diseased (B) (sd_ratio), advanced: a number, above 0; default 1 The binormal curve’s slope parameter; 1 is the symmetric curve and, Obuchowski & McClish show, the conservative choice when nothing is known.
  • Lower false-positive rate of the range (fpr_lower), advanced: a number, at least 0 and below 1; default 0; entered as proportion (0-1) or percent 0 for the whole curve.
  • Upper false-positive rate of the range (fpr_upper), advanced: a number, above 0 and at most 1; default 1; entered as proportion (0-1) or percent 1 for the whole curve; 0.2 confines the index to specificities of 0.8 and above.
  • Sidedness of the test (tails): a choice; default two_sided Two-sided uses z at α/2 (PASS 265’s default); one-sided at α, in the anticipated direction.
    • two_sided Two-sided: Alpha split over both tails.
    • one_sided One-sided: Alpha in the tail of the anticipated direction.

Sizes entered when another axis is solved for

  • Diseased participants, scored by both tests (the non-diseased follow at the ratio R) (diseased): a whole number, at least 1 Diseased participants, scored by both tests (the non-diseased follow at the ratio R). Required when solving for power or detectable effect; produced by the solver when solving for sample size.

Ways to express an input

The difference to detect — Test 2’s area, or its difference from test 1’s.

  • Test 2’s area, the form’s default: PASS’s AUC2. (fields auc_2)
  • Difference: Obuchowski’s Δ. (fields difference)

Modifiers admitted

  • dropout: Dropout

Published examples it reproduces (14)

Each is a worked example: the inputs as a user enters them, and the number the source prints, which the engine reproduces within the tolerance on every build (the Validation screen runs them on your machine).

Source Example Solves for Inputs Published
PASS chapter 265, Tests for Two ROC Curves Example 1: AUC₁ 0.8, AUC₂ 0.825, rating data, B 1, R 2, correlations 0.6, 20 diseased => power 0.0501 Power alpha = 0.05; auc_1 = 0.8; auc_2 = 0.825; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; diseased = 20; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 power = 0.0501 ± 0.00005
PASS chapter 265, Tests for Two ROC Curves Example 1: AUC₁ 0.8, AUC₂ 0.825, rating data, B 1, R 2, correlations 0.6, 2000 diseased => power 0.909 Power alpha = 0.05; auc_1 = 0.8; auc_2 = 0.825; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; diseased = 2000; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 power = 0.909 ± 0.00005
PASS chapter 265, Tests for Two ROC Curves Example 1: AUC₁ 0.8, AUC₂ 0.85, rating data, B 1, R 2, correlations 0.6, 50 diseased => power 0.1737 Power alpha = 0.05; auc_1 = 0.8; auc_2 = 0.85; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; diseased = 50; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 power = 0.1737 ± 0.00005
PASS chapter 265, Tests for Two ROC Curves Example 1: AUC₁ 0.8, AUC₂ 0.85, rating data, B 1, R 2, correlations 0.6, 500 diseased => power 0.9116 Power alpha = 0.05; auc_1 = 0.8; auc_2 = 0.85; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; diseased = 500; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 power = 0.9116 ± 0.00005
PASS chapter 265, Tests for Two ROC Curves Example 1: AUC₁ 0.8, AUC₂ 0.9, rating data, B 1, R 2, correlations 0.6, 50 diseased => power 0.5494 Power alpha = 0.05; auc_1 = 0.8; auc_2 = 0.9; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; diseased = 50; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 power = 0.5494 ± 0.00005
PASS chapter 265, Tests for Two ROC Curves Example 1: AUC₁ 0.8, AUC₂ 0.9, rating data, B 1, R 2, correlations 0.6, 100 diseased => power 0.8496 Power alpha = 0.05; auc_1 = 0.8; auc_2 = 0.9; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; diseased = 100; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 power = 0.8496 ± 0.00005
PASS chapter 265, Tests for Two ROC Curves Example 2: 90% power => 1937 diseased Sample size alpha = 0.05; auc_1 = 0.8; auc_2 = 0.825; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; power_target = 0.9; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 diseased = 1937 ± 0
PASS chapter 265, Tests for Two ROC Curves Example 2: 90% power => 480 diseased Sample size alpha = 0.05; auc_1 = 0.8; auc_2 = 0.85; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; power_target = 0.9; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 diseased = 480 ± 0
PASS chapter 265, Tests for Two ROC Curves Example 2: 90% power => 117 diseased Sample size alpha = 0.05; auc_1 = 0.8; auc_2 = 0.9; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; power_target = 0.9; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 diseased = 117 ± 0
PASS chapter 265, Tests for Two ROC Curves Example 3: over false-positive rates 0 to 0.20 => 4095 diseased Sample size alpha = 0.05; auc_1 = 0.8; auc_2 = 0.825; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 0.2; non_diseased_ratio = 2; power_target = 0.9; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 diseased = 4095 ± 0
PASS chapter 265, Tests for Two ROC Curves Example 3: over false-positive rates 0 to 0.20 => 1012 diseased Sample size alpha = 0.05; auc_1 = 0.8; auc_2 = 0.85; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 0.2; non_diseased_ratio = 2; power_target = 0.9; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 diseased = 1012 ± 0
PASS chapter 265, Tests for Two ROC Curves Example 3: over false-positive rates 0 to 0.20 => 242 diseased Sample size alpha = 0.05; auc_1 = 0.8; auc_2 = 0.9; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 0.2; non_diseased_ratio = 2; power_target = 0.9; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 diseased = 242 ± 0
Obuchowski & McClish 1997, Stat Med 16:1529, §7 (PASS 265 Example 4) Mammography: transformed partial areas 0.9222 and 0.8194 over 0–0.20 (A 2.6 and 1.9), B 1, R 2, correlations 0.6, two-sided 0.05, 80% power => 109 diseased, 218 non-diseased Sample size alpha = 0.05; auc_1 = 0.922222; auc_2 = 0.819444; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 0.2; non_diseased_ratio = 2; power_target = 0.8; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 diseased = 109 ± 0
Obuchowski & McClish 1997, §7 The 218 non-diseased of the same design Sample size alpha = 0.05; auc_1 = 0.922222; auc_2 = 0.819444; correlation_diseased = 0.6; correlation_non_diseased = 0.6; data = rating; fpr_lower = 0; fpr_upper = 0.2; non_diseased_ratio = 2; power_target = 0.8; sd_ratio = 1; tails = two_sided; effect expressed as auc_2 non_diseased = 218 ± 0

Sources

  1. NCSS, LLC. PASS 2026 documentation, chapter 265: Tests for Two ROC Curves. Kaysville, UT: NCSS, LLC; 2026.
  2. Obuchowski NA, McClish DK. Sample size determination for diagnostic accuracy studies involving binormal ROC curve indices. Stat Med. 1997;16:1529-1542.
  3. Hanley JA, McNeil BJ. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology. 1982;143:29-36.
  4. Hanley JA, McNeil BJ. A method of comparing the areas under receiver operating characteristic curves derived from the same cases. Radiology. 1983;148:839-843.

This page was generated from TriaLab Power Studio 2.0.1's engine, as the method is built, and is published in English only. All methods →