Get eif estimates for treatment-specific PMF

evaluate_marg_pmf_eif(pmf_est, treat_prob_est, treat, out, out_levels)

Arguments

pmf_est

Estimated conditional PMF for trt_level.

treat_prob_est

Estimated propensity for trt_level.

treat

A numeric vector containing treatment status. Should only assume a value 0 or 1.

out

A numeric vector containing the outcomes. Missing outcomes are allowed.

out_levels

A numeric vector containing all ordered levels of the outcome.

Value

a list of eif estimates