Other packages > Find by keyword >

YPmodelPhreg  

The Short-Term and Long-Term Hazard Ratio Model with Proportional Adjustment
View on CRAN: Click here


Download and install YPmodelPhreg package within the R console
Install from CRAN:
install.packages("YPmodelPhreg")

Install from Github:
library("remotes")
install_github("cran/YPmodelPhreg")

Install by package version:
library("remotes")
install_version("YPmodelPhreg", "1.0.0")



Attach the package and use:
library("YPmodelPhreg")
Maintained by
Daewoo Pak
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-07-05
Latest Update: 2023-07-05
Description:
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.
How to cite:
Daewoo Pak (2023). YPmodelPhreg: The Short-Term and Long-Term Hazard Ratio Model with Proportional Adjustment. R package version 1.0.0, https://cran.r-project.org/web/packages/YPmodelPhreg. Accessed 13 Sep. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited YPmodelPhreg R package
View YPmodelPhreg citation profile
Other R packages that YPmodelPhreg depends, imports, suggests or enhances
Complete documentation for YPmodelPhreg
Functions, R codes and Examples using the YPmodelPhreg R package
Full YPmodelPhreg package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

tvmComp  
Discounting and Compounding Calculations for Various Scenarios
Functions for compounding and discounting calculations included here serve as a complete reference f ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
oii  
Crosstab and Statistical Tests for OII MSc Stats Course
Provides simple crosstab output with optional statistics (e.g., Goodman-Kruskal Gamma, Somers' d, an ...
Download / Learn more Package Citations See dependency  
TSEwgt  
Total Survey Error Under Multiple, Different Weighting Schemes
Calculates total survey error (TSE) for a survey under multiple, different weighting schemes, using ...
Download / Learn more Package Citations See dependency  
saeMSPE  
Computing MSPE Estimates in Small Area Estimation
We describe a new R package entitled 'saeMSPE' for the well-known Fay Herriot model and nested error ...
Download / Learn more Package Citations See dependency  
cmdfun  
Framework for Building Interfaces to Shell Commands
Writing interfaces to command line software is cumbersome. 'cmdfun' provides a framework for buildi ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA