R/wmean_fn.R
estimate_cond_mean.Rd
Map an estimate of treatment-specific PMF into an estimate of treatment specific conditional mean for each observation.
estimate_cond_mean(trt_spec_pmf_est, ordered_out_levels, ordered_out_weights)
trt_spec_pmf_est | The treatment-specific PMF estimates |
---|---|
ordered_out_levels | Self explanatory |
ordered_out_weights | Self explanatory |
Vector of estimated conditional means