Description Usage Arguments Value
Compute a BCa bootstrap confidence interval for the weighted mean. The code is based on the slides found here: http://users.stat.umn.edu/~helwig/notes/bootci-Notes.pdf
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | bca_marg_dist(
  treat,
  covar,
  out,
  nboot,
  treat_form,
  out_levels,
  out_form,
  out_model,
  marg_cdf_est,
  marg_pmf_est,
  alpha = 0.05
)
 | 
| treat | A  | 
| covar | A  | 
| out | A  | 
| nboot | Number of bootstrap replicates used to compute bootstrap confidence intervals. | 
| treat_form | The right-hand side of a regression formula for the working model of treatment probability as a function of covariates | 
| 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_model | Which R function should be used to fit the proportional odds 
model. Options are  | 
| marg_cdf_est | Point estimate of treatment-specific CDF. | 
| marg_pmf_est | Point estimate of treatment-specific PMF. | 
| alpha | Level of confidence interval. | 
List (cdf, pmf) of lists (treat=1, treat=0) of
confidence intervals for distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.