compute_ot: Compute outcome tests for disparate impact of a policy

Description Usage Arguments Value

Description

Compute outcome tests for disparate impact of a policy

Usage

1
compute_ot(pol, controls = NULL)

Arguments

pol

object of class policy

controls

character vector of additional controls to consider (i.e., conditional groupings)

Value

data frame, grouped by the group and additional columns specified in the controls arguments and corresponding hitrate, i.e., P(outcome = 1 | treatment = risk_treatment), where risk_treatment = ifelse(pol$risk_col == "resp_trt", 1, 0).


jongbinjung/undi documentation built on May 8, 2019, 11:56 p.m.