Bootstrap Distribution of Lineup Bias (Target Proportion)
Source:R/bias_effective_distributions.R
lineup_bias_boot_dist.RdComputes a bootstrap distribution for the target-position proportion.
Usage
lineup_bias_boot_dist(
lineup_input,
target_pos,
k,
input_type = c("vector", "table"),
R = 1000
)Value
A numeric vector of bootstrap estimates, carrying an "n"
attribute equal to the number of lineup choices resampled. Because each
estimate is a count divided by n, the estimates fall on a discrete
lattice with spacing 1/n; plot_lineup_bias_distribution
uses the attribute to bin at that resolution.