YPmodel: The Short-Term and Long-Term Hazard Ratio Model for Survival Data
Version 1.3

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.

AuthorJunlong Sun and Song Yang
Date of publication2015-11-09 21:18:57
MaintainerJunlong Sun <junlong.sun@gmail.com>
LicenseGPL (>= 3)
Version1.3
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("YPmodel")

Getting started

Package overview

Popular man pages

gastric: Data from Gastrointestinal Tumor Study Group
YPmodel: A main function of package of model of short-term and...
YPmodel.adlgrk: Adaptively weighted logrank test
YPmodel.estimate: YPmodel Estimate Parameters.
YPmodel-internal: Internal functions for Model of short-term and long-term...
YPmodel.IntervalBands: Beta confidential intervals & bands
YPmodel.lackfittest: Martingale residual-based & contrast-based lack-of-fit tests
See all...

All man pages Function index File listing

Man pages

gastric: Data from Gastrointestinal Tumor Study Group
YPmodel: A main function of package of model of short-term and...
YPmodel.adlgrk: Adaptively weighted logrank test
YPmodel.estimate: YPmodel Estimate Parameters.
YPmodel-internal: Internal functions for Model of short-term and long-term...
YPmodel.IntervalBands: Beta confidential intervals & bands
YPmodel.lackfittest: Martingale residual-based & contrast-based lack-of-fit tests
YPmodel-package: The short-term and long-term hazard ratio model for survival...

Functions

YPmodel Man page Source code
YPmodel-internal Man page
YPmodel-package Man page
YPmodel.IntervalBands Man page Source code
YPmodel.adlgrk Man page Source code
YPmodel.default Man page Source code
YPmodel.estimate Man page Source code
YPmodel.inputData Man page Source code
YPmodel.lackfittest Man page Source code
YPmodel.setParameter Man page Source code
YPmodel.setRandom Man page Source code
fun.Rjudge Man page Source code
fun.YPmodelOriginal Man page Source code
fun.adlgrk Man page Source code
fun.classCheck Man page Source code
fun.cumsum Man page Source code
fun.errorMessage Man page Source code
fun.flipud Man page Source code
fun.generateParameters Man page Source code
fun.hazardRationEstimation Man page Source code
fun.hcvxitr1 Man page Source code
fun.internalParameters Man page Source code
fun.martint Man page Source code
fun.newBest Man page Source code
fun.ntitr0 Man page Source code
fun.oldp2 Man page Source code
fun.survf Man page Source code
fun.variance Man page Source code
fun.zeroORone Man page Source code
gastric Man page
gastric30 Man page
plot.YPmodel Man page Source code
plot.YPmodel.IntervalBands Man page Source code
plot.YPmodel.estimate Man page Source code
plot.YPmodel.lackfittest Man page Source code
plot.YPmodel.martint Man page Source code
plot.YPmodel.survf Man page Source code
plot.YPmodel.survivor Man page Source code
print.YPmodel Man page Source code
summary.YPmodel Man page Source code
summary.YPmodel.IntervalBands Man page Source code
summary.YPmodel.adlgrk Man page Source code
summary.YPmodel.estimate Man page Source code
summary.YPmodel.lackfittest Man page Source code
summary.YPmodel.overall Man page Source code

Files

inst
inst/CITATION
inst/doc
inst/doc/read_me_first.pdf
NAMESPACE
data
data/gastric.rda
R
R/plot.YPmodel.survivor.R
R/fun.newBest.R
R/fun.adlgrk.R
R/plot.YPmodel.martint.R
R/YPmodel.adlgrk.R
R/fun.generateParameters.R
R/summary.YPmodel.estimate.R
R/fun.internalParameters.R
R/fun.classCheck.R
R/fun.ntitr0.R
R/fun.zeroORone.R
R/plot.YPmodel.R
R/summary.YPmodel.R
R/YPmodel.lackfittest.R
R/YPmodel.setRandom.R
R/summary.YPmodel.overall.R
R/fun.YPmodelOriginal.R
R/fun.hazardRationEstimation.R
R/print.YPmodel.R
R/summary.YPmodel.adlgrk.R
R/YPmodel.default.R
R/fun.hcvxitr1.R
R/YPmodel.setParameter.R
R/plot.YPmodel.IntervalBands.R
R/fun.martint.R
R/summary.YPmodel.lackfittest.R
R/summary.YPmodel.IntervalBands.R
R/fun.errorMessage.R
R/plot.YPmodel.lackfittest.R
R/fun.cumsum.R
R/YPmodel.IntervalBands.R
R/plot.YPmodel.estimate.R
R/YPmodel.inputData.R
R/YPmodel.R
R/YPmodel.estimate.R
R/fun.survf.R
R/fun.flipud.R
R/plot.YPmodel.survf.R
R/fun.oldp2.R
R/fun.Rjudge.R
R/fun.variance.R
MD5
DESCRIPTION
man
man/gastric.Rd
man/YPmodel-package.Rd
man/YPmodel.IntervalBands.Rd
man/YPmodel-internal.Rd
man/YPmodel.lackfittest.Rd
man/YPmodel.Rd
man/YPmodel.estimate.Rd
man/YPmodel.adlgrk.Rd
YPmodel documentation built on May 20, 2017, 6:03 a.m.