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 exercício faz parte do curso
HR Analytics: Exploring Employee Data in R
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Run a simple logistic regression
logistic_simple <- ___(___, family = ___, data = ___)