R/mannwhitney_fn.R
estimate_ci_mannwhitney.Rd
Compute confidence interval/s for the Mann-Whitney parameter
estimate_ci_mannwhitney( mannwhitney_est, cdf_est, pmf_est, treat_prob_est, treat_form, out_form, treat, ci, out, alpha, nboot, out_levels, covar, out_model )
mannwhitney_est | The point estimates for log-odds. |
---|---|
cdf_est | The estimated conditional CDF. |
pmf_est | The estimated conditional PMF. |
treat_prob_est | Estimated probability of treatments, output from call
to |
treat_form | The right-hand side of a regression formula for the working model of treatment probability as a function of covariates |
out_form | The right-hand side of a regression formula for the working proportional odds model. NOTE: THIS FORMULA MUST NOT SUPPRESS THE INTERCEPT. |
treat | A |
ci | A vector of |
out | A |
alpha | Confidence intervals have nominal level 1- |
nboot | Number of bootstrap replicates used to compute bootstrap confidence intervals. |
out_levels | A |
covar | A |
out_model | Which R function should be used to fit the proportional odds
model. Options are |
List with wald
and bca
-estimated confidence intervals
for the Mann-Whitney parameter.