Package: YPmodel 1.4
YPmodel: The Short-Term and Long-Term Hazard Ratio Model for Survival Data
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.
Authors:
YPmodel_1.4.tar.gz
YPmodel_1.4.zip(r-4.5)YPmodel_1.4.zip(r-4.4)YPmodel_1.4.zip(r-4.3)
YPmodel_1.4.tgz(r-4.4-any)YPmodel_1.4.tgz(r-4.3-any)
YPmodel_1.4.tar.gz(r-4.5-noble)YPmodel_1.4.tar.gz(r-4.4-noble)
YPmodel_1.4.tgz(r-4.4-emscripten)YPmodel_1.4.tgz(r-4.3-emscripten)
YPmodel.pdf |YPmodel.html✨
YPmodel/json (API)
# Install 'YPmodel' in R: |
install.packages('YPmodel', repos = c('https://junlongsun.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/junlongsun/ypmodel/issues
- gastric - Data from Gastrointestinal Tumor Study Group
Last updated 4 years agofrom:ce7f466103. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win | OK | Oct 25 2024 |
R-4.5-linux | OK | Oct 25 2024 |
R-4.4-win | OK | Oct 25 2024 |
R-4.4-mac | OK | Oct 25 2024 |
R-4.3-win | OK | Oct 25 2024 |
R-4.3-mac | OK | Oct 25 2024 |
Exports:fun.adlgrkfun.classCheckfun.cumsumfun.errorMessagefun.flipudfun.generateParametersfun.hazardRationEstimationfun.hcvxitr1fun.internalParametersfun.martintfun.newBestfun.ntitr0fun.oldp2fun.Rjudgefun.survffun.variancefun.YPmodelOriginalfun.zeroORoneplot.YPmodelplot.YPmodel.estimateplot.YPmodel.IntervalBandsplot.YPmodel.lackfittestplot.YPmodel.martintplot.YPmodel.survfplot.YPmodel.survivorprint.YPmodelsummary.YPmodelsummary.YPmodel.adlgrksummary.YPmodel.estimatesummary.YPmodel.IntervalBandssummary.YPmodel.lackfittestsummary.YPmodel.overallYPmodelYPmodel.adlgrkYPmodel.defaultYPmodel.estimateYPmodel.inputDataYPmodel.IntervalBandsYPmodel.lackfittestYPmodel.setParameterYPmodel.setRandom
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
The short-term and long-term hazard ratio model for survival data | YPmodel-package |
Data from Gastrointestinal Tumor Study Group | gastric gastric30 |
A main function of package of model of short-term and long-term hazard ratio for survival data | plot.YPmodel print.YPmodel summary.YPmodel YPmodel YPmodel.default |
Internal functions for Model of short-term and long-term hazard ratio for survival data | fun.adlgrk fun.classCheck fun.cumsum fun.errorMessage fun.flipud fun.generateParameters fun.hazardRationEstimation fun.hcvxitr1 fun.internalParameters fun.martint fun.newBest fun.ntitr0 fun.oldp2 fun.Rjudge fun.survf fun.variance fun.YPmodelOriginal fun.zeroORone summary.YPmodel.overall YPmodel-internal YPmodel.inputData YPmodel.setParameter YPmodel.setRandom |
Adaptively weighted logrank test | summary.YPmodel.adlgrk YPmodel.adlgrk |
YPmodel Estimate Parameters. | plot.YPmodel.estimate plot.YPmodel.survivor summary.YPmodel.estimate YPmodel.estimate |
Beta confidential intervals & bands | plot.YPmodel.IntervalBands summary.YPmodel.IntervalBands YPmodel.IntervalBands |
Martingale residual-based & contrast-based lack-of-fit tests | plot.YPmodel.lackfittest plot.YPmodel.martint plot.YPmodel.survf summary.YPmodel.lackfittest YPmodel.lackfittest |