make_roc: Compute and plot ROC curve for lineup accuracy ~ confidence

Description Usage Arguments Details Value References Examples

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

1
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

1
2
3
4
5
#Data:
data(mickwick)

#Call:
make_roc(mickwick)

tmnaylor/r4lineups documentation built on May 10, 2019, 8:30 a.m.