r4lineups0.1.1 package

Statistical Inference on Lineup Fairness

allfoil_cihigh

Confidence Intervals for Proportion

allfoilbias

Bias for each lineup member

allprop

Lineup proportion for all lineup members

chi_diag

Chi-squared estimate of homogeneity of diagnosticity ratio

compare_eff_sizes.boot

Comparing Effective Size: Base function for bootstrapping

d_bar

Mean diagnosticity ratio for k lineup pairs

d_weights

Diagnosticity ratio weights

datacheck1

Helper function

datacheck2

Helper function

datacheck3

Helper function

diag_param

Parameters for diagnosticity ratio

diag_ratio_T

Diagnosticty Ratio (Tredoux, 1998)

diag_ratio_W

Diagnosticity Ratio (Wells & Lindsay, 1980; Wells & Turtle, 1986)

eff_size_per_foils

Effective Size per Foils

effsize_compare

Master Function: Comparing Effective Size

esize_m

Effective Size

esize_m_boot

Bootstrapped Effective Size

esize_T

Effective Size (Tredoux, 1998)

esize_T_boot

Bootstrapped Effective Size (Tredoux, 1998)

esize_T_ci_n

Effective Size with Confidence Intervals from Normal Theory (Tredoux, ...

face_sim

Compute similarity of faces in a lineup; experimental function

func_size.boot

Bootstrapped Functional Size

func_size

Functional Size

func_size_report

Functional Size with Bootstrapped Confidence Intervals

gen_boot_propci

Percentile of Bootstrapped Lineup Proportion

gen_boot_propmean_se

Descriptive statistics for bootstrapped lineup proportion

gen_boot_samples

Bootstrap resampling

gen_boot_samples_list

Bootstrapped resampling

gen_esize_m

Effective Size (across a dataframe)

gen_esize_m_ci

Bootstrapped Confidence Intervals for Effective Size

gen_lineup_prop

Lineup proportion over dataframe

gen_linevec

Lineup vector

homog_diag

Master function: Homogeneity of diagnosticity ratio

homog_diag_boot

Homogeneity of diagnosticity ratio with bootstrapped CIs

i_esize_T

I Component of Effective Size(Tredoux, 1998)

lineup_boot_allprop

Confidence intervals for lineup proportion

lineup_prop_boot

Bootstrapped lineup proportion

lineup_prop_tab

Lineup proportion

lineup_prop_vec

Lineup proportion

ln_diag_ratio

Ln of Diagnosticity Ratio

make_roc

Compute and plot ROC curve for lineup accuracy ~ confidence

make_rocdata

Helper functions: Compute and plot ROC curve for lineup accuracy ~ con...

makevec_prop

Helper functions

rep_index

Rep index

rot_vector

Rotate vector

show_lineup

Helper function

var_diag_ratio

Variance of diagnosticity ratio (Tredoux)

var_lnd

Variance of ln of diagnosticity ratio

Since the early 1970s eyewitness testimony researchers have recognised the importance of estimating properties such as lineup bias (is the lineup biased against the suspect, leading to a rate of choosing higher than one would expect by chance?), and lineup size (how many reasonable choices are in fact available to the witness? A lineup is supposed to consist of a suspect and a number of additional members, or foils, whom a poor-quality witness might mistake for the perpetrator). Lineup measures are descriptive, in the first instance, but since the earliest articles in the literature researchers have recognised the importance of reasoning inferentially about them. This package contains functions to compute various properties of laboratory or police lineups, and is intended for use by researchers in forensic psychology and/or eyewitness testimony research. Among others, the r4lineups package includes functions for calculating lineup proportion, functional size, various estimates of effective size, diagnosticity ratio, homogeneity of the diagnosticity ratio, ROC curves for confidence x accuracy data and the degree of similarity of faces in a lineup.

  • Maintainer: Colin Tredoux
  • License: CC0
  • Last published: 2018-07-18