Gender Prediction Methods Based on First Names with genderizeR

In recent years, there has been increased interest in methods for gender prediction based on first names that employ various open data sources. These methods have applications from bibliometric studies to customizing commercial offers for web users. Analysis of gender disparities in science based on such methods are published in the most prestigious journals, although they could be improved by choosing the most suited prediction method with optimal parameters and performing validation studies using the best data source for a given purpose. There is also a need to monitor and report how well a given prediction method works in comparison to others. In this paper, the author recommends a set of tools (including one dedicated to gender prediction, the R package called genderizeR), data sources (including the API), and metrics that could be fully reproduced and tested in order to choose the optimal approach suitable for different gender analyses.

Kamil Wais

CRAN packages used

genderizeR, qdap, gender, babynames, sortinghat, stringr, tm, ROCR, verification, data.table, dplyr

CRAN Task Views implied by cited packages

HighPerformanceComputing, NaturalLanguageProcessing, Finance, MachineLearning, Multivariate, WebTechnologies


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Wais, "The R Journal: Gender Prediction Methods Based on First Names with genderizeR", The R Journal, 2016

BibTeX citation

  author = {Wais, Kamil},
  title = {The R Journal: Gender Prediction Methods Based on First Names with genderizeR},
  journal = {The R Journal},
  year = {2016},
  note = {},
  doi = {10.32614/RJ-2016-002},
  volume = {8},
  issue = {1},
  issn = {2073-4859},
  pages = {17-37}