Learn R Programming

⚠️There's a newer version (1.4) of this package.Take me there.

YPmodel (version 1.1)

The Short-term and Long-term Hazard Ratio Model for Survival Data

Description

This package contains various inference procedures associated with a two-sample semi-parametric model that can accommodate a flexible range of hazard ratio patterns. 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.

Copy Link

Version

Install

install.packages('YPmodel')

Monthly Downloads

155

Version

1.1

License

GPL (>= 3)

Maintainer

Junlong Sun

Last Published

February 17th, 2014

Functions in YPmodel (1.1)

YPmodel.lackfittest

Martingale residual-based & contrast-based lack-of-fit tests
YPmodel.estimate

YPmodel Estimate Parameters.
YPmodel-internal

Internal functions for Model of short-term and long-term hazard ratio for survival data
YPmodel.adlgrk

Adaptively weighted logrank test
YPmodel.IntervalBands

Beta confidential intervals & bands
gastric

Data from Gastrointestinal Tumor Study Group
YPmodel

A main function of package of model of short-term and long-term hazard ratio for survival data
YPmodel-package

The short-term and long-term hazard ratio model for survival data