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)

Arguments

trt_spec_pmf_est

The treatment-specific PMF estimates

ordered_out_levels

Self explanatory

ordered_out_weights

Self explanatory

Value

Vector of estimated conditional means