Package: survHC 0.1.0

survHC: Higher Criticism Tests for Non-Proportional Hazard Deviations

Implements omnibus tests for comparing two right-censored survival samples that are powerful against sparse departures from equal hazards, where the hazard difference is concentrated in a small and a priori unknown subset of the follow-up. Exact hypergeometric p-values are computed for each time interval and aggregated with the Higher Criticism statistic of Donoho and Jin (2004) <doi:10.1214/009053604000000265>, or alternatively with the Berk-Jones, Fisher or minimum-p statistics. Global p-values are obtained by permuting group labels, and the intervals driving a detection can be recovered for diagnostic plotting. Tests accept either two samples as vectors or the usual survival formula. The method is described in Kipnis, Galili and Yakhini (2026) <doi:10.1093/biomet/asaf075>, and the companion application note is Kipnis, Galili and Yakhini (2026) <doi:10.48550/arXiv.2610.07268>.

Authors:Alon Kipnis [aut, cre], Ben Galili [aut], Zohar Yakhini [aut]

survHC_0.1.0.tar.gz
survHC_0.1.0.zip(r-4.7-any)survHC_0.1.0.zip(r-4.6-any)survHC_0.1.0.zip(r-4.5-any)
survHC_0.1.0.tgz(r-4.6-any)survHC_0.1.0.tgz(r-4.5-any)
survHC_0.1.0.tar.gz(r-4.7-any)survHC_0.1.0.tar.gz(r-4.6-any)
survHC_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
survHC/json (API)

# Install 'survHC' in R:
install.packages('survHC', repos = c('https://alonkipnis.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/alonkipnis/lifelines-hc/issues

On CRAN:

Conda:

1.00 score 7 exports 0 dependencies

Last updated from:0ceba6afe3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK87
source / vignettesOK312
linux-releaseOK110
macos-releaseOK174
macos-oldrelOK125
windows-develOK65
windows-releaseOK110
windows-oldrelOK46
wasm-releaseOK94

Exports:berk_jones_testevent_pvaluesfisher_combination_testhigher_criticism_testmin_p_testplot_pvalue_profilesuspected_deviations

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Berk-Jones test for non-proportional hazard deviationsberk_jones_test berk_jones_test.default berk_jones_test.formula
Per-interval hypergeometric p-valuesevent_pvalues event_pvalues.default event_pvalues.formula
Fisher combination test for non-proportional hazard deviationsfisher_combination_test fisher_combination_test.default fisher_combination_test.formula
Higher Criticism test for non-proportional hazard deviationshigher_criticism_test higher_criticism_test.default higher_criticism_test.formula
Minimum-p test for non-proportional hazard deviationsmin_p_test min_p_test.default min_p_test.formula
Plot the per-interval p-value profileplot_pvalue_profile plot_pvalue_profile.default plot_pvalue_profile.formula
Intervals with suspected non-proportional hazard deviationssuspected_deviations suspected_deviations.default suspected_deviations.formula