Learn R Programming

bpcp (version 1.5.5)

Beta Product Confidence Procedure for Right Censored Data

Description

Calculates nonparametric pointwise confidence intervals for the survival distribution for right censored data, and for medians [Fay and Brittain ]. 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 ]. 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.

Copy Link

Version

Install

install.packages('bpcp')

Monthly Downloads

843

Version

1.5.5

License

GPL (>= 2)

Maintainer

Michael Fay

Last Published

July 22nd, 2026

Functions in bpcp (1.5.5)

kmciLRtidy.object

Kaplan-Meier (Survival Curve) Confidence Interval LR Tidy Object
kmciLRgroup.object

Kaplan-Meier (Survival Curve) Confidence Interval LR Group Object
summary.twosamp

Summary method for twosamp object.
tidykmciLR

Dataframe of kmciLRtidy, kmciLRgroup, or a kmciLR object.
leuk

Acute Leukemia data (treatment only) from Freireich et al (1963).
twosamp.object

Two-sample Confidence Interval Object
sclerosis

Pilot study of treatment of severe systemic sclerosis (Nash, et al, 2007).
summary.kmciLR

Summary method for kmci, kmciLR, kmciLRtidy, or kmciLRgroup object.
print.kmciLRtidy

Print A Short Summary of a kmciLRtidy, kmciLRgroup, or kmciLR Object
quantile.kmciLR

Quantiles or Medians from kmci, kmciLR, kmciLRtidy, or kmciLRgroup objects.
kmci.object

Kaplan-Meier (Survival Curve) Confidence Interval Object
betaMeldTest

Melded Beta Test
mdiffmedian.test

Melded Difference in Medians Test
fixtdiff

Two sample test for Difference in Survival at Fixed Time
bpcp2sampControl

Control function for bpcp2samp
leuk2

Acute Leukemia data from Freireich et al (1963).
bpcp2samp

Melded BPCP test
bpcp-package

Pointwise Confidence Intervals Associated with the Survival Distribution for Right Censored Data
kmciLR.object

Kaplan-Meier (Survival Curve) Confidence Interval LR Tidy Object
plot.kmciLR

Plot and lines methods for kmci, kmciLR, kmciLRtidy, and kmciLRgroup objects.
StCI

Get survival and confidence interval at t from kmci, kmciLR, or survfit object
kmtestALL

Pointwise confidence intervals for survival for right censored data.
bpcp-internal

Internal functions
bpcpControl

Inputs for adjusting numerical calculations in bpcp
plot.twosamp

Plot methods for twosamp objects.