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]
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 29 Mar. 2025.
Previous versions and publish date:
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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2403/2503/2603/2703/28Downloads for YPmodel024681012141618TrendBars

Today's Hot Picks in Authors and Packages

gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  
landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
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  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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