KONPsurv-package {KONPsurv}R Documentation

KONP Tests for Testing the Equality of K Distributions for Right-Censored Data

Description

An implementation of the K-sample omnibus non-proportional hazrds (KONP) tests.

The KONP tests are powerful non-parametric tests for comparing K (>=2) hazard functions based on right-censored data. These tests are consistent against any differences between the hazard functions of the groups. The KONP tests are often more powerful than other existing tests, especially under non-proportional hazard functions.

Details

The package contains one function:

konp_test: non-parametric tests for equality of K distributions using right-censored data.

Author(s)

Author and Maintainer: Matan Schlesinger matan.schles@gmail.com

Author: Malka Gorfine gorfinem@tauex.tau.ac.il

References

Gorfine, M., Schlesinger, M., & Hsu, L. (2019). K-sample omnibus non-proportional hazards tests based on right-censored data. arXiv preprint arXiv:1901.05739. https://arxiv.org/pdf/1901.05739v1.pdf

Examples

  
## Generate some data to preform the test
set.seed(1)
n <- 50
time <- rexp(n)
status <- sample(c(0,1),n,TRUE)
group <- c(rep(0,25),rep(1,25))

konp_test(time,status,group,n_perm=10^3)  
  

[Package KONPsurv version 1.0.1 Index]