estimate_ci_marg_dist {drord} | R Documentation |
Compute confidence interval/s for the treatment specific PMF and CDF.
Description
Compute confidence interval/s for the treatment specific PMF and CDF.
Usage
estimate_ci_marg_dist(
marg_cdf_est,
marg_pmf_est,
cdf_est,
pmf_est,
covar,
treat_prob_est,
treat_form,
out_form,
treat,
ci,
out_levels,
out_model,
out,
alpha,
nboot
)
Arguments
marg_cdf_est |
Point estimate of treatment-specific CDF. |
marg_pmf_est |
Point estimate of treatment-specific PMF. |
cdf_est |
Estimates of treatment-specific conditional CDF. |
pmf_est |
Estimates of treatment-specific conditional PMF. |
covar |
A |
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_levels |
A |
out_model |
Which R function should be used to fit the proportional odds
model. Options are |
out |
A |
alpha |
Confidence intervals have nominal level 1- |
nboot |
Number of bootstrap replicates used to compute bootstrap confidence intervals. |
Value
List of lists (cdf
and pmf
) with wald
and bca
-estimated confidence
intervals for the marginal treatment-specific distribution functions.