mzTest {pseudoCure} | R Documentation |
Maller-Zhou test
Description
Performs the Maller-Zhou test.
Usage
mzTest(time, status)
Arguments
time |
A numeric vector for the observed survival times. |
status |
A numeric vector for the event indicator; 0 indicates right-censoring and 1 indicates events. |
Value
A list containing the Maller-Zhou test results, including the test statistic, p-value, and the number of observed events.
Examples
data(Teeth500)
mzTest(Teeth500$time, Teeth500$event)
[Package pseudoCure version 1.0.0 Index]