CRAN/E | psfmi

psfmi

Prediction Model Pooling, Selection and Performance Evaluation Across Multiply Imputed Datasets

Installation

About

Pooling, backward and forward selection of linear, logistic and Cox regression models in multiply imputed datasets. Backward and forward selection can be done from the pooled model using Rubin's Rules (RR), the D1, D2, D3, D4 and the median p-values method. This is also possible for Mixed models. The models can contain continuous, dichotomous, categorical and restricted cubic spline predictors and interaction terms between all these type of predictors. The stability of the models can be evaluated using (cluster) bootstrapping. The package further contains functions to pool model performance measures as ROC/AUC, Reclassification, R-squared, scaled Brier score, H&L test and calibration plots for logistic regression models. Internal validation can be done across multiply imputed datasets with cross-validation or bootstrapping. The adjusted intercept after shrinkage of pooled regression coefficients can be obtained. Backward and forward selection as part of internal validation is possible. A function to externally validate logistic prediction models in multiple imputed datasets is available and a function to compare models. For Cox models a strata variable can be included. Eekhout (2017) doi:10.1186/s12874-017-0404-7. Wiel (2009) doi:10.1093/biostatistics/kxp011. Marshall (2009) doi:10.1186/1471-2288-9-57.

mwheymans.github.io/psfmi/
Bug report File report

Key Metrics

Version 1.4.0
R ≥ 4.0.0
Published 2023-06-17 313 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks psfmi results

Downloads

Yesterday 25 0%
Last 7 days 89 -19%
Last 30 days 435 -6%
Last 90 days 1.336 -17%
Last 365 days 6.485 +3%

Maintainer

Maintainer

Martijn Heymans

mw.heymans@amsterdamumc.nl

Authors

Martijn Heymans

cre / aut

Iris Eekhout

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

Pool Model Performance
Pooling AUC values
Pooling and Selection of Cox Regression Models
Pooling and Selection of Linear Regression Models
Pooling and Selection of Logistic Regression Models
Working together: mice and psfmi

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-oldrelnot available

x86_64

Old Sources

psfmi archive

Depends

R ≥ 4.0.0

Imports

ggplot2
norm
survival
mitools
pROC
rms
magrittr
rsample
mice
mitml
cvAUC
dplyr
purrr
tidyr
tibble
stringr
lme4
car

Suggests

foreign ≥ 0.8-80
knitr
rmarkdown
testthat ≥ 3.0.0
bookdown
readr
gtools
covr