mzTest: Maller-Zhou test

View source: R/mzTest.R

mzTestR 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)

pseudoCure documentation built on April 12, 2025, 1:46 a.m.