raceprofiling {twang} | R Documentation |
Simulated example data for assessing race bias in traffic stop outcomes
data(raceprofiling)
A data frame with 5000 observations on the following 10 variables.
id
nhood
reason
resident
age
male
race
A
, B
,
H
, W
hour
month
citation
This is simulated data to demonstrate how to use twang
to adjust
estimates of racial bias for important factors. This dataset does not represent
real data from any real law enforcement agency.
G. Ridgeway (2006). “Assessing the effect of race bias in post-traffic stop outcomes using propensity scores,” Journal of Quantitative Criminology 22(1).
http://www.i-pensieri.com/gregr/rp.shtml
data(raceprofiling) # the first five lines of the dataset raceprofiling[1:5,]