Skip to content

outtst

Outcome test

outtst(q, t, w = NULL)

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").

q

The chances of guilt in the group: numbers in the interval 0 to 1.

t

The search threshold: one number.

w

NULL for equal weights, or one non-negative weight per element of q with a positive total; when both are named with unique names, w is matched to q by name.

A named numeric vector: stop (the weighted share searched) and hit (the weighted mean chance of guilt among them; NaN when nobody is searched).

outtst(q = c(0.1, 0.5, 0.9), t = 0.3)

Generated from the R help page: outtst in the R reference.