Compute outcome tests for disparate impact of a policy
object of class policy
character vector of additional controls to consider (i.e., conditional groupings)
data frame, grouped by the group and additional columns specified in
controls arguments and corresponding
P(outcome = 1 | treatment = risk_treatment), where
risk_treatment = ifelse(pol$risk_col == "resp_trt", 1, 0).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.