High-Performance Open-Source Archive
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> and Imai, Olivella, and Rosenman (2022) "Addressing census data problems in race imputation via fully Bayesian Improved Surname Geocoding and name supplements" <doi:10.1126/sciadv.adc9824>. The package also incorporates the data described in Rosenman, Olivella, and Imai (2023) "Race and ethnicity data for first, middle, and surnames" <doi:10.1038/s41597-023-02202-2>.
| Version: | 3.1.0 |
| Depends: | R (≥ 4.1.0), utils |
| Imports: | cli, dplyr, furrr, piggyback (≥ 0.1.4), PL94171, purrr, Rcpp, rlang |
| LinkingTo: | Rcpp, RcppArmadillo |
| Suggests: | covr, future, reticulate, testthat (≥ 3.0.0), tidycensus, tidyr |
| Published: | 2026-05-07 |
| DOI: | 10.32614/CRAN.package.wru |
| Author: | Kabir Khanna [aut], Brandon Bertelsen [aut, cre], Santiago Olivella [aut], Evan Rosenman [aut], Alexander Rossell Hayes [aut], Kosuke Imai [aut], Noah Dasanaike [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 |
| Reference manual: | wru.html , wru.pdf |
| Package source: | wru_3.1.0.tar.gz |
| Windows binaries: | r-devel: wru_3.1.0.zip, r-release: wru_3.1.0.zip, r-oldrel: wru_3.1.0.zip |
| macOS binaries: | r-release (arm64): wru_3.1.0.tgz, r-oldrel (arm64): wru_3.1.0.tgz, r-release (x86_64): wru_3.1.0.tgz, r-oldrel (x86_64): wru_3.1.0.tgz |
| Old sources: | wru archive |
| Reverse suggests: | birdie |
Please use the canonical form https://CRAN.R-project.org/package=wru to link to this page.
Need mirroring services?
Contact our team at info@vpspulse.com.
Mirror powered by VPSpulse
Infrastructure sponsored by VPSPulse & Secure Payments by ArionPay.