pec: Prediction Error Curves for Risk Prediction Models in Survival Analysis

Validation of risk predictions obtained from survival models and competing risk models based on censored data using inverse weighting and cross-validation. Most of the 'pec' functionality has been moved to 'riskRegression'.

Version: 2023.04.12
Depends: R (≥ 2.9.0), prodlim (≥ 1.4.9)
Imports: foreach (≥ 1.4.2), rms (≥ 4.2-0), survival (≥ 2.37-7), riskRegression (≥ 2020.02.05), lava (≥ 1.4.1), timereg (≥ 1.8.9)
Suggests: party, cmprsk (≥ 2.2-7), rpart, Hmisc (≥ 3.14-4)
Enhances: randomForestSRC
Published: 2023-04-11
DOI: 10.32614/CRAN.package.pec
Author: Thomas A. Gerds
Maintainer: Thomas A. Gerds <tag at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: pec citation info
Materials: README
In views: Survival
CRAN checks: pec results


Reference manual: pec.pdf


Package source: pec_2023.04.12.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): pec_2023.04.12.tgz, r-oldrel (arm64): pec_2023.04.12.tgz, r-release (x86_64): pec_2023.04.12.tgz, r-oldrel (x86_64): pec_2023.04.12.tgz
Old sources: pec archive

Reverse dependencies:

Reverse imports: bnnSurvival, DynForest, Landmarking, obliqueRSF, OSTE, pammtools, survex, SurvMetrics, timeROC
Reverse suggests: adjustedCurves, censored, discSurv, mlr, multipleOutcomes, randomForestSRC, riskRegression


Please use the canonical form to link to this page.