powered by
Perform the paired log-rank test on the truncation times and the residual survival times to check the stationarity assumption (uniform truncation assumption) of the left-truncated right-censored data.
plr(dat, A.name = "As", Y.name = "Ys", D.name = "Ds")
a list containing the test statistic and the p-value of the paired log-rant test.
a data.frame of left-truncated right-censored data.
the name of the truncation time variable in dat.
dat
the name of the survival time variable in dat.
the name of the event indicator in dat.
Jung, S.H. (1999). Rank tests for matched survival data. Lifetime Data Analysis, 5(1):67-79.
dat = sim.ltrc(n = 50, distr.A = "weibull")$dat plr(dat)
Run the code above in your browser using DataLab