This data was used to predict recidivism (whether a criminal will reoffend or not) in the USA.

data(compas)

Format

A data frame with 100 rows and 2 variables.

TwoYrRecidivism

yes/no for recidivism or no recidivism.

AgeAboveFoutryFive

yes/no for age above 45 years or not

AgeBelowTwentyFive

yes/no for age below 25 years or not

Gender

female/male for gender

Misdemeanor

yes/no for having recorded misdemeanor(s) or not

Ethnicity

Caucasian, African American, Asian, Hispanic, Native American or Other

Predicted

yes/no, predicted values for recidivism

Examples

data(compas)