surv2sample-package {surv2sample} | R Documentation |
The package provides tests for comparing two survival distributions, testing equality of two cumulative incidence functions under competing risks and checking goodness of fit of proportional rate models (proportional hazards, proportional odds) for two samples.
The package implements many two-sample tests for right-censored survival data. Three main areas and corresponding methods are:
surv2.logrank
: weighted logrank tests and their combinations (max, sum)
surv2.neyman
: Neyman's smooth test and its data-driven version
surv2.ks
: Kolmogorov–Smirnov, Cramer–von Mises and
Anderson–Darling test
cif
: estimation and plotting of cumulative incidence functions
cif2.logrank
: logrank-type test for subdistribution hazards
cif2.neyman
: Neyman's smooth test and its data-driven version
cif2.ks
: Kolmogorov–Smirnov test
cif2.int
: integrated-difference test
proprate2
: estimation based on the simplified partial likelihood
proprate2.ks
: Kolmogorov–Smirnov test
proprate2.neyman
: Neyman's smooth test and its data-driven version
proprate2.gs
: Gill–Schumacher type test
The package also provides three datasets:
gastric
: gastric cancer data
bmt1
: bone marrow transplant data
hepatitis
: chronic active hepatitis data
David Kraus (http://www.davidkraus.net/)
There are several technical reports on the topics covered by this package available at http://www.davidkraus.net/surv2sample/.