wru: Who are You? Bayesian Prediction of Racial Category Using Surname, First Name, Middle Name, and Geolocation

Predicts individual race/ethnicity using surname, first name, middle name, geolocation, and other attributes, such as gender and age. The method utilizes Bayes' Rule (with optional measurement error correction) to compute the posterior probability of each racial category for any given individual. The package implements methods described in Imai and Khanna (2016) "Improving Ecological Inference by Predicting Individual Ethnicity from Voter Registration Records" Political Analysis <doi:10.1093/pan/mpw001>.

Version: 1.0.0
Depends: R (≥ 4.1.0), utils
Imports: dplyr, future, furrr, purrr, Rcpp, piggyback, PL94171
LinkingTo: Rcpp, RcppArmadillo
Suggests: testthat (≥ 3.0.0), covr
Published: 2022-06-21
Author: Kabir Khanna [aut], Brandon Bertelsen [aut, cre], Santiago Olivella [aut], Evan Rosenman [aut], Kosuke Imai [aut]
Maintainer: Brandon Bertelsen <brandon at bertelsen.ca>
BugReports: https://github.com/kosukeimai/wru/issues
License: GPL (≥ 3)
URL: https://github.com/kosukeimai/wru
NeedsCompilation: yes
Materials: README
CRAN checks: wru results

Documentation:

Reference manual: wru.pdf

Downloads:

Package source: wru_1.0.0.tar.gz
Windows binaries: r-devel: wru_1.0.0.zip, r-release: wru_1.0.0.zip, r-oldrel: wru_1.0.0.zip
macOS binaries: r-release (arm64): wru_1.0.0.tgz, r-oldrel (arm64): wru_1.0.0.tgz, r-release (x86_64): wru_1.0.0.tgz, r-oldrel (x86_64): wru_1.0.0.tgz
Old sources: wru archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=wru to link to this page.