KONPsurv-package {KONPsurv} | R Documentation |
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.
The package contains one function:
konp_test
: non-parametric tests for equality of K distributions using right-censored data.
Author and Maintainer: Matan Schlesinger matan.schles@gmail.com
Author: Malka Gorfine gorfinem@tauex.tau.ac.il
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
## 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)