Learn R Programming

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

pencal (version 1.3.2)

Penalized Regression Calibration (PRC)

Description

Computes penalized regression calibration (PRC), a statistical method that allows to predict survival from high-dimensional longitudinal predictors. PRC is described in Signorelli et al. (2021) .

Copy Link

Version

Install

install.packages('pencal')

Monthly Downloads

243

Version

1.3.2

License

GPL-3

Maintainer

Mirko Signorelli

Last Published

December 15th, 2022

Functions in pencal (1.3.2)

fit_lmms

Step 1 of PRC-LMM (estimation of the linear mixed models)
draw_cluster_bootstrap

Draw a cluster bootstrap sample from a data frame in long format
getmlpmm

Extract model fits from step 1 of PRC-LMM
fit_prcmlpmm

Step 3 of PRC-MLPMM (estimation of the penalized Cox model(s))
getlmm

Extract model fits from step 1 of PRC-LMM
fit_mlpmms

Step 1 of PRC-MLPMM (estimation of the linear mixed models)
fit_prclmm

Step 3 of PRC-LMM (estimation of the penalized Cox model(s))
fitted_prclmm

A fitted PRC LMM
simulate_t_weibull

Generate survival data from a Weibull model
print.prcmlpmm

Print method for PRC-MLPMM model fits
simulate_prcmlpmm_data

Simulate data that can be used to fit the PRC-LMM model
print.prclmm

Print method for PRC-LMM model fits
summarize_mlpmms

Step 2 of PRC-MLPMM (computation of the predicted random effects)
performance_prc

Predictive performance of the PRC-LMM and PRC-MLPMM models
simulate_prclmm_data

Simulate data that can be used to fit the PRC-LMM model
prepare_longdata

Prepare longitudinal data for PRC
summarize_lmms

Step 2 of PRC-LMM (computation of the predicted random effects)
performance_pencox_baseline

Predictive performance of the penalized Cox model with baseline covariates
summary.prclmm

Summary method for PRC-LMM model fits
survpred_prclmm

Compute the predicted survival probabilities obtained from the PRC models
survpred_prcmlpmm

Compute the predicted survival probabilities obtained from the PRC models
summary.prcmlpmm

Summary method for PRC-MLPMM model fits
fitted_prcmlpmm

A fitted PRC MLPMM
pencox_baseline

Estimation of a penalized Cox model with baseline covariates onlu