Builds a confidence interval for the mean of a vector of interest, given importance sampling weights.
imp_confint(x, conf = 0.95, .data = cur_plans())
<data-masking>
the vector to
build importance sampling confidence intervals for.
The confidence level for the intervals.
a redist_plans
object
A tibble with three columns: X
, X_lower
, and
X_upper
, where X
is the name of the vector of interest,
containing the mean and confidence interval. When used inside
summarize()
this will create three columns in the
output data.