Other packages > Find by keyword >

wru  

Who are You? Bayesian Prediction of Racial Category Using Surname, First Name, Middle Name, and Geolocation
View on CRAN: Click here


Download and install wru package within the R console
Install from CRAN:
install.packages("wru")

Install from Github:
library("remotes")
install_github("cran/wru")

Install by package version:
library("remotes")
install_version("wru", "3.0.3")



Attach the package and use:
library("wru")
Maintained by
Brandon Bertelsen
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-12-09
Latest Update: 2024-05-24
Description:
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>.
How to cite:
Brandon Bertelsen (2015). wru: Who are You? Bayesian Prediction of Racial Category Using Surname, First Name, Middle Name, and Geolocation. R package version 3.0.3, https://cran.r-project.org/web/packages/wru. Accessed 25 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:00), 0.0-1 (2015-12-09 22:28), 0.0-2 (2016-03-11 10:27), 0.1-1 (2016-12-13 19:55), 0.1-2 (2017-03-05 08:47), 0.1-3 (2017-04-14 16:07), 0.1-4 (2017-05-05 05:09), 0.1-5 (2017-06-09 01:08), 0.1-6 (2017-08-17 13:06), 0.1-7 (2017-09-01 10:03), 0.1-8 (2019-02-13 09:40), 0.1-9 (2019-02-21 22:20), 0.1-10 (2020-10-22 06:50), 0.1-11 (2021-04-22 06:50), 0.1-12 (2021-05-17 22:20), 1.0.0 (2022-06-21 15:50), 1.0.1 (2022-10-21 19:30), 3.0.0 (2024-02-16 18:50), 3.0.1 (2024-02-28 05:20), 3.0.2 (2024-04-04 06:50), 3.0.3 (2024-05-24 20:00)
Other packages that cited wru R package
View wru citation profile
Other R packages that wru depends, imports, suggests or enhances
Complete documentation for wru
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

missDiag  
Comparing Observed and Imputed Values under MAR and MCAR
Implements the computation of discrepancy statistics summarizing differences between the density of ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
connectwidgets  
Organize and Curate Your Content Within 'Posit Connect'
A collection of helper functions and 'htmlwidgets' to help publishers curate content collections on ...
Download / Learn more Package Citations See dependency  
hwep  
Hardy-Weinberg Equilibrium in Polyploids
Inference concerning equilibrium and random mating in autopolyploids. Methods are available to test ...
Download / Learn more Package Citations See dependency  
commonsMath  
JAR Files of the Apache Commons Mathematics Library
'Java' JAR files for the Apache Commons Mathematics Library for use by users and other packages. ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA