TriaLab Power Studio · Method

Sensitivity of one diagnostic test against a fixed value

Diagnostic accuracy Validated Free 28 published examples

Sizes the diseased participants needed to show that a diagnostic test’s sensitivity differs from a fixed value, by the exact binomial test on the stratum (PASS 270 after Li & Fine) or the normal approximation, and turns the stratum into the total to screen through the prevalence. The Precision target sizes the sensitivity’s confidence interval by any of PASS 271’s five formulas.

Also known as: sensitivity, diagnostic accuracy, true positive rate, true negative rate, prevalence, screening, gold standard, binomial, Li and Fine.

Maturity

Validated: 28 published examples from 2 independent publications (Machin, Campbell, Tan & Tan 2018; 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 tested once, so calendar time does not enter the power function.

Size axes:

  • Diseased participants (the stratum the sensitivity is estimated on) (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 sensitivity (Se₀) (null_value): a number, above 0 and below 1; default 0.7; entered as proportion (0-1) or percent The sensitivity the test must be shown to exceed (or differ from): the existing test’s, a regulatory floor, or the clinically useless value.
  • Anticipated sensitivity (Se₁) (alternative_value): a number, at least 0 and at most 1; default 0.85; entered as proportion (0-1) or percent The sensitivity the test is expected to have; the size is computed at it.
  • Increase in sensitivity to detect (difference): a number, above -1 and below 1; default 0.1; entered as proportion (0-1) or percent The anticipated sensitivity less the null value; negative to show the test is worse.
  • Disease prevalence among those screened (blank: the stratum is sampled directly) (prevalence): a number, above 0 and below 1; entered as proportion (0-1) or percent In a prospective study every participant is tested and the diseased are found afterwards, so the stratum the design needs is reached only by screening its count divided by the prevalence — the total is a derived row. Leave blank for a case–control design that recruits the stratum directly.
  • Test (test): a choice; default exact The exact binomial test enumerates its rejection region and reports the realised size; the normal approximation is Obuchowski’s (1998) formula with the binomial variances under each hypothesis, which Machin (2018) prints as equation 21.15.
    • exact Exact binomial test: PASS chapter 270 after Li & Fine (2004).
    • normal Normal approximation: Obuchowski 1998; Machin 2018 eq. 21.15.
  • Sidedness of the test (tails): a choice; default two_sided Two-sided splits alpha over both tails of the binomial (PASS 270’s default); one-sided puts it in the tail of the anticipated direction, the usual form for showing a test at least as good as a floor.
    • two_sided Two-sided: Alpha split over both tails.
    • one_sided One-sided: Alpha in the tail of the anticipated direction.
  • Confidence interval formula (Precision target) (interval), advanced: a choice; default clopper_pearson The interval whose width the Precision target holds, at the anticipated value: PASS chapter 271’s five, Newcombe’s (1998) comparison behind them. The exact interval is the usual choice for a sensitivity near one.
    • clopper_pearson Exact (Clopper–Pearson): Inverts the binomial distribution; never below the nominal level.
    • wilson Score (Wilson): Inverts the score test; not centred on the estimate.
    • wilson_cc Score with continuity correction: Wilson’s, corrected.
    • wald Simple asymptotic: The estimate ± z times its standard error.
    • wald_cc Simple asymptotic with continuity correction: The Wald interval, corrected by 1/(2n).

Sizes entered when another axis is solved for

  • Diseased participants (the stratum the sensitivity is estimated on) (diseased): a whole number, at least 1 Diseased participants (the stratum the sensitivity is estimated on). Required when solving for power or detectable effect; produced by the solver when solving for sample size.

Ways to express an input

The sensitivity to detect — As a difference from the null value, or as the anticipated value itself.

  • Anticipated value, the form’s default: PASS’s spelling. (fields alternative_value)
  • Difference from the null: Obuchowski’s. (fields difference)

Modifiers admitted

  • dropout: Dropout

Published examples it reproduces (28)

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 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.781, 18 diseased (6% of 300) => power 0.07259 Power alpha = 0.05; alternative_value = 0.781; diseased = 18; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.07259 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.781, 180 diseased (6% of 3000) => power 0.51251 Power alpha = 0.05; alternative_value = 0.781; diseased = 180; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.51251 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.8165, 18 diseased (6% of 300) => power 0.13169 Power alpha = 0.05; alternative_value = 0.8165; diseased = 18; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.13169 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.8165, 90 diseased (6% of 1500) => power 0.6159 Power alpha = 0.05; alternative_value = 0.8165; diseased = 90; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.6159 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.8165, 180 diseased (6% of 3000) => power 0.89183 Power alpha = 0.05; alternative_value = 0.8165; diseased = 180; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.89183 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.852, 54 diseased (6% of 900) => power 0.59406 Power alpha = 0.05; alternative_value = 0.852; diseased = 54; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.59406 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.852, 126 diseased (6% of 2100) => power 0.9713 Power alpha = 0.05; alternative_value = 0.852; diseased = 126; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.9713 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.8875, 18 diseased (6% of 300) => power 0.38294 Power alpha = 0.05; alternative_value = 0.8875; diseased = 18; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.38294 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 1: Se₀ 0.71, Se₁ 0.8875, 72 diseased (6% of 1200) => power 0.97152 Power alpha = 0.05; alternative_value = 0.8875; diseased = 72; null_value = 0.71; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value power = 0.97152 ± 0.000005
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 2: Se₀ 0.71, Se₁ 0.781, 90% power, two-sided 0.05 => 401 diseased (PASS’s 6683 screened at 6%, rounding N to the nearest; this engine rounds it up) Sample size alpha = 0.05; alternative_value = 0.781; null_value = 0.71; power_target = 0.9; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 401 ± 0
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 2: Se₀ 0.71, Se₁ 0.8165, 90% power, two-sided 0.05 => 173 diseased (PASS’s 2883 screened at 6%, rounding N to the nearest; this engine rounds it up) Sample size alpha = 0.05; alternative_value = 0.8165; null_value = 0.71; power_target = 0.9; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 173 ± 0
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 2: Se₀ 0.71, Se₁ 0.852, 90% power, two-sided 0.05 => 93 diseased (PASS’s 1550 screened at 6%, rounding N to the nearest; this engine rounds it up) Sample size alpha = 0.05; alternative_value = 0.852; null_value = 0.71; power_target = 0.9; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 93 ± 0
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 2: Se₀ 0.71, Se₁ 0.8875, 90% power, two-sided 0.05 => 55 diseased (PASS’s 917 screened at 6%, rounding N to the nearest; this engine rounds it up) Sample size alpha = 0.05; alternative_value = 0.8875; null_value = 0.71; power_target = 0.9; prevalence = 0.06; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 55 ± 0
Li & Fine 2004, Stat Med 23:2537, p. 2545, through PASS 270 Example 3 Se₀ 0.5, Se₁ 0.9, prevalence 0.01, one-sided 0.05, 90% power => 11 diseased, 1100 screened (their unconditional power 0.904, PASS’s conditional 0.91044) Sample size alpha = 0.05; alternative_value = 0.9; null_value = 0.5; power_target = 0.9; prevalence = 0.01; tails = one_sided; test = exact; effect expressed as alternative_value diseased = 11 ± 0
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 3: the 11 diseased at a prevalence of 0.01 are 1100 screened Sample size alpha = 0.05; alternative_value = 0.9; null_value = 0.5; power_target = 0.9; prevalence = 0.01; tails = one_sided; test = exact; effect expressed as alternative_value participants_screened = 1100 ± 0
PASS chapter 270, Tests for One-Sample Sensitivity and Specificity Example 3: the conditional power at 11 diseased, 0.91044 Power alpha = 0.05; alternative_value = 0.9; diseased = 11; null_value = 0.5; prevalence = 0.01; tails = one_sided; test = exact; effect expressed as alternative_value power = 0.91044 ± 0.000005
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.5, exact 95% interval of width 0.04 => 2449 positives Precision alpha = 0.05; alternative_value = 0.5; half_width_target = 0.02; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 2449 ± 0
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.7, exact 95% interval of width 0.04 => 2065 positives Precision alpha = 0.05; alternative_value = 0.7; half_width_target = 0.02; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 2065 ± 0
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.9, exact 95% interval of width 0.04 => 914 positives Precision alpha = 0.05; alternative_value = 0.9; half_width_target = 0.02; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 914 ± 0
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.5, exact 95% interval of width 0.06 => 1098 positives Precision alpha = 0.05; alternative_value = 0.5; half_width_target = 0.03; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 1098 ± 0
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.7, exact 95% interval of width 0.06 => 928 positives Precision alpha = 0.05; alternative_value = 0.7; half_width_target = 0.03; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 928 ± 0
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.9, exact 95% interval of width 0.06 => 417 positives Precision alpha = 0.05; alternative_value = 0.9; half_width_target = 0.03; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 417 ± 0
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.8, exact 95% interval of width 0.04 => 1585 positives Precision alpha = 0.05; alternative_value = 0.8; half_width_target = 0.02; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 1585 ± 0
PASS chapter 271, Confidence Intervals for One-Sample Sensitivity Example 1: sensitivity 0.85, exact 95% interval of width 0.06 => 576 positives Precision alpha = 0.05; alternative_value = 0.85; half_width_target = 0.03; interval = clopper_pearson; null_value = 0.5; prevalence = 0.3; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 576 ± 0
Hajian-Tilaki 2014, J Biomed Inform 48:193, p. 195, through PASS 271 Example 2 Sensitivity 0.8, simple asymptotic interval, margin 0.07, prevalence 0.1 => 126 positives (his 1254 screened is the unrounded 125.4; PASS and this engine screen 1260) Precision alpha = 0.05; alternative_value = 0.8; half_width_target = 0.07; interval = wald; null_value = 0.5; prevalence = 0.1; tails = two_sided; test = exact; effect expressed as alternative_value diseased = 126 ± 0
PASS chapter 271, Example 2 The 126 positives at a prevalence of 0.1 are 1260 screened Precision alpha = 0.05; alternative_value = 0.8; half_width_target = 0.07; interval = wald; null_value = 0.5; prevalence = 0.1; tails = two_sided; test = exact; effect expressed as alternative_value participants_screened = 1260 ± 0
Machin, Campbell, Tan & Tan 2018, Example 21.3 Se known 0.86, planned 0.95, prevalence 0.55, one-sided 2.5%, 80% power, exact binomial => 164 screened (90 diseased) Sample size alpha = 0.025; alternative_value = 0.95; null_value = 0.86; power_target = 0.8; prevalence = 0.55; tails = one_sided; test = exact; effect expressed as alternative_value participants_screened = 164 ± 0
Machin, Campbell, Tan & Tan 2018, Example 21.3 The same by equation 21.15 => his 167.38, 168 screened; this engine rounds the stratum first (92.06 → 93 diseased) and screens 170, as PASS does Sample size alpha = 0.025; alternative_value = 0.95; null_value = 0.86; power_target = 0.8; prevalence = 0.55; tails = one_sided; test = normal; effect expressed as alternative_value participants_screened = 168 ± 2

Sources

  1. NCSS. PASS Sample Size Software, chapter 270: Tests for One-Sample Sensitivity and Specificity; chapters 271–272: Confidence Intervals for One-Sample Sensitivity / Specificity.
  2. Li J, Fine J. On sample size for sensitivity and specificity in prospective diagnostic accuracy studies. Stat Med. 2004;23:2537-2550.
  3. Obuchowski NA. Sample size calculations in studies of test accuracy. Stat Methods Med Res. 1998;7:371-392.
  4. Machin D, Campbell MJ, Tan SB, Tan SH. Sample Sizes for Clinical, Laboratory and Epidemiology Studies. 4th ed. Chichester: Wiley; 2018. §21.3.
  5. Hajian-Tilaki K. Sample size estimation in diagnostic test studies of biomedical informatics. J Biomed Inform. 2014;48:193-204.

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 →