Learn R Programming

⚠️There's a newer version (2023.04.12) of this package.Take me there.

pec (version 2.4.9)

Prediction Error Curves for Risk Prediction Models in Survival Analysis

Description

Validation of risk predictions obtained from survival models and competing risk models based on censored data using inverse weighting and cross-validation.

Copy Link

Version

Install

install.packages('pec')

Monthly Downloads

7,095

Version

2.4.9

License

GPL (>= 2)

Maintainer

Thomas Alexander Gerds

Last Published

May 14th, 2016

Functions in pec (2.4.9)

Pbc3

Pbc3 data
R2

Explained variation for survival models
cindex

Concordance index for right censored survival time data
cost

Copenhagen Stroke Study
resolvesplitMethod

Resolve the splitMethod for estimation of prediction performance
ipcw

Estimation of censoring probabilities
GBSG2

German Breast Cancer Study Group 2
predictLifeYearsLost

Predicting life years lost (cumulative cumulative incidences) in competing risk models.
pecCtree

S3-Wrapper for ctree.
Special

Drawing bootstrapped cross-validation curves and the .632 or .632plus error of models. The prediction error for an optional benchmark model can be added together with bootstrapped cross-validation error and apparent errors.
threecity

threecity data
plotPredictEventProb

Plotting predicted survival curves.
crps

Summarizing prediction error curves
simCost

Simulate COST alike data
wallyPlot

Wally plots to assess calibration of a risk or survival prediction
pecCforest

S3-wrapper function for cforest from the party package
plotPredictSurvProb

Plotting predicted survival curves.
predictSurvProb

Predicting survival probabilities
coxboost

Formula interface for function CoxBoost of package CoxBoost.
calPlot

Calibration plots for right censored data
selectCox

Backward variable selection in the Cox regression model
pecRpart

Predict survival based on rpart tree object
pec

Prediction error curves
reclass

Retrospective risk reclassification table
plot.calibrationPlot

Plot objects obtained with calPlot
plot.pec

Plotting prediction error curves
predictRestrictedMeanTime

Predicting restricted mean time
selectFGR

Stepwise variable selection in the Fine & Gray regression competing risk model
print.pec

Printing a `pec' (prediction error curve) object.
predictEventProb

Predicting event probabilities (cumulative incidences) in competing risk models.