estimate_ci_wmean {drord} | R Documentation |
Compute confidence interval/s for the weight mean parameters
estimate_ci_wmean(
out,
treat,
covar,
wmean_est,
alpha = 0.05,
out_levels = order(unique(out)),
out_form = NULL,
out_weights = rep(1, length(out_levels)),
out_model,
treat_form = "1",
ci = c("bca", "wald"),
nboot = 10000
)
out |
A |
treat |
A |
covar |
A |
wmean_est |
The point estimates for weighted means |
alpha |
Confidence intervals have nominal level 1- |
out_levels |
A |
out_form |
The right-hand side of a regression formula for the working proportional odds model. NOTE: THIS FORMULA MUST NOT SUPPRESS THE INTERCEPT. |
out_weights |
A vector of |
out_model |
Which R function should be used to fit the proportional odds
model. Options are |
treat_form |
The right-hand side of a regression formula for the working model of treatment probability as a function of covariates |
ci |
A vector of |
nboot |
Number of bootstrap replicates used to compute bootstrap confidence intervals. |
List with wald
and bca
-estimated confidence intervals
for the weighted mean parameters.