POWER_DIAGNOSTIC: Stata module to compute power and sample size for sensitivity and specificity of a diagnostic test
Ariel Linden
Statistical Software Components from Boston College Department of Economics
Abstract:
The power diagnostic suite of commands is useful for planning prospective studies evaluating the accuracy of diagnostic tests for a binary outcome (e.g. diseased/not-diseased) and in which a test's sensitivity and specificity are the measures of interest. Sensitivity is the probability of a test detecting disease when the patient actually has the disease, and specificity is the probability that the test is negative when the patient is actually disease-free. Sample size and power can be computed for a one-sample, two-sample, and paired-sample diagnostic test. All power diagnostic commands implement the naive prevalence inflation method introduced by Obuchowski and Zhou (2002). Li and Fine (2004) found this method (which they refer to as "Method 0") to be a useful approximation to exact sample-size calculations based on unconditional power, which are more computationally intensive. Sample size can be computed given power, and power can be computed given sample size. Results can be displayed in a table (default) and on a graph ([PSS-2] power, graph).
Language: Stata
Requires: Stata version 11
Keywords: power; sensitivity; specificity (search for similar items in EconPapers)
Date: 2022-08-26
Note: This module should be installed from within Stata by typing "ssc install power_diagnostic". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... cmd_onesens_init.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... de/_/cmd_onesens.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/power_onesens.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... cmd_onespec_init.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... de/_/cmd_onespec.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/power_onespec.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... md_pairsens_init.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... e/_/cmd_pairsens.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/power_pairsens.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... md_pairspec_init.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... e/_/cmd_pairspec.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/power_pairspec.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... cmd_twosens_init.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... de/_/cmd_twosens.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/power_twosens.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... cmd_twospec_init.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/powerFile-URL:h ... de/_/cmd_twospec.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/p/power_twospec.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/p/power_diagnostic.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s459116
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().