Package: sampsizeval 1.0.0.0

sampsizeval: Sample Size for Validation of Risk Models with Binary Outcomes

Estimation of the required sample size to validate a risk model for binary outcomes, based on the sample size equations proposed by Pavlou et al. (2021) <doi:10.1177/09622802211007522>. For precision-based sample size calculations, the user is required to enter the anticipated values of the C-statistic and outcome prevalence, which can be obtained from a previous study. The user also needs to specify the required precision (standard error) for the C-statistic, the calibration slope and the calibration in the large. The calculations are valid under the assumption of marginal normality for the distribution of the linear predictor.

Authors:Menelaos Pavlou [aut, cre]

sampsizeval_1.0.0.0.tar.gz
sampsizeval_1.0.0.0.zip(r-4.5)sampsizeval_1.0.0.0.zip(r-4.4)sampsizeval_1.0.0.0.zip(r-4.3)
sampsizeval_1.0.0.0.tgz(r-4.4-any)sampsizeval_1.0.0.0.tgz(r-4.3-any)
sampsizeval_1.0.0.0.tar.gz(r-4.5-noble)sampsizeval_1.0.0.0.tar.gz(r-4.4-noble)
sampsizeval_1.0.0.0.tgz(r-4.4-emscripten)sampsizeval_1.0.0.0.tgz(r-4.3-emscripten)
sampsizeval.pdf |sampsizeval.html
sampsizeval/json (API)

# Install 'sampsizeval' in R:
install.packages('sampsizeval', repos = c('https://mpavlou.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mpavlou/sampsizeval/issues

On CRAN:

1 exports 2 stars 0.92 score 29 dependencies 4 scripts 155 downloads

Last updated 3 months agofrom:158e5edbef. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 26 2024
R-4.5-winOKAug 26 2024
R-4.5-linuxOKAug 26 2024
R-4.4-winOKAug 26 2024
R-4.4-macOKAug 26 2024
R-4.3-winOKAug 26 2024
R-4.3-macOKAug 26 2024

Exports:sampsizeval

Dependencies:clidplyrfansigenericsgluelatticelifecyclemagrittrMASSMatrixMatrixModelsmnormtnumDerivpillarpkgconfigplyrpracmaquantregR6RcpprlangsnSparseMsurvivaltibbletidyselectutf8vctrswithr