outtst
Outcome test
outtst(q, t, w = NULL)crimlab.outtst(q, t, w=None)crimlab outtst --q VALUE --t VALUE [--w VALUE]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").
Parameters
Section titled “Parameters”qThe chances of guilt in the group: numbers in the interval 0 to 1.
tThe search threshold: one number.
wNULLfor equal weights, or one non-negative weight per element ofqwith a positive total; when both are named with unique names,wis matched toqby name.
Returns
Section titled “Returns”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
Section titled “Examples”outtst(q = c(0.1, 0.5, 0.9), t = 0.3)Generated from the R help page: outtst in the R reference.