gLRT1
conducts a $k$(>=2)-sample test for interval-censored survival data. The test is based on Zhao and Sun (2004). The null hypothesis is that all $k$ survival functions of the failure time are the same, and the alternative hypothesis is that not all functions are the same.
gLRT1(A, k = 2, M = 50, EMstep = TRUE, ICMstep = TRUE, tol = 1e-06,
maxiter = 1000, inf = Inf)
ModifiedEMICM
.Censoring interval for each observation take the form $(L_i, R_i]$. For exact observations, $L_i = R_i$.
The estimated covariance of the test statistic depends on random resampling. It is normal that two runs of the test gLRT1
yield different test results.
The chi-square test used in gLRT1
has $k-1$ degrees of freedom.
Q. Zhao (2012), "gLRT - A New R Package for Analyzing Interval-censored Survival Data", Interval-Censored Time-to-Event Data: Methods and Applications, CRC Press, 377-396.
gLRT
, gLRT2
, gLRT3
, gLRT4
, ScoreTest
data(cosmesis)
gLRT1(cosmesis, inf=100)
data(diabetes)
gLRT1(diabetes, M=20)
Run the code above in your browser using DataLab