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
194
Last 30 days
22496th
551
Last 90 days
3.1K
Last year
Trend: +19.8% (30d vs prior 30d)
9
Last 30 days
26
Last 90 days
107
Last year
Trend: -43.8% (30d vs prior 30d)
3
Last 7 days
16
Last 30 days
1
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 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-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 (2 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 10, 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"),
...[truncated]...
TION 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"),
...[truncated]...
TION 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