get a matrix of eif estimates for the treatment-specific CDF estimates

evaluate_trt_spec_theta_eif(
  trt_spec_cdf_est,
  trt_spec_prob_est,
  trt_level,
  treat,
  out,
  out_levels
)

Arguments

trt_spec_cdf_est

Estimated conditional CDF for trt_level.

trt_spec_prob_est

Estimated propensity for trt_level.

trt_level

Treatment level

treat

A numeric vector containing treatment status. Missing values are not allowed unless the corresponding entry in out is also missing. Only values of 0 or 1 are treated as actual treatment levels. Any other value is assumed to encode a value for which the outcome is missing and the corresponding outcome value is ignored.

out

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

out_levels

A numeric vector containing all ordered levels of the outcome.

Value

matrix of EIF estimates for CDF.