Learn R Programming

survivalREC (version 1.1)

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

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

LINdf(object, x, y)

Value

Vector with the Lin's 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

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

Run this code

b3state<-multidf(gap1=bladder4state$y1, event1=bladder4state$d1, 
                 gap2=bladder4state$y2, status=bladder4state$d2, 
                 size=bladder4state$size)
             
LINdf(b3,x=13,y=20)

Run the code above in your browser using DataLab