compute_trt_spec_bca_intervals: Used to compute treatment-specific BCa intervals for the CDF...

Description Usage Arguments Value

View source: R/bca_fn.R

Description

Used to compute treatment-specific BCa intervals for the CDF and PMF

Usage

1
2
3
4
5
6
7
8
compute_trt_spec_bca_intervals(
  dist = c("cdf", "pmf"),
  trt = c(1, 0),
  marg_est,
  boot_samples,
  jack_samples,
  alpha
)

Arguments

dist

Which one? CDF or PMF?

trt

Which treatment?

marg_est

The point estimate

boot_samples

A collection of bootstrap realizations of the estimator of the parameter of interest

jack_samples

A vector of jackknife estimates of the parameter of interest.

alpha

Confidence intervals have nominal level 1-alpha.

Value

List of pointwise and simultaneous confidence intervals for dist.


drord documentation built on May 21, 2021, 1:06 a.m.