R/logodds_fn.R
estimate_ci_logodds.RdCompute confidence interval/s for the log-odds parameters
estimate_ci_logodds( logodds_est, cdf_est, out_form, covar, treat_prob_est, treat, treat_form, out, ci, alpha = 0.05, nboot, out_levels, out_model, ... )
| logodds_est | The point estimates for log-odds. |
|---|---|
| cdf_est | A list of treatment-specific CDF estimates. |
| out_form | The right-hand side of a regression formula for the working proportional odds model. NOTE: THIS FORMULA MUST NOT SUPPRESS THE INTERCEPT. |
| covar | A |
| treat_prob_est | Estimated probability of treatments, output from call
to |
| treat | A |
| treat_form | The right-hand side of a regression formula for the working model of treatment probability as a function of covariates |
| out | A |
| ci | A vector of |
| alpha | Confidence intervals have nominal level 1- |
| nboot | Number of bootstrap replicates used to compute bootstrap confidence intervals. |
| out_levels | A |
| out_model | Which R function should be used to fit the proportional odds
model. Options are |
| ... | Other options (not currently used). |
List with wald and bca-estimated confidence intervals
for the weighted mean parameters.