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 16 Jul. 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

wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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