Scientific article
OA Policy
English

How well does NamSor perform in predicting the country of origin and ethnicity of individuals based on their first and last names?

ContributorsSeboe, Paulorcid
Published inPloS one, vol. 18, no. 11, e0294562
Publication date2023-11-16
First online date2023-11-16
Abstract

Background: We aimed to evaluate NamSor's performance in predicting the country of origin and ethnicity of individuals based on their first/last names.

Methods: We retrieved the name and country of affiliation of all authors of PubMed publications in 2021, affiliated with universities in the twenty-two countries whose researchers authored ≥1,000 medical publications and whose percentage of migrants was <2.5% (N = 88,699). We estimated with NamSor their most likely "continent of origin" (Asia/Africa/Europe), "country of origin" and "ethnicity". We also examined two other variables that we created: "continent#2" ("Europe" replaced by "Europe/America/Oceania") and "country#2" ("Spain" replaced by "Spain/Hispanic American country" and "Portugal" replaced by "Portugal/Brazil"). Using "country of affiliation" as a proxy for "country of origin", we calculated for these five variables the proportion of misclassifications (= errorCodedWithoutNA) and the proportion of non-classifications (= naCoded). We repeated the analyses with a subsample consisting of all results with inference accuracy ≥50%.

Results: For the full sample and the subsample, errorCodedWithoutNA was 16.0% and 12.6% for "continent", 6.3% and 3.3% for "continent#2", 27.3% and 19.5% for "country", 19.7% and 11.4% for "country#2", and 20.2% and 14.8% for "ethnicity"; naCoded was zero and 18.0% for all variables, except for "ethnicity" (zero and 10.7%).

Conclusion: NamSor is accurate in determining the continent of origin, especially when using the modified variable (continent#2) and/or restricting the analysis to names with accuracy ≥50%. The risk of misclassification is higher with country of origin or ethnicity, but decreases, as with continent of origin, when using the modified variable (country#2) and/or the subsample.

Keywords
  • Africa
  • Asia
  • Ethnicity
  • Europe
  • Humans
  • Spain
Citation (ISO format)
SEBOE, Paul. How well does NamSor perform in predicting the country of origin and ethnicity of individuals based on their first and last names? In: PloS one, 2023, vol. 18, n° 11, p. e0294562. doi: 10.1371/journal.pone.0294562
Main files (1)
Article (Published version)
Secondary files (5)
Appendix - Python program to retrieve all PubMed articles published in 2021 with at least one author affiliated with a university or research institute in China (adapted from https://github.com/gijswobben/pymed).
accessLevelPublic
Supplemental data - S2 Table. Number and proportion of researchers by country of origin of researchers
accessLevelPublic
Supplemental data - S3 Table. First and last names of a random selection of researchers
accessLevelPublic
Show more
Identifiers
Additional URL for this publicationhttps://dx.plos.org/10.1371/journal.pone.0294562
Journal ISSN1932-6203
72views
353downloads

Technical informations

Creation20/11/2023 07:20:03
First validation18/03/2024 19:09:21
Update18/03/2024 19:09:21
Status update18/03/2024 19:09:21
Last indexation01/11/2024 08:55:45
All rights reserved by Archive ouverte UNIGE and the University of GenevaunigeBlack