gLRT2
function conducts a $k$(>=2)-sample test for interval-censored survival data. The test is based on Sun, Zhao, and Zhao (2005). 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.
gLRT2(A, k = 2, rho = 0, gamma = 0, EMstep = TRUE, ICMstep = TRUE,
tol = 1e-06, maxiter = 1000, inf = Inf)
ModifiedEMICM
.Censoring interval for each observation take the form $(L_i, R_i]$. No exact observations are allowed, i.e., $L_i < R_i$.
The chi-square test used in gLRT2
has k-1 degrees of freedom.
The link function used in gLRT2
is $\xi(x) = x log(x) x^\rho (1 - x)^\gamma. $
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
, gLRT1
, gLRT3
, gLRT4
, ScoreTest
data(cosmesis)
gLRT2(cosmesis, rho=0, gamma=1, inf=100)
Run the code above in your browser using DataLab