wru: Who are You? Bayesian Prediction of Racial Category Using Surname and Geolocation

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 (2016) "Improving Ecological Inference by Predicting Individual Ethnicity from Voter Registration Records" Political Analysis <DOI:10.1093/pan/mpw001>.

Getting started

Package details

AuthorKabir Khanna [aut, cre], Kosuke Imai [aut]
MaintainerKabir Khanna <kabirkhanna@gmail.com>
LicenseGPL (>= 3)
URL https://github.com/kosukeimai/wru
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the wru package in your browser

Any scripts or data that you put into this service are public.

wru documentation built on May 18, 2021, 1:05 a.m.