Skip to main content

Sample Size Considerations for Diagnostic Tests

Application to Sensitivity and Specificity

  • Chapter
  • First Online:
Methods of Clinical Epidemiology

Part of the book series: Springer Series on Epidemiology and Public Health ((SSEH))

  • 4567 Accesses

Abstract

Innovations in diagnostic techniques are increasing worldwide. Sensitivity and specificity are used to measure the accuracy of new dichotomous outcome diagnostic tests in the presence of an existing gold standard. The first question to be dealt is what number of subjects is sufficient to attain adequate power in the case of hypothesis testing. This chapter explains sample size issues for estimating the sensitivity and specificity and compares sensitivity and specificity under different goals for two commonly used study designs, case–control and prospective designs in paired and unpaired subjects. The chapter also explains and compares the three methods to control uncertainty under the prospective design.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Bibliography

  • Arkin CF, Wachtel MS (1990) How many patients are necessary to assess test performance? JAMA 263:275–278

    Article  PubMed  CAS  Google Scholar 

  • Buderer NMF (1996) Statistical methodology: I. Incorporating the prevalence of disease into the sample size calculation for sensitivity and specificity. Acad Emerg Med 3:895–900

    Article  PubMed  CAS  Google Scholar 

  • Casagrande JT, Pike MC (1978) An improved approximate formula for calculating sample sizes for comparing two binomial distributions. Biometrics 34:483–486

    Article  PubMed  CAS  Google Scholar 

  • Cohen J (1977) Differences between proportions. In: Statistical power analysis for the behavioral sciences. Academic, Orlando, pp 179–214

    Google Scholar 

  • Conner RJ (1987) Sample size for testing differences in proportions for the paired sample design. Biometrics 43:207–211

    Article  Google Scholar 

  • Flahault A, Cadilhac M, Thomas G (2005) Sample size calculation should be performed for design accuracy in diagnostic test studies. J Clin Epidemiol 58:859–862

    Article  PubMed  Google Scholar 

  • Fosgate GT (2005) Modified exact sample size for binomial proportion with special emphasis on diagnostic test parameters estimation. Stat Med 24:2857–2866

    Article  PubMed  Google Scholar 

  • Hintze J (2011). PASS 11. NCSS, LLC, Kaysville. http://www.ncss.com. Accessed 5 May 2012

  • Lachenbruch PA (1992) On the sample size for studies based upon McNemar’s test. Stat Med 11:1521–1526

    Article  PubMed  CAS  Google Scholar 

  • Li J, Fine J (2004) On sample size for sensitivity and specificity in prospective diagnostic accuracy studies. Stat Med 23:2537–2550

    Article  PubMed  Google Scholar 

  • Lu Y, Bean JA (1995) On the sample size for one-sided equivalence of sensitivities based upon McNemar’s test. Stat Med 14:1831–1839

    Article  PubMed  CAS  Google Scholar 

  • Machin D, Campbell M, Fayers P, Pinol A (1997) Sample size tables for clinical studies, 2nd edn. Blackwell Science, Oxford

    Google Scholar 

  • Malhotra KR, Indrayan A (2010) A simple nomogram for sample size for estimating sensitivity and specificity of medical test. Indian J Ophthalmol 58:519–522

    Article  PubMed  Google Scholar 

  • Schatzkin A, Connor RJ, Taylor PR, Bunnag B (1987) Comparing new and old screening tests when a reference procedure cannot be performed on all screenees. Am J Epidemiol 25:672–678

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rajeev Kumar Malhotra .

Editor information

Editors and Affiliations

Appendix: How to Use the Goal Seek Command Available in the What if Analysis Tool in the Data Menu for Solving Equations Using MS Excel 2007

Appendix: How to Use the Goal Seek Command Available in the What if Analysis Tool in the Data Menu for Solving Equations Using MS Excel 2007

To solve the equation:

  1. 1.

    Open an Excel spreadsheet and write the value for case–control sample size obtained (cell B1)

  2. 2.

    Write the value of the sample size obtained using the naive approach in cell B2

  3. 3.

    Write the anticipated prevalence of disease in cell B3

  4. 4.

    Calculate the value of the standard normal distribution using the function NORMSINV for the desired probability; for example, the upper tail for probability 0.95 under the standard normal distribution is −1.645

  5. 5.

    Put the equation \( \frac{{B1-B3\times B2}}{{\sqrt{{B3\times (1-B3)\times B2}}}} \) in cell B5

From the Excel menu bar, click Data, locate the Data tool panel and then What if analysis item; from What if analysis select Goal Seek. The Goal Seek dialogue box appears

  1. 1.

    Set cell: insert B5 (the equation as described above)

  2. 2.

    To value: write the value of the standard normal of the preselected probability using the NORMSINV function

  3. 3.

    By changing cell: insert B2

Goal Seek changes the value of cell B2 until the desired solution of the equation is obtained, i.e. −1.64485. The final value of n appears in cell B2.

How to Use the Goal Seek Command to Solve the Exact Binomial Using MS Excel 2007

  1. 1.

    Open an Excel spreadsheet and write the value of the sample size obtained using the naive approach in cell B1 (to avoid convergence problem)

  2. 2.

    Write the value for the case–control sample size obtained (cell B2)

  3. 3.

    Write the anticipated prevalence of disease in cell B3

  4. 4.

    Write the function = 1 – BINOMDIST (x, n, prev, 1) where x is number of successes, n = sample size, Prev is the probability, 1 is the cumulative probability

From the Excel menu bar, click Data, locate the Data tool panel and then the What if analysis item; from what if analysis, select Goal Seek. The Goal Seek dialogue box appears

  1. 1.

    Set cell: insert B4, the expression as described above

  2. 2.

    To value: insert the value of the preselected probability = 0.95

  3. 3.

    By changing cell: insert B1

Goal Seek changes the value of cell B1 until 1 – BINOMSDIT is 0.95 and the final value of n appears in cell B1. Sometimes you may not find the exact solution; the user may try other adjacent values of sample size based on the naive approach.

Table 7.3 Number of subjects with disease (or without disease) for estimation of the expected sensitivity (or specificity) ranging from 0.50 to 0.99
Table 7.4 Study sample size for estimating the sensitivity in prospective design using the naive method, normal approximation, and exact binomial
Table 7.5 Number of subjects required using the mid-point level for one-sided equivalence for various sensitivities with 80 % and 90 % power and 95 % confidence level

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Malhotra, R.K. (2013). Sample Size Considerations for Diagnostic Tests. In: Doi, S., Williams, G. (eds) Methods of Clinical Epidemiology. Springer Series on Epidemiology and Public Health. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-37131-8_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-37131-8_7

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-37130-1

  • Online ISBN: 978-3-642-37131-8

  • eBook Packages: MedicineMedicine (R0)

Publish with us

Policies and ethics