TriaLab Power Studio · Method
Area under one ROC curve against a fixed value
Sizes the diseased and non-diseased needed to show that a diagnostic test’s area under the ROC curve — the whole curve or a clinically relevant false-positive range — differs from a fixed value, by the binormal model of Obuchowski & McClish for rating scales or Hanley & McNeil’s approximation for a continuous score (PASS 260); the Precision target sizes the area’s confidence interval (PASS 261).
Also known as: ROC, AUC, area under the curve, C-statistic, binormal, partial area, Hanley and McNeil, Obuchowski.
Maturity
Validated: 24 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: offered.
- 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 (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. - Confidence-interval half-width (
half_width_target): a number, above 0; entered as proportion (0-1) or percent Half the total width of the confidence interval, in the units the effect is measured in — the distance from the estimate to either limit, where the interval is symmetric about it. Used when solving for precision; ignored for every other target.
The method’s own
- Null area (AUC₀) (
auc_null): a number, at least 0.5 and below 1; default 0.8; entered as proportion (0-1) or percent The area the test must be shown to differ from, on the full-area scale (0.5 is chance, and may be entered); under a partial range this is McClish’s transformed value, PASS’s AUC′. - Anticipated area (AUC₁) (
auc): a number, above 0.5 and below 1; default 0.85; entered as proportion (0-1) or percent The area the test is expected to have, 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 260’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 (the non-diseased follow at the ratio R) (
diseased): a whole number, at least 1 Diseased participants (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 area to detect — The anticipated area, or its difference from the null.
- Anticipated area, the form’s default: PASS’s AUC1. (fields
auc) - Difference: Obuchowski’s Δ. (fields
difference)
Modifiers admitted
dropout: Dropout
Published examples it reproduces (24)
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 260, Tests for One ROC Curve | Example 1: AUC₀ 0.8, AUC₁ 0.825, rating data, B 1, R 2, 20 diseased => power 0.04806 | Power | alpha = 0.05; auc = 0.825; auc_null = 0.8; data = rating; diseased = 20; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc |
power = 0.04806 ± 0.000005 |
| PASS chapter 260, Tests for One ROC Curve | Example 1: AUC₀ 0.8, AUC₁ 0.825, rating data, B 1, R 2, 1000 diseased => power 0.72636 | Power | alpha = 0.05; auc = 0.825; auc_null = 0.8; data = rating; diseased = 1000; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc |
power = 0.72636 ± 0.000005 |
| PASS chapter 260, Tests for One ROC Curve | Example 1: AUC₀ 0.8, AUC₁ 0.825, rating data, B 1, R 2, 2000 diseased => power 0.95496 | Power | alpha = 0.05; auc = 0.825; auc_null = 0.8; data = rating; diseased = 2000; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc |
power = 0.95496 ± 0.000005 |
| PASS chapter 260, Tests for One ROC Curve | Example 1: AUC₀ 0.8, AUC₁ 0.85, rating data, B 1, R 2, 50 diseased => power 0.1834 | Power | alpha = 0.05; auc = 0.85; auc_null = 0.8; data = rating; diseased = 50; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc |
power = 0.1834 ± 0.000005 |
| PASS chapter 260, Tests for One ROC Curve | Example 1: AUC₀ 0.8, AUC₁ 0.85, rating data, B 1, R 2, 500 diseased => power 0.96287 | Power | alpha = 0.05; auc = 0.85; auc_null = 0.8; data = rating; diseased = 500; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc |
power = 0.96287 ± 0.000005 |
| PASS chapter 260, Tests for One ROC Curve | Example 1: AUC₀ 0.8, AUC₁ 0.9, rating data, B 1, R 2, 50 diseased => power 0.65634 | Power | alpha = 0.05; auc = 0.9; auc_null = 0.8; data = rating; diseased = 50; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc |
power = 0.65634 ± 0.000005 |
| PASS chapter 260, Tests for One ROC Curve | Example 1: AUC₀ 0.8, AUC₁ 0.9, rating data, B 1, R 2, 100 diseased => power 0.94738 | Power | alpha = 0.05; auc = 0.9; auc_null = 0.8; data = rating; diseased = 100; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 2; sd_ratio = 1; tails = two_sided; effect expressed as auc |
power = 0.94738 ± 0.000005 |
| PASS chapter 260, Tests for One ROC Curve | Example 2: 90% power => 1582 diseased (twice as many non-diseased) | Sample size | alpha = 0.05; auc = 0.825; auc_null = 0.8; 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 |
diseased = 1582 ± 0 |
| PASS chapter 260, Tests for One ROC Curve | Example 2: 90% power => 381 diseased (twice as many non-diseased) | Sample size | alpha = 0.05; auc = 0.85; auc_null = 0.8; 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 |
diseased = 381 ± 0 |
| PASS chapter 260, Tests for One ROC Curve | Example 2: 90% power => 85 diseased (twice as many non-diseased) | Sample size | alpha = 0.05; auc = 0.9; auc_null = 0.8; 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 |
diseased = 85 ± 0 |
| PASS chapter 260, Tests for One ROC Curve | Example 3: the same over false-positive rates 0 to 0.20 (areas 0.128 against 0.137, 0.146, 0.164) => 2663 diseased | Sample size | alpha = 0.05; auc = 0.825; auc_null = 0.8; 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 |
diseased = 2663 ± 0 |
| PASS chapter 260, Tests for One ROC Curve | Example 3: the same over false-positive rates 0 to 0.20 (areas 0.128 against 0.137, 0.146, 0.164) => 645 diseased | Sample size | alpha = 0.05; auc = 0.85; auc_null = 0.8; 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 |
diseased = 645 ± 0 |
| PASS chapter 260, Tests for One ROC Curve | Example 3: the same over false-positive rates 0 to 0.20 (areas 0.128 against 0.137, 0.146, 0.164) => 144 diseased | Sample size | alpha = 0.05; auc = 0.9; auc_null = 0.8; 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 |
diseased = 144 ± 0 |
| Obuchowski & McClish 1997, §6, through PASS 260 Example 4 | A 1.2 (AUC 0.7995), B 1, R 1.5, interval length 0.10 as a 50%-power test of a 0.05 difference => PASS’s 162 diseased, 243 non-diseased; their 161 and 242 give a power just under 0.5 | Sample size | alpha = 0.05; auc = 0.8495; auc_null = 0.7995; data = rating; fpr_lower = 0; fpr_upper = 1; non_diseased_ratio = 1.5; power_target = 0.5; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 162 ± 0 |
| Obuchowski & McClish 1997, Stat Med 16:1529, §6 | MRI for cartilage abnormalities: A 1.2, B 1, R 1.5, a 95% interval of half-length 0.05 => their 161 diseased with f 0.197 and g −0.118 rounded to three places; the exact f 0.19682 and g −0.11809 give 160 (their 40 at 0.10 is 40 either way) | Precision | alpha = 0.05; auc = 0.801928; auc_null = 0.75; data = rating; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.05; non_diseased_ratio = 1.5; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 161 ± 1 |
| Obuchowski & McClish 1997, §6 | The same at a half-length of 0.10 => 40 diseased, 60 non-diseased | Precision | alpha = 0.05; auc = 0.801928; auc_null = 0.75; data = rating; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.1; non_diseased_ratio = 1.5; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 40 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.6, Hanley & McNeil’s standard error, 95% interval of width 0.05, equal groups => 976 per group | Precision | alpha = 0.05; auc = 0.6; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.025; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 976 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.7, Hanley & McNeil’s standard error, 95% interval of width 0.05, equal groups => 830 per group | Precision | alpha = 0.05; auc = 0.7; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.025; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 830 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.8, Hanley & McNeil’s standard error, 95% interval of width 0.05, equal groups => 602 per group | Precision | alpha = 0.05; auc = 0.8; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.025; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 602 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.9, Hanley & McNeil’s standard error, 95% interval of width 0.05, equal groups => 314 per group | Precision | alpha = 0.05; auc = 0.9; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.025; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 314 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.6, Hanley & McNeil’s standard error, 95% interval of width 0.1, equal groups => 245 per group | Precision | alpha = 0.05; auc = 0.6; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.05; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 245 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.7, Hanley & McNeil’s standard error, 95% interval of width 0.1, equal groups => 208 per group | Precision | alpha = 0.05; auc = 0.7; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.05; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 208 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.8, Hanley & McNeil’s standard error, 95% interval of width 0.1, equal groups => 151 per group | Precision | alpha = 0.05; auc = 0.8; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.05; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 151 ± 0 |
| PASS chapter 261, Confidence Intervals for the Area Under an ROC Curve | Example 1: AUC 0.9, Hanley & McNeil’s standard error, 95% interval of width 0.1, equal groups => 79 per group | Precision | alpha = 0.05; auc = 0.9; auc_null = 0.55; data = continuous; fpr_lower = 0; fpr_upper = 1; half_width_target = 0.05; non_diseased_ratio = 1; sd_ratio = 1; tails = two_sided; effect expressed as auc |
diseased = 79 ± 0 |
Sources
- NCSS. PASS Sample Size Software, chapter 260: Tests for One ROC Curve; chapter 261: Confidence Intervals for the Area Under an ROC Curve.
- 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.
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 →