Package: YPmodelPhreg 1.0.0

YPmodelPhreg: The Short-Term and Long-Term Hazard Ratio Model with Proportional Adjustment

Provides covariate-adjusted comparison of two groups of right censored data, where the binary group variable has separate short-term and long-term effects on the hazard function, while effects of covariates such as age, blood pressure, etc. are proportional on the hazard. The model was studied in Yang and Prentice (2015) <doi:10.1002/sim.6453> and it extends the two sample version of the short-term and long-term hazard ratio model proposed in Yang and Prentice (2005) <doi:10.1093/biomet/92.1.1>. The model extends the usual Cox proportional hazards model to allow more flexible hazard ratio patterns, such as gradual onset of effect, diminishing effect, and crossing hazard or survival functions. This package provides the following: 1) point estimates and confidence intervals for model parameters; 2) point estimate and confidence interval of the average hazard ratio; and 3) plots of estimated hazard ratio function with point-wise and simultaneous confidence bands.

Authors:Daewoo Pak [aut, cre], Song Yang [aut]

YPmodelPhreg_1.0.0.tar.gz
YPmodelPhreg_1.0.0.zip(r-4.5)YPmodelPhreg_1.0.0.zip(r-4.4)YPmodelPhreg_1.0.0.zip(r-4.3)
YPmodelPhreg_1.0.0.tgz(r-4.4-any)YPmodelPhreg_1.0.0.tgz(r-4.3-any)
YPmodelPhreg_1.0.0.tar.gz(r-4.5-noble)YPmodelPhreg_1.0.0.tar.gz(r-4.4-noble)
YPmodelPhreg_1.0.0.tgz(r-4.4-emscripten)YPmodelPhreg_1.0.0.tgz(r-4.3-emscripten)
YPmodelPhreg.pdf |YPmodelPhreg.html
YPmodelPhreg/json (API)
NEWS

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

Peer review:

Datasets:
  • colonexample - An example from Chemotherapy for Stage B/C colon cancer

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 5 scripts 142 downloads 13 exports 3 dependencies

Last updated 1 years agofrom:ada9c9257c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winOKNov 10 2024
R-4.5-linuxOKNov 10 2024
R-4.4-winOKNov 10 2024
R-4.4-macOKNov 10 2024
R-4.3-winOKNov 10 2024
R-4.3-macOKNov 10 2024

Exports:fn_est_ypmodel0fn_est_ypmodelxfn_est0_ypmodel0fn_hrcifn_summfn_ufn_uhfn_uhxfn_uxplot.ypregprint.ypregypregypreg.default

Dependencies:latticeMatrixsurvival

Readme and manuals

Help Manual

Help pageTopics
The Short-Term and Long-Term Hazard Ratio Model with Proportional AdjustmentYPmodelPhreg-package
An example from Chemotherapy for Stage B/C colon cancercolonexample
Internal functions for the YPmodelPhreg packagefn_est0_ypmodel0 fn_est_ypmodel0 fn_est_ypmodelx fn_hrci fn_summ fn_u fn_uh fn_uhx fn_ux YPmodelPhreg-internal
Fit a short-term and long-term hazard ratio model with proportional adjustmentplot.ypreg print.ypreg ypreg ypreg.default