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 05 Oct. 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

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  
correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  
cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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