View source: R/multid_functions.R
| make_multid | R Documentation |
Computes the multiple empirical discriminability (d') indices of Lee and Penrod's (2019) Multi-d' model from target-present (TP) and target-absent (TA) lineup data. Unlike the conventional 2 x 2 signal detection treatment, which folds filler identifications into "negative" responses, the Multi-d' model uses the full 2 x 3 response table (suspect ID, filler ID, rejection) in each lineup type.
make_multid(
data = NULL,
counts = NULL,
lineup_size = 6,
filler_rate = c("total", "per_filler"),
correction = c("loglinear", "half", "none"),
by_confidence = FALSE,
conf_thresholds = NULL,
n_bootstrap = 0,
conf_level = 0.95,
seed = NULL,
innocent_suspect = "auto"
)
data |
A data frame with columns |
counts |
A named numeric vector of response frequencies with elements
|
lineup_size |
Nominal lineup size (suspect plus fillers). Default 6. |
filler_rate |
Either |
correction |
Correction for rates of 0 or 1: |
by_confidence |
Logical. If |
conf_thresholds |
Optional numeric vector of confidence thresholds for
|
n_bootstrap |
Number of bootstrap resamples for percentile confidence intervals (default 0, no bootstrap). Resampling is done within the TP and TA arms separately. |
conf_level |
Confidence level for bootstrap intervals. Default 0.95. |
seed |
Optional random seed for the bootstrap. |
innocent_suspect |
For trial-level |
With each d' computed as the difference between two z-transformed (inverse-normal) response rates, the model defines:
d'(GI) = z(G) - z(I): guilty versus innocent suspect, the usual
empirical discriminability;
d'(GFp) = z(G) - z(Fp): guilty suspect versus TP fillers;
d'(IFa) = z(I) - z(Fa): innocent suspect versus TA fillers,
which Lee and Penrod treat as TA lineup bias;
d'(FaFp) = z(Fa) - z(Fp): the difference in filler-choice
rate between TA and TP lineups (differential filler siphoning). It is
expected to be positive partly because the culprit draws choices in TP
lineups, and it assumes that one filler rate is shared by all fillers;
d'(RaRp) = z(Ra) - z(Rp): discrimination of culprit presence
from culprit absence (detection).
Lee and Penrod also propose d'(GFp) - d'(RaRp) as an index of TP
lineup bias net of memory strength, and d'(GFp) - d'(IFa) as an index
of differential filler siphoning. The decomposition
d'(GI) = d'(GFp) - d'(IFa) - d'(FaFp)
holds exactly for any data, because the filler terms cancel. It is an accounting identity that shows where d'(GI) comes from, not an empirical result.
When TA lineups have no designated innocent suspect, the innocent-suspect
count is estimated as the TA filler count divided by lineup_size, and
the remaining (k - 1)/k of filler choices are kept as TA filler IDs.
Lee and Penrod call this the "average-filler" practice. It forces the TA
lineup to be fair, so d'(IFa) then reflects the rejection rate rather than
lineup bias.
With filler_rate = "total", a perfectly fair TA lineup does not give
d'(IFa) = 0: the innocent suspect is compared with all fillers
together. The returned fair_reference is the d'(IFa) a perfectly
fair lineup would give at the observed TA rejection rate (for example,
about -1.93 when no one rejects a 6-person lineup), and ifa_vs_fair
is the observed d'(IFa) minus that reference. These two quantities are not
part of Lee and Penrod's model; they are provided to help interpret d'(IFa).
With filler_rate = "per_filler", the fair reference is 0, and the
average-filler practice gives d'(IFa) = 0 exactly when correction =
"none" (a rate correction shifts the two rates slightly differently).
The criterion c is -(z(G) + z(I))/2 and dr is the
diagnosticity ratio G/I, both as reported by Lee and Penrod (2019).
An object of class "multid", a list with:
Data frame of indices with estimates and, if bootstrapped, standard errors and percentile confidence limits.
Named vector of the six response rates used (after correction and, if requested, per-filler scaling).
Named vector of the six response counts (after any average-filler split).
Number of TP and TA lineups.
"designated" or "estimated_from_fillers".
Data frame of cumulative indices by confidence
threshold, or NULL.
Matrix of bootstrap draws, or NULL.
plus the settings used.
Lee, J., & Penrod, S. D. (2019). New signal detection theory-based framework for eyewitness performance in lineups. Law and Human Behavior. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1037/lhb0000343")}
Lee, J., Mansour, J. K., & Penrod, S. D. (2022). Validity of mock-witness measures for assessing lineup fairness. Psychology, Crime & Law. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/1068316X.2021.1905811")}
Lee, J., Mansour, J. K., & Penrod, S. D. (2024). How to measure lineup fairness: Concurrent and predictive validity of lineup-fairness measures. Psychology, Crime & Law. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/1068316X.2024.2307358")}
compare_multid, plot.multid,
sdt_summary_from_counts
# Lineup column of Lee & Penrod's (2019) Table 4 (Steblay et al., 2003)
md <- make_multid(counts = c(G = 45, Fp = 24, Rp = 31, I = 17, Fa = 26, Ra = 57),
correction = "none")
md
# From trial-level data, with bootstrap CIs and confidence breakdown
data(lineup_example)
md2 <- make_multid(lineup_example, by_confidence = TRUE,
n_bootstrap = 200, seed = 1)
summary(md2)
plot(md2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.