LINdf: Lin's estimator for the bivariate distribution function.

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

View source: R/LINdf.R

Description

Provides estimates for the bivariate distribution function based on the extension the Kaplan-Meier estimator of the distribution function for the first event time and the Inverse Probability of Censoring Weights for the second time.

Usage

1
LINdf(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 Lin's estimates for the bivariate distribution function.

Author(s)

Gustavo Soutinho and Luis Meira-Machado

References

Lin, D. Y., Sun, W. and Ying, Z. (1999). Nonparametric estimation of the gap time distributions for serial events with censored data, Biometrika 86, 59-70.

See Also

IPCWdf, LDMdf, KMWdf and WCHdf.

Examples

1
2
3
4
5
6
data("bladder3")
b3 <- multidf(time1=bladder3$t1, event1=bladder3$d1, 
             time=bladder3$t2, status=bladder3$d2)
             head(b3[[1]])
             
LINdf(b3,x=13,y=20)

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