powered by
Performs the Maller-Zhou test.
mzTest(time, status)
A list containing the Maller-Zhou test results, including the test statistic, p-value, and the number of observed events.
A numeric vector for the observed survival times.
A numeric vector for the event indicator; 0 indicates right-censoring and 1 indicates events.
data(Teeth500) mzTest(Teeth500$time, Teeth500$event)
Run the code above in your browser using DataLab