| lineup_example | R Documentation |
A dataset containing simulated eyewitness lineup identification data with target-present and target-absent lineups, including confidence ratings.
lineup_example
A data frame with 1400 rows and 5 variables:
Logical indicating whether the guilty suspect was in the lineup
Integer position of the lineup member chosen, with 0 for a rejection
Integer position occupied by the suspect (1 throughout)
Character indicating the witness decision: "suspect", "filler", or "reject"
Numeric confidence rating (0-100 scale)
This dataset is used for demonstrating ROC, CAC, and EIG analyses in the r4lineups package. It contains 700 target-present and 700 target-absent lineups of size 6.
lineup_member records which member each witness chose, so foils
keep their separate identities and are not treated as interchangeable. They
are not merely simulated separately: each foil is given its own mean memory
strength, so some are strong alternatives to the suspect and others are
chosen only rarely. In this dataset the five foils attract roughly 248, 203,
115, 53 and 10 identifications respectively.
identification is derived from lineup_member and
suspect_pos, and can be recovered exactly with
classify_lineup_choices; it is retained because the analysis
functions in this package take it directly.
High confidence is strongly diagnostic here but deliberately not perfect: a small number of innocent suspects are identified at the highest confidence levels, as happens in real cases. Data in which no innocent suspect is ever identified with high confidence produces an infinite likelihood ratio and degenerate prior-posterior curves.
Simulated with simulate_lineup_data. The generating
script is data-raw/lineup_example.R, which carries the acceptance
criteria the dataset must satisfy as explicit checks.
classify_lineup_choices, lineup_table
data(lineup_example)
str(lineup_example)
table(lineup_example$identification, lineup_example$target_present)
# Which lineup members were chosen, and were any never chosen?
lineup_table(lineup_example$lineup_member[lineup_example$lineup_member > 0],
k = 6, suspect_pos = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.