Generating key points…
Answers are grounded in this paper and cite their sources.
Background: Diagnostic accuracy studies require adequate sample sizes for the measures they intend to estimate. Existing calculators differ in their design inputs, interval methods, and reporting interfaces. Objective: To present diagDesignDTA, a bilingual R package for calculating sample size and expected precision for sensitivity, specificity, and the area under the receiver operating characteristic curve (AUC), including recruitment planning for multiple markers measured in the same participants. Methods: The package uses Wald approximations for sensitivity and specificity, the Hanley–McNeil variance for a single AUC, and the log-delta method for likelihood ratios. Sensitivity and specificity calculations support prevalence-based and diagnostic case–control designs. AUC calculations use a control-to-case ratio or fixed group counts. We verified the five exported functions against published examples and independent calculations in R. Results: Version 0.2.1 passed all 162 numerical checks. The package reproduced the published AUC standard error of 0.0437 and positive likelihood ratio of 3.75 (95% confidence interval 3.32–4.24). Different rounding rules gave totals of 1,255 in a published sensitivity example and 1,260 in diagDesignDTA. The package provides summaries in English and Spanish. Conclusions: diagDesignDTA provides a bilingual workflow for selecting recruitment targets and assessing the expected precision of diagnostic accuracy measures. Its outputs help researchers document their assumptions and justify their sample size in a study protocol.
No takes yet. Share an insight, caveat, or question.
Ballena-Caicedo et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: