getROC: Cacluate ROC like metrics.

Description Usage Arguments Value Examples

Description

Orders scores from largest to smallest and evaluates performance for each value. This assumes an analyst will order the predicted scores and start investigating the linkage claim in this order.

Usage

1
getROC(f, y)

Arguments

f

predicted score for linkage

y

truth; linked=1, unlinked=0

Value

data.frame of evaluation metrics:

Examples

1
2
3
f = 1:10
y = rep(0:1,length=10)
getROC(f,y)

crimelinkage documentation built on May 2, 2019, 1:36 a.m.