Description Usage Arguments Value
Compute outcome tests for disparate impact of a policy
1 | compute_ot(pol, controls = NULL)
|
pol |
object of class policy |
controls |
character vector of additional controls to consider (i.e., conditional groupings) |
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)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.