Learn R Programming

bpcp (version 1.5.1)

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

2,148

Version

1.5.1

License

GPL (>= 2)

Maintainer

Michael Fay

Last Published

February 19th, 2026

Functions in bpcp (1.5.1)

plot.twosamp

Plot methods for twosamp objects.
print.kmciLRtidy

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

Acute Leukemia data from Freireich et al (1963).
mdiffmedian.test

Melded Difference in Medians Test
kmciLR.object

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

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

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

Kaplan-Meier (Survival Curve) Confidence Interval LR Group Object
leuk

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

Summary method for twosamp object.
twosamp.object

Two-sample Confidence Interval Object
plot.kmciLR

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

Dataframe of kmciLRtidy, kmciLRgroup, or a kmciLR 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.
betaMeldTest

Melded Beta Test
fixtdiff

Two sample test for Difference in Survival at Fixed Time
bpcpControl

Inputs for adjusting numerical calculations in bpcp
kmci.object

Kaplan-Meier (Survival Curve) Confidence Interval Object
bpcp-internal

Internal functions
bpcp2sampControl

Control function for bpcp2samp
bpcp2samp

Melded BPCP test
StCI

Get survival and confidence interval at t from kmci, kmciLR, or survfit object
bpcp-package

Pointwise Confidence Intervals Associated with the Survival Distribution for Right Censored Data
kmtestALL

Pointwise confidence intervals for survival for right censored data.