dataMultiv: Simulated data for two types of recurrent events and a...

dataMultivR Documentation

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

Description

This contains a simulated sample of of 800 subjects and 1652 observations. This dataset can be used to illustrate how to fit a joint multivariate frailty model. Two gaussian correlated random effects were generated with mean 0, variances 0.5 and a correlation coefficient equals to 0.5. The coefficients \alpha_1 and \alpha_2 were fixed to 1. The three baseline hazard functions followed a Weibull distribution and right censoring was fixed at 5.

Usage

data(dataMultiv)

Format

This data frame contains the following columns:

PATIENT

identification of patient

obs

number of observation for a patient

TIME0

start of interval

TIME1

end of interval (death or censoring time)

INDICREC

recurrent of type 1 status (0:no, 1:yes)

INDICMETA

recurrent of type 2 status (0:no, 1:yes)

INDICDEATH

censoring status (0:alive, 1:death)

v1

dichotomous covariate (0,1)

v2

dichotomous covariate (0,1)

v3

dichotomous covariate (0,1)

TIMEGAP

time to event


frailtypack documentation built on Oct. 20, 2024, 1:08 a.m.