Yang and Prentice Model with Piecewise Exponential Baseline Distribution
Overview
Semiparametric modeling of lifetime data with crossing survival curves via Yang and Prentice model with piecewise exponential baseline distribution. Details about the model can be found in Demarqui and Mayrink (2019) arXiv:1910.02406. Model fitting carried out via likelihood-based and Bayesian approaches. The package also provides point and interval estimation for the crossing survival times.
New features
- coef() function to extract the regression coefficientes under the MLE approach
- vcov() function to compute the variance-covariance matrix associated with the regression coefficients under the MLE approach
- confint() function to compute the 100(1-alpha)% confidence intervals under the MLE approahc
Bug fixes
- yppe() function now works properly if both the number of intervals and the time grid (n_int and rho) are passed as arguments; the default time grid is now computed by using all distinct observed failure times as the endpoints of the intervals
---
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Fabio Demarqui <fndemarqui@est.ufmg.br>’ The Description field contains Mayrink (2019) <arXiv:1910.02406>. Model fitting carried out via Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from: ‘rstantools’ All declared Imports should be used.
- NOTE9 OK, 4 NOTE2026-07-29
- ERROR8 OK, 4 NOTE, 1 ERROR2026-07-27
- NOTE7 OK, 7 NOTE2026-04-22
- ERROR6 OK, 7 NOTE, 1 ERROR2026-04-18
- NOTE7 OK, 7 NOTE2026-03-10
Documentation
- Help pages
- 17includes a package overview page
- Examples that run
- 0%3 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 14%
- Documented parameters
- 92%
- Return-value docs
- 100%
- Help pages citing references
- 18%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 74
Stars over time
Forks over time
PRs over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/fndemarqui/yppe on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-10-17 · The repository has a site deploy workflow
Dependencies
Installing YPPE adds 49 packages (22 with compiled code, 44 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, loo 2.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.1Latest
- 1.0.02019-10-09
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-10-09
- Total releases
- 2 / 7 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.4.0
- Bundled data
- 5.7 KB / 2 files
- Download size
- 34 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("YPPE")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.