The stop rate and the hit rate of a group searched whenever the chance of
guilt exceeds a threshold. Hit rates compare averages, not thresholds: two
groups held to the same threshold can show different hit rates, and a group
held to a lower threshold can show the higher one (infra-marginality). See
proof("outtst").
Value
A named numeric vector: stop (the weighted share searched) and
hit (the weighted mean chance of guilt among them; NaN when nobody is
searched).
Examples
outtst(q = c(0.1, 0.5, 0.9), t = 0.3)
#> stop hit
#> 0.6666667 0.7000000