Predicts individual race/ethnicity using surname, geolocation, and other attributes, such as gender and age. The method utilizes the Bayes' Rule to compute the posterior probability of each racial category for any given individual. The package implements methods described in Imai and Khanna (2015) "Improving Ecological Inference by Predicting Individual Ethnicity from Voter Registration Records" <doi:10.1093/pan/mpw001>.
Version: | 0.1-7 |
Depends: | R (≥ 3.2.0), utils |
Imports: | devtools (≥ 1.10.0) |
Suggests: | testthat |
Published: | 2017-09-01 |
Author: | Kabir Khanna [aut, cre], Kosuke Imai [aut, cre], Hubert Jin [ctb] |
Maintainer: | Kabir Khanna <kkhanna at princeton.edu> |
BugReports: | https://github.com/kosukeimai/wru/issues |
License: | GPL (≥ 3) |
URL: | https://github.com/kosukeimai/wru |
NeedsCompilation: | no |
Materials: | README ChangeLog |
CRAN checks: | wru results |
Reference manual: | wru.pdf |
Package source: | wru_0.1-7.tar.gz |
Windows binaries: | r-devel: wru_0.1-7.zip, r-release: wru_0.1-7.zip, r-oldrel: wru_0.1-7.zip |
OS X binaries: | r-release: wru_0.1-7.tgz, r-oldrel: wru_0.1-7.tgz |
Old sources: | wru archive |
Please use the canonical form https://CRAN.R-project.org/package=wru to link to this page.