Learn R Programming

drord (version 1.0.1)

estimate_cond_mean: Map an estimate of treatment-specific PMF into an estimate of treatment specific conditional mean for each observation.

Description

Map an estimate of treatment-specific PMF into an estimate of treatment specific conditional mean for each observation.

Usage

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