Skip to content

pmsampsize

Sample Size for Development of a Prediction Model

v1.1.3 · Dec 6, 2023 · GPL (>= 3)

Description

Computes the minimum sample size required for the development of a new multivariable prediction model using the criteria proposed by Riley et al. (2018) <doi: 10.1002/sim.7992>. pmsampsize can be used to calculate the minimum sample size for the development of models with continuous, binary or survival (time-to-event) outcomes. Riley et al. (2018) <doi: 10.1002/sim.7992> lay out a series of criteria the sample size should meet. These aim to minimise the overfitting and to ensure precise estimation of key parameters in the prediction model.

Downloads

1.2K

Last 30 days

3452nd

3K

Last 90 days

11.8K

Last year

Trend: +28% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies predictNMB pmsampsize

Version History

new 1.1.3 Mar 10, 2026
updated 1.1.3 ← 1.1.2 diff Dec 5, 2023
updated 1.1.2 ← 1.1.1 diff Feb 11, 2022
updated 1.1.1 ← 1.1.0 diff Nov 21, 2021
updated 1.1.0 ← 1.0.3 diff Jun 24, 2021
updated 1.0.3 ← 1.0.2 diff Jul 22, 2020
updated 1.0.2 ← 1.0.1 diff Nov 14, 2019
updated 1.0.1 ← 1.0.0 diff Aug 1, 2019
new 1.0.0 Jan 7, 2019