get.gap.kt: Cause-Specific Kendall's tau Estimation

Description Usage Arguments Value Examples

Description

Estimate the modified cause-specific Kendall's tau for the evaluation of association for bivariate gap time with competing risks. See bigtcr-package.

Usage

1
get.gap.kt(obs.y, event, v, tau = Inf, nbs = 0)

Arguments

obs.y

Y: time to failure events or censoring

event

0: censored; 1, … J: type of failure events

v

Time to the first failure event (e.g. disease recurrence)

tau

Conditioning time τ under which the CCIF is defined

nbs

Number of bootstrap samples for bootstrap variances. When nbs is smaller than 1, bootstrap variances are not evaluated.

Value

A list of the estimation and variances of modified casue-specific Kendall's tau

Examples

1
2
Kt <- get.gap.kt(obs.y=pancancer$obs.y, event=pancancer$min.type,
               v=pancancer$v, tau=120, nbs=5)

bigtcr documentation built on May 2, 2019, 6:03 a.m.