make_roc {r4lineups}R Documentation

Compute and plot ROC curve for lineup accuracy ~ confidence

Description

Function to compute and plot an ROC curve for data from an eyewitness experiment, where accuracy is recorded for target present and target absent lineups

Usage

make_roc(df_confacc)

Arguments

df_confacc

A dataframe with two columns, named confidence and accuracy (where accuracy = binary accuracy)

Details

The approach is outlined in several papers by Mickes, Wixted, Gronlund, Clark, and others (see References)

This function is a user level function. It chains the two roc functions together. The user must pass a dataframe, with one column indicating confidence, and another accuracy, and these must be named as such.

The approach is outlined in several papers by Mickes, Wixted, Gronlund, Clark, and others (see references)

Value

An ROC object of package pROC

References

Gronlund, S. D., Wixted, J. T., & Mickes, L. (2014). Evaluating eyewitness identification procedures using receiver operating characteristic analysis. Current Directions in Psychological Science, 23(1), 3-10.

Examples

#Data:
data(mickwick)

#Call:
make_roc(mickwick)




[Package r4lineups version 0.1.1 Index]