YPmodel: The Short-Term and Long-Term Hazard Ratio Model for Survival Data

Inference procedures accommodate a flexible range of hazard ratio patterns with a two-sample semi-parametric model. This model contains the proportional hazards model and the proportional odds model as sub-models, and accommodates non-proportional hazards situations to the extreme of having crossing hazards and crossing survivor functions. Overall, this package has four major functions: 1) the parameter estimation, namely short-term and long-term hazard ratio parameters; 2) 95 percent and 90 percent point-wise confidence intervals and simultaneous confidence bands for the hazard ratio function; 3) p-value of the adaptive weighted log-rank test; 4) p-values of two lack-of-fit tests for the model. See the included "read_me_first.pdf" for brief instructions. In this version (1.1), there is no need to sort the data before applying this package.

Version: 1.4
Depends: R (≥ 3.5.0)
Published: 2020-10-19
DOI: 10.32614/CRAN.package.YPmodel
Author: Junlong Sun and Song Yang
Maintainer: Junlong Sun <junlong.sun at gmail.com>
License: GPL (≥ 3)
NeedsCompilation: no
Citation: YPmodel citation info
In views: Survival
CRAN checks: YPmodel results


Reference manual: YPmodel.pdf


Package source: YPmodel_1.4.tar.gz
Windows binaries: r-devel: YPmodel_1.4.zip, r-release: YPmodel_1.4.zip, r-oldrel: YPmodel_1.4.zip
macOS binaries: r-release (arm64): YPmodel_1.4.tgz, r-oldrel (arm64): YPmodel_1.4.tgz, r-release (x86_64): YPmodel_1.4.tgz, r-oldrel (x86_64): YPmodel_1.4.tgz
Old sources: YPmodel archive


Please use the canonical form https://CRAN.R-project.org/package=YPmodel to link to this page.