Performance ratings: a simple logistic regression
Since high_performer
is a binary variable, you'll need to use logistic regression to test whether men are statistically more likely to be labeled high performers in this dataset, even when job level is taken into account.
Do a warm-up by running a simple logistic regression without adding in job level.
Este ejercicio forma parte del curso
HR Analytics: Exploring Employee Data in R
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# Run a simple logistic regression
logistic_simple <- ___(___, family = ___, data = ___)