This open-source software package enables researchers to predict individual ethnicity using his/her 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 voter. The package implements methods described in Imai and Khanna (2015) "Improving Ecological Inference by Predicting Individual Ethnicity from Voter Registration Records."
Package details |
|
---|---|
Author | Kabir Khanna [aut, cre], Kosuke Imai [aut, cre] |
Maintainer | Kabir Khanna <kkhanna@princeton.edu> |
License | GPL (>= 2) |
Version | 0.0-1 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.