Statistical significance - disengaged employees
You've seen some evidence that the sales department has a higher proportion of disengaged employees than the rest of the company, but you aren't yet certain if that difference is significant. Now you can test whether that difference is statistically significant using the tests you just learned about.
This exercise is part of the course
HR Analytics: Exploring Employee Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Add the in_sales variable
survey_sales <- survey %>%
___