Learn R Programming

CopulaCenR (version 1.2.3)

Kidney: Kidney

Description

A real dataset of bivariate right-censored data with 38 subjects and 3 covariates. The data are the recurrence times to infection, at the point of insertion of the catheter, for kidney patients using portable dialysis equipment. Catheters may be removed for reasons other than infection, in which case the observation is censored. Each patient has exactly 2 observations.

Usage

data("Kidney")

Arguments

Format

A data frame with 76 observations on the following 7 variables.

id

subject id

ind

margin indicator

obs_time

observed time

status

event status

age

in years

sex

1=male, 2=female

disease

disease type with 4 levels Other GN AN PKD

References

CA McGilchrist, CW Aisbett (1991), Regression with frailty in survival analysis. Biometrics 47, 461-66.

Examples

Run this code
data(Kidney)
clayton_cox <- rc_spCox_copula(data = Kidney,
               var_list = c("age","sex","disease"),
               copula = "Clayton",
               method = "BFGS",
               B = 2)
summary(clayton_cox)

Run the code above in your browser using DataLab