Learn R Programming

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

frailtypack (version 2.7.1)

General Frailty models: shared, joint and nested frailty models with prediction

Description

Frailtypack fits several classes of frailty models using a penalized likelihood estimation on the hazard function but also a parametric estimation. 1) A shared frailty model (with gamma or log-normal frailty distribution) and Cox proportional hazard model. Clustered and recurrent survival times can be studied. 2) Additive frailty models for proportional hazard models with two correlated random effects (intercept random effect with random slope). 3) Nested frailty models for hierarchically clustered data (with 2 levels of clustering) by including two iid gamma random effects. 4) Joint frailty models in the context of joint modelling for recurrent events with terminal event for clustered data or not. Prediction values are available. Left-truncated (not for Joint model), right-censored data, interval-censored data (only for Cox proportional hazard and shared frailty model) and strata are allowed. In each model, the random effects have a gamma distribution, but you can switch to a log-normal in shared and joint models. Now, you can also consider time-varying covariates effects in Cox, shared and joint models. The package includes concordance measures for Cox proportional hazards models and for shared frailty models.

Copy Link

Version

Install

install.packages('frailtypack')

Monthly Downloads

1,186

Version

2.7.1

License

GPL (>= 2.0)

Maintainer

Virginie Rondeau

Last Published

October 8th, 2014

Functions in frailtypack (2.7.1)

frailtypack-package

General Frailty models: shared, joint and nested frailty models with prediction
plot.nestedPenal

Plot Method for a Nested frailty model.
additivePenal

Fit an Additive Frailty model using a semiparametric penalized likelihood estimation or a parametric estimation
Cmeasures

Concordance measures in shared frailty and Cox proportional hazard models
print.multivPenal

Print a Short Summary of parameter estimates of a multivariate frailty model
hazard

Hazard function.
dataNested

Simulated data with two levels of grouping
plot.predJoint

Plot predictions using a joint frailty model.
plot.epoce

Plot values of estimators of the Expected Prognostic Observed Cross-Entropy (EPOCE).
num.id

Identify individuals in Joint model for clustered data
event2

Identify event2 indicator
dataMultiv

Simulated data for two types of recurrent events and a terminal event
plot.frailtyPenal

Plot Method for a Shared frailty model.
print.frailtyPenal

Print a Short Summary of parameter estimates of a shared frailty model
plot.jointPenal

Plot Method for a Joint frailty model.
slope

Identify variable associated with the random slope
terminal

Identify terminal indicator
plot.additivePenal

Plot Method for an Additive frailty model.
print.nestedPenal

Print a Short Summary of parameter estimates of a nested frailty model
timedep

Identify time-varying effects
summary.frailtyPenal

summary of parameter estimates of a shared frailty model
summary.multivPenal

summary of parameter estimates of a multivariate frailty model.
dataAdditive

Simulated data as a gathering of clinical trials databases
subcluster

Identify subclusters
print.Cmeasures

Print a short summary of results of Cmeasure function.
summary.nestedPenal

summary of regression coefficient estimates of a nested frailty model
bcos

Breast Cosmesis Data
epoce

Estimators of the Expected Prognostic Observed Cross-Entropy (EPOCE) for evaluating predictive accuracy of joint frailty models.
SurvIC

Create a survival object for interval censoring and possibly left truncated data
plot.multivPenal

Plot Method for a multivariate frailty model.
multivPenal

Fit a multivariate frailty model for two types of recurrent events and a terminal event.
print.prediction

Print a short summary of results of prediction function.
print.additivePenal

Print a Short Summary of parameter estimates of an additive frailty model
print.jointPenal

Print a Short Summary of parameter estimates of a joint frailty model
frailtyPenal

Fit a Shared, Joint or Nested Frailty model
prediction

Prediction probabilities for Cox proportionnal hazard, Shared and Joint frailty models
Diffepoce

Difference of Expected Prognostic Observed Cross-Entropy (EPOCE) estimators and its 95% tracking interval between two joint frailty models.
summary.jointPenal

summary of parameter estimates of a joint frailty model
summary.additivePenal

summary of parameter estimates of an additive frailty model
readmission

Rehospitalization colorectal cancer
survival

Survival function
plot.predFrailty

Plot predictions using a Cox or a shared frailty model.
plot.Diffepoce

Plot difference of EPOCE estimators between two joint frailty models.