WCH3df: Weighted cumulative hazard estimator for the general case of...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/WCH3df.R

Description

Provides estimates for the general case of K gap times distribution function based based on Weighted cumulative hazard estimator, WCH.

Usage

1
WCH3df(object, x, y, z)

Arguments

object

An object of class multidf.

x

The first time for obtaining estimates for the general case of K gap times distribution function.

y

The second time for obtaining estimates for the general case of K gap times distribution function.

z

The third time for obtaining estimates for the general case of K gap times distribution function.

Value

Vector with the Weighted cumulative hazard estimates for the general case of K gap times distribution function.

Author(s)

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

KMW3df, LIN3df and LDM3df.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
b4state <- multidf(time1=bladder5state$y1, event1=bladder5state$d1, 
time2= bladder5state$y1+bladder5state$y2, event2=bladder5state$d2,
time=bladder5state$y1+bladder5state$y2+bladder5state$y3, status=bladder5state$d3)

head(b4state)[[1]]

WCH3df(b4state,x=13,y=20,z=40)

b4 <- multidf(time1=bladder4$t1, event1=bladder4$d1,
              time2= bladder4$t2, event2=bladder4$d2,
              time=bladder4$t3, status=bladder4$d3)
              
WCH3df(b4,x=13,y=20,z=40)

gsoutinho/survrec documentation built on Dec. 20, 2021, 1:46 p.m.