Learn R Programming

frailtypack (version 2.4.1)

dataMultiv: Simulated data with two types of recurrent events and a dependant terminal event

Description

This contains simulated data with two different types of recurrent event times and a terminal event time from a multivariate frailty models with two gaussian random effects. This data set is useful to illustrate how to fit a multivariate frailty model. This database combines different observations for each subject (sample size=250, number of lines=1237 so in average four recurrent events per subject). The right-censored case is treated only and the calendar timescale representation is used. Exponential death times and recurring times are generated using a gaussian multivariate frailty model. The frailty terms are iid $N(0,0.5)$ and correlated with $\rho=0.5$ and $\alpha1=0.6$ and $\alpha2=-0.3$, the coefficient associated with the frailty term in the death time hazard function, is set at 0. The right-censoring variable is set at 5 and the covariate is generated from a Bernoulli distribution (p=0.5).

Usage

data(dataMultiv)

Arguments