TriaLab Power Studio · Method
Two ROC curves compared, separate samples (independent areas)
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 each test scores its own sample, 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: 6 published examples from 2 independent publications (Hanley & McNeil 1982; 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 per test (the non-diseased follow at the ratio R) (
diseased_per_test), 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; defaultratingA 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.ratingDiscrete rating scale: Binormal, Obuchowski & McClish 1997; any false-positive range.continuousContinuous 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. - 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; defaulttwo_sidedTwo-sided uses z at α/2 (PASS 265’s default); one-sided at α, in the anticipated direction.two_sidedTwo-sided: Alpha split over both tails.one_sidedOne-sided: Alpha in the tail of the anticipated direction.
Sizes entered when another axis is solved for
- Diseased participants per test (the non-diseased follow at the ratio R) (
diseased_per_test): a whole number, at least 1 Diseased participants per test (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 (6)
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 5: areas 0.70 against 0.75, continuous score, equal groups, one-sided 0.05, 652 per group => PASS’s power 0.8003; the printed Hanley & McNeil formula gives up to 8.1e-4 less | Power | alpha = 0.05; auc_1 = 0.7; auc_2 = 0.75; data = continuous; diseased_per_test = 652; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 1; sd_ratio = 1; tails = one_sided; effect expressed as auc_2 |
power = 0.8003 ± 0.0009 |
| PASS chapter 265, Tests for Two ROC Curves | Example 5: areas 0.70 against 0.75, continuous score, equal groups, one-sided 0.05, 897 per group => PASS’s power 0.9001; the printed Hanley & McNeil formula gives up to 8.1e-4 less | Power | alpha = 0.05; auc_1 = 0.7; auc_2 = 0.75; data = continuous; diseased_per_test = 897; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 1; sd_ratio = 1; tails = one_sided; effect expressed as auc_2 |
power = 0.9001 ± 0.0009 |
| PASS chapter 265, Tests for Two ROC Curves | Example 5: areas 0.70 against 0.75, continuous score, equal groups, one-sided 0.05, 1129 per group => PASS’s power 0.9501; the printed Hanley & McNeil formula gives up to 8.1e-4 less | Power | alpha = 0.05; auc_1 = 0.7; auc_2 = 0.75; data = continuous; diseased_per_test = 1129; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 1; sd_ratio = 1; tails = one_sided; effect expressed as auc_2 |
power = 0.9501 ± 0.0009 |
| Hanley & McNeil 1982, Radiology 143:29, Table III (PASS 265 Example 5) | Areas 0.70 against 0.75, continuous score, equal groups, one-sided 0.05, 0.8 power => their 652 per group from equation (3) with z to two places; the exact quantiles give 653 (PASS prints 652, 897, 1129) | Sample size | alpha = 0.05; auc_1 = 0.7; auc_2 = 0.75; data = continuous; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 1; power_target = 0.8; sd_ratio = 1; tails = one_sided; effect expressed as auc_2 |
diseased_per_test = 652 ± 2 |
| Hanley & McNeil 1982, Radiology 143:29, Table III (PASS 265 Example 5) | Areas 0.70 against 0.75, continuous score, equal groups, one-sided 0.05, 0.9 power => their 897 per group from equation (3) with z to two places; the exact quantiles give 899 (PASS prints 652, 897, 1129) | Sample size | alpha = 0.05; auc_1 = 0.7; auc_2 = 0.75; data = continuous; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 1; power_target = 0.9; sd_ratio = 1; tails = one_sided; effect expressed as auc_2 |
diseased_per_test = 897 ± 2 |
| Hanley & McNeil 1982, Radiology 143:29, Table III (PASS 265 Example 5) | Areas 0.70 against 0.75, continuous score, equal groups, one-sided 0.05, 0.95 power => their 1131 per group from equation (3) with z to two places; the exact quantiles give 1131 (PASS prints 652, 897, 1129) | Sample size | alpha = 0.05; auc_1 = 0.7; auc_2 = 0.75; data = continuous; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 1; power_target = 0.95; sd_ratio = 1; tails = one_sided; effect expressed as auc_2 |
diseased_per_test = 1131 ± 2 |
Sources
- NCSS, LLC. PASS 2026 documentation, chapter 265: Tests for Two ROC Curves. Kaysville, UT: NCSS, LLC; 2026.
- Obuchowski NA, McClish DK. Sample size determination for diagnostic accuracy studies involving binormal ROC curve indices. Stat Med. 1997;16:1529-1542.
- Hanley JA, McNeil BJ. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology. 1982;143:29-36.
- 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 →