Get a matrix of eif estimates for treatment-specific PMF

evaluate_trt_spec_pmf_eif(
  trt_spec_pmf_est,
  trt_spec_prob_est,
  trt_level,
  treat,
  out,
  out_levels
)

Arguments

trt_spec_pmf_est

Estimated conditional PMF for trt_level.

trt_spec_prob_est

Estimated propensity for trt_level.

trt_level

Treatment 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 matrix of EIF estimates