Get eif estimates for treatment-specific CDF

evaluate_marg_cdf_eif(cdf_est, treat_prob_est, treat, out, out_levels)

Arguments

cdf_est

Estimated conditional CDF 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