Learn R Programming

survivalREC (version 1.1)

WCHdf: Weighted cumulative hazard estimator for the bivariate distribution function

Description

Provides estimates for the bivariate distribution function based on Weighted cumulative hazard estimator (WCH).

Usage

WCHdf(object, x, y)

Value

Vector with the Weighted cumulative hazard estimates for the bivariate distribution function.

Arguments

object

An object of class multidf.

x

The first time for obtaining estimates for the bivariate distribution function.

y

The second time for obtaining estimates for the bivariate distribution function.

Author

Gustavo Soutinho and Luis Meira-Machado

References

Wang, M.C. and Wells, M.T. (1998). Nonparametric Estimation of successive duration times under dependent censoring, Biometrika 85, 561-572.

See Also

IPCWdf, KMWdf, LINdf and LDMdf.

Examples

Run this code
data("bladder3")

b3<-multidf(gap1=bladder3$t1, event1=bladder3$d1, 
            gap2=bladder3$t2-bladder3$t1,status=bladder4state$d2)  

head(b3[[1]])
WCHdf(b3,x=13,y=20)

Run the code above in your browser using DataLab