Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
1.0.0.0 rolling linux/jammy R-4.5 sampsizeval_1.0.0.0.tar.gz 26.8 KiB
1.0.0.0 rolling linux/noble R-4.5 sampsizeval_1.0.0.0.tar.gz 26.8 KiB
1.0.0.0 rolling source/ R- sampsizeval_1.0.0.0.tar.gz 7.0 KiB
1.0.0.0 latest linux/jammy R-4.5 sampsizeval_1.0.0.0.tar.gz 26.8 KiB
1.0.0.0 latest linux/noble R-4.5 sampsizeval_1.0.0.0.tar.gz 26.8 KiB
1.0.0.0 latest source/ R- sampsizeval_1.0.0.0.tar.gz 7.0 KiB
1.0.0.0 2026-04-26 source/ R- sampsizeval_1.0.0.0.tar.gz 7.0 KiB
1.0.0.0 2026-04-23 source/ R- sampsizeval_1.0.0.0.tar.gz 7.0 KiB
1.0.0.0 2026-04-09 windows/windows R-4.5 sampsizeval_1.0.0.0.zip 29.7 KiB
1.0.0.0 2025-04-20 source/ R- sampsizeval_1.0.0.0.tar.gz 7.0 KiB

Dependencies (latest)

Imports

Suggests