YPmodel
The Short-Term and Long-Term Hazard Ratio Model for Survival Data
Description
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.
Downloads
193
Last 30 days
17310th
193
Last 90 days
193
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
Maintainer: ‘Junlong Sun <junlong.sun@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Junlong",
family = "Sun",
role = c("aut", "cre"),
email = "junlong.sun@gmail.com"),
person(given = "Song",
family = "Yang",
role = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Found the following (possibly) invalid URLs:
URL: http: //cran.r-project.org/
From: inst/doc/read_me_first.pdf
Message: Invalid URL: missing authority part
CRAN incoming feasibility
Maintainer: ‘Junlong Sun <junlong.sun@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Junlong",
family = "Sun",
role = c("aut", "cre"),
email = "junlong.sun@gmail.com"),
person(given = "Song",
family = "Yang",
role = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Found the following (possibly) invalid URLs:
URL: http: //cran.r-project.org/
From: inst/doc/read_me_first.pdf
Message: Invalid URL: missing authority part
*
*
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Junlong Sun <junlong.sun@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Junlong",
family = "Sun",
role = c("aut", "cre"),
email = "junlong.sun@gmail.com"),
person(given = "Song",
family = "Yang",
role = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personL
CRAN incoming feasibility
Maintainer: ‘Junlong Sun <junlong.sun@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Junlong",
family = "Sun",
role = c("aut", "cre"),
email = "junlong.sun@gmail.com"),
person(given = "Song",
family = "Yang",
role = "aut"))
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personL