The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
(Based on the Paper by Buderer - Pubmed ID 8870764)
This repository provides tools for calculating the sample size required for diagnostic studies, based on the methodology described in the paper by Buderer. The paper incorporates the prevalence of disease into the sample size calculation for sensitivity and specificity.
To use the SampleSizeDiagnostics
package, you can
install it from GitHub using the devtools
package:
library(devtools)
install_github("statpharm/SampleSizeDiagnostics")
library(SampleSizeDiagnostics)
To understand how to use the package and its functions, you can access the help documentation:
?SampleSizeDiagnostics
Here is an example of how to calculate the sample size with given parameters: This function call will calculate the required sample size for a diagnostic study with:
Sensitivity (sn) of 0.9
Specificity (sp) of 0.85
Prevalence (p) of 0.2
Width of the confidence interval (w) of 0.1
Confidence level (CI) of 0.95
SampleSizeDiagnostics(sn = 0.9,
sp = 0.85,
p = 0.2,
w = 0.1,
CI = 0.95)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.