br_pol_model: Get Sex of Person Based on Model Trained on Brazilian...

Description Usage Arguments Value Examples

Description

Get predicted sex of a Portuguese name based on a model trained on a dataset of brazilian politicians. This model uses character counts, first and last characters, and bigrams. Note the predictions favor men as most of the database of politician's are men. With weak prediction the model favors just guessing male.

Usage

1

Arguments

names

vector of names

Value

data.frame with original list and proportion women with that name

Examples

1
br_pol_model(names="Antonio")

appeler/namesex documentation built on May 12, 2019, 5:15 p.m.