Comparing distributions of high performers
You just performed a statistical test of the difference in high_performer
distribution between men and women in this dataset. You can also visualize the difference with 100% stacked bar charts, as you did with job_level
in the last chapter.
In this exercise, you'll use the same method you did before to visually compare the difference in the distribution of ratings given to men and women. You'll start by comparing the mix of high performers, and finish by comparing the distribution of all ratings.
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.
# Visualize the distribution of high_performer by gender
___