Other packages > Find by keyword >

pec  

Prediction Error Curves for Risk Prediction Models in Survival Analysis
View on CRAN: Click here


Download and install pec package within the R console
Install from CRAN:
install.packages("pec")

Install from Github:
library("remotes")
install_github("cran/pec")

Install by package version:
library("remotes")
install_version("pec", "2025.06.24")



Attach the package and use:
library("pec")
Maintained by
Thomas A. Gerds
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2008-07-28
Latest Update: 2025-07-24
Description:
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'.
How to cite:
Thomas A. Gerds (2008). pec: Prediction Error Curves for Risk Prediction Models in Survival Analysis. R package version 2025.06.24, https://cran.r-project.org/web/packages/pec. Accessed 01 Sep. 2026.
Previous versions and publish date:
(2026-07-09 06:40), 1.0.7 (2008-07-28 08:18), 1.1.0 (2009-04-15 13:03), 1.1.1 (2009-06-24 16:04), 2.0.8 (2011-10-12 17:37), 2.1.1 (2011-12-15 11:39), 2.1.2 (2011-12-22 20:10), 2.1.7 (2012-01-30 21:18), 2.1.8 (2012-08-27 19:23), 2.1.9 (2012-08-28 22:07), 2.2.2 (2012-09-18 08:24), 2.2.4 (2012-10-30 12:50), 2.2.5 (2013-01-08 09:24), 2.2.6 (2013-01-08 16:28), 2.2.9 (2013-03-25 16:11), 2.3.7 (2014-09-05 17:51), 2.4.4 (2014-12-05 12:55), 2.4.7 (2015-10-05 12:58), 2.4.9 (2016-05-14 23:19), 2.5.3 (2017-03-06 15:45), 2.5.4 (2017-08-08 14:56), 2018.04.18 (2018-04-18 10:18), 2018.07.26 (2018-07-26 12:10), 2019.11.03 (2019-11-03 22:20), 2020.11.17 (2020-11-16 17:30), 2021.10.11 (2021-10-11 16:30), 2022.03.06 (2022-03-08 17:50), 2022.05.04 (2022-05-04 14:00), 2023.04.12 (2023-04-11 14:10)
Other packages that cited pec R package
View pec citation profile
Other R packages that pec depends, imports, suggests or enhances
Complete documentation for pec
Functions, R codes and Examples using the pec R package
Some associated functions: GBSG2 . Pbc3 . R2 . Special . calPlot . cindex . cost . coxboost . crps . ipcw . pec . pecCforest . pecCtree . pecRpart . plot.calibrationPlot . plot.pec . plotPredictEventProb . plotPredictSurvProb . predictEventProb . predictLifeYearsLost . predictRestrictedMeanTime . predictSurvProb . print.pec . reclass . resolvesplitMethod . selectCox . simCost . threecity . 
Some associated R codes: CindexBootstrapCrossValidation.R . CindexKFoldCrossValidation.R . ConfInt.Cindex.R . ConfScoreSurv.R . Dint.R . R2.R . Special.R . allComparisons.R . baselineHazard.coxph.R . bootstrapCrossValidation.R . calPlot.R . checkModels.R . cindex.R . crps.R . ibs.R . internalReevalFit.R . internalTalk.R . ipcw.R . kFoldCrossValidation.R . marginal.prodlim.R . pec-package.R . pec.R . plot.CiCindex.R . plot.Cindex.R . plot.calibrationPlot.R . plot.confScoreSurv.R . plot.pec.R . plot.riskReclassification.R . plotPredictEventProb.R . plotPredictSurvProb.R . predictEventProb.R . predictEventProb.coxboost.R . predictEventProb.pseudoForest.R . predictLandmark.R . predictLifeYearsLost.R . predictRestrictedMeanTime.R . predictSurvProb.FastBw.R . predictSurvProb.R . predictSurvProb.cforest.R . predictSurvProb.ctree.R . predictSurvProb.penfitS3.R . predictSurvProb.pseudoForest.R . print.Cindex.R . print.ConfScoreSurv.R . print.IPCW.R . print.R2.R . print.calibrationPlot.R . print.crps.R . print.method.R . print.multiSplitTest.R . print.pec.R . print.riskReclassification.R . print.splitMethod.R . print.vandeWielTest.R . pseudo.kFoldCrossValidation.R . reclass.R . resolveSplitMethod.R . selectCox.R . simCost.R . summary.Cindex.R . summary.confScoreSurv.R . summary.pec.R . survest.aalen.R . survest.cox.aalen.R . testResiduals.R .  Full pec package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

flood  
Statistical Methods for the (Regional) Analysis of Flood Frequency
Includes several statistical methods for the estimation of parameters and high quantiles of river fl ...
Download / Learn more Package Citations See dependency  
reproj  
Coordinate System Transformations for Generic Map Data
Transform coordinates from a specified source to a specified target map projection. This uses the ' ...
Download / Learn more Package Citations See dependency  
fANCOVA  
Nonparametric Analysis of Covariance
A collection of R functions to perform nonparametric analysis of covariance for regression curves o ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
markets  
Estimation Methods for Markets in Equilibrium and Disequilibrium
Provides estimation methods for markets in equilibrium and disequilibrium. Supports the estimation ...
Download / Learn more Package Citations See dependency  

28,400

R Packages

239,283

Dependencies

75,283

Author Associations

28,401

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA