Learn R Programming

CopulaCenR (version 1.2.3)

ACTG181: ACTG181

Description

An example real dataset of bivariate interval-censored data with 204 subjects and one covariate. The data come from the AIDS Clinical Trials Group protocol ACTG 181. Two events are the shedding time (in months) of cytomegalovirus (CMV) in urine/blood and the colonization time (in months) of mycobacterium avium complex (MAC) in sputum/stool (Betensky and Finkelstein, 1999).

Usage

data("ACTG181")

Arguments

Format

A data frame with 408 observations on the following 6 variables.

id

subject id

ind

margin indicator, 1=shedding time, 2=colonization time

Left

left bound of observed interval

Right

right bound of observed interval

status

censoring indicator; 1=interval-censor, 0=right censor. All observations are interval-censored in this dataset

x

covariate

Examples

Run this code
data(ACTG181)
clayton_sp <- ic_spTran_copula(data = ACTG181,
                           copula = "Clayton",
                           l = 0, u = 25,
                           r = 3, m = 3,
                           var_list = "x")
summary(clayton_sp)

Run the code above in your browser using DataLab