getROC {crimelinkage}R Documentation

Cacluate ROC like metrics.

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

getROC(f, y)

Arguments

f

predicted score for linkage

y

truth; linked=1, unlinked=0

Value

data.frame of evaluation metrics:

Examples

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

[Package crimelinkage version 0.0.4 Index]