R/bca_fn.R
compute_trt_spec_bca_intervals.Rd
Used to compute treatment-specific BCa intervals for the CDF and PMF
compute_trt_spec_bca_intervals( dist = c("cdf", "pmf"), trt = c(1, 0), marg_est, boot_samples, jack_samples, alpha )
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- |
List of pointwise and simultaneous confidence intervals for dist
.