CRAN/E | sampsizeval

sampsizeval

Sample Size for Validation of Risk Models with Binary Outcomes

Installation

About

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.

github.com/mpavlou/sampsizeval
Bug report File report

Key Metrics

Version 1.0.0.0
Published 2021-05-28 1071 days ago
Needs compilation? no
License MIT
License File
CRAN checks sampsizeval results

Downloads

Yesterday 7 +75%
Last 7 days 39 -36%
Last 30 days 181 +29%
Last 90 days 407 -32%
Last 365 days 1.804 -21%

Maintainer

Maintainer

Menelaos Pavlou

m.pavlou@ucl.ac.uk

Authors

Menelaos Pavlou

aut / cre

Material

README
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Imports

stats
sn
pracma
dplyr
plyr

Suggests

testthat ≥ 3.0.0