KMWdf: Kaplan-Meier Weighted estimator for the bivariate...

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

View source: R/KMWdf.R

Description

Provides estimates for the bivariate distribution function based on Kaplan-Meier Weights: Kaplan-Meier Weighted estimator, KMW.

Usage

1
KMWdf(object, x, y)

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.

Value

Vector with the Kaplan-Meier weights estimates for the bivariate distribution function.

Author(s)

Gustavo Soutinho and Luis Meira-Machado

References

de Una-Alvarez J, Meira Machado LF (2008). "A Simple Estimator of the Bivariate Distribution Function for Censored Gap Times", Statistical and Probability Letters, 78, 2440-2445. Davison, A.C. and Hinkley, D.V. (1997) "Bootstrap Methods and Their Application", Chapter 5. Cambridge University Press.

See Also

IPCWdf, LDMdf, LINdf and WCHdf.

Examples

1
2
3
4
5
data("bladder4state")
b3state <- multidf(time1=bladder4state$y1, event1=bladder4state$d1, 
                   time=bladder4state$y1+bladder4state$y2,status=bladder4state$d2)

KMWdf(b3state,x=13,y=20)

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