get_rates_of_misleading_slrs: Get Rates of Misleading Evidence for SLRs

View source: R/slrs.R

get_rates_of_misleading_slrsR Documentation

Get Rates of Misleading Evidence for SLRs

Description

Calculate the rates of misleading evidence for score-based likelihood ratios (SLRs) when the ground truth is known.

Usage

get_rates_of_misleading_slrs(df, threshold = 1)

Arguments

df

A dataframe of SLRs from compare_writer_profiles with score_only = FALSE.

threshold

A number greater than zero that serves as a decision threshold. If the ground truth for two documents is that they came from the same writer and the SLR is less than the decision threshold, this is misleading evidence that incorrectly supports the defense (false negative). If the ground truth for two documents is that they came from different writers and the SLR is greater than the decision threshold, this is misleading evidence that incorrectly supports the prosecution (false positive).

Value

A list

Examples


comparisons <- compare_writer_profiles(test, score_only = FALSE)
get_rates_of_misleading_slrs(comparisons)



handwriterRF documentation built on April 4, 2025, 5:38 a.m.