Beta Product Confidence Procedure for Right Censored Data
Overview
Calculates nonparametric pointwise confidence intervals for the survival distribution for right censored data, and for medians [Fay and Brittain DOI:10.1002/sim.6905]. Has two-sample tests for dissimilarity (e.g., difference, ratio or odds ratio) in survival at a fixed time, and differences in medians [Fay, Proschan, and Brittain DOI:10.1111/biom.12231]. Basically, the package gives exact inference methods for one- and two-sample exact inferences for Kaplan-Meier curves (e.g., generalizing Fisher's exact test to allow for right censoring), which are especially important for latter parts of the survival curve, small sample sizes or heavily censored data. Includes mid-p options.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-25
- NOTE12 OK, 1 NOTE2026-07-11
- OK14 OK2026-03-10
Documentation
- Help pages
- 25 (1 internal)includes a package overview page
- Examples that run
- 100%18 run in a plain check
- Exported functions with examples
- 80%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 72%
Also includes 14 demo scripts (run with demo())
Downloads
Dependencies
Installing bpcp adds 17 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.5.0 (2012)
Pick two releases to compare their code metrics.
- 1.5.5Latest2026-07-22 · current release · diff ↗ ·
removed 2 exports
calc_eqS1, calc_eqS2added 2 exports
calc_eq4, calc_eq5 - 1.5.42026-07-21 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 1.5.12026-02-19 · diff ↗ ·
added 20 exports
delta2samp, bpcpTesttime, create.kmciLR, delta.calc, calc_sigma, kmciDelta, parmtype_to_trans, twosampleChecks, create.htest, create.twosamp, BtCI, calc_eqS1, calc_eqS2, zero.one.adjust, get_h, get_dh, get_hinv, get_g, get_ginv, get_all_times - 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
- 1.4.22022-03-12 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.4
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 1.3.42016-06-14 · diff ↗
Show 15 earlier eventsHide 15 earlier events
- 1.3.32016-05-04 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.3.22016-03-28 · diff ↗
- 1.3.12016-01-20 · diff ↗
- 1.3.02016-01-19 · diff ↗
- 1.2.62015-07-03 · diff ↗
- 1.2.5
- RR 3.2.0 released · 2015-04-16
- 1.2.4
- 1.1.02014-04-30 · diff ↗ ·
added 5 exports
bpcp2samp, betaMeldTest, bpcp2sampControl, fixtdiff, mdiffmedian.test - RR 3.1.0 released · 2014-04-10
- 1.0.02013-06-05 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 0.5.02012-06-29
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-06-29
- Total releases
- 16 / 14 yrs
- License
- GPL (>= 2) OSI
- Bundled data
- 1.1 KB / 3 files
- Download size
- 321 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("bpcp")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/biostatistics/kxt016, 10.1002/sim.6905, 10.1111/biom.12231.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.