Other packages > Find by keyword >

YPmodel  

The Short-Term and Long-Term Hazard Ratio Model for Survival Data
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("YPmodel", "1.4")



Attach the package and use:
library("YPmodel")
Maintained by
Junlong Sun
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2013-07-11
Latest Update: 2020-10-19
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.
How to cite:
Junlong Sun (2013). YPmodel: The Short-Term and Long-Term Hazard Ratio Model for Survival Data. R package version 1.4, https://cran.r-project.org/web/packages/YPmodel. Accessed 05 Aug. 2026.
Previous versions and publish date:
(2026-07-09 08:30), 1.0 (2013-07-11 07:35), 1.1 (2014-02-17 07:12), 1.2 (2015-09-22 10:43), 1.3 (2015-11-09 21:18)
Other packages that cited YPmodel R package
View YPmodel citation profile
Other R packages that YPmodel depends, imports, suggests or enhances
Complete documentation for YPmodel
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

kernelPSI  
Post-Selection Inference for Nonlinear Variable Selection
Different post-selection inference strategies for kernelselection as described in kernelPSI a Post-S ...
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  
noisyr  
Noise Quantification in High Throughput Sequencing Output
Quantifies and removes technical noise from high-throughput sequencing data. Two approaches are use ...
Download / Learn more Package Citations See dependency  
dcov  
A Fast Implementation of Distance Covariance
Efficient methods for computing distance covariance and relevant statistics. See Sz ...
Download / Learn more Package Citations See dependency  
dhReg  
Dynamic Harmonic Regression
Building and forecasting time series data with multiple seasonality using Dynamic Harmonic Regressio ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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