Is the difference significant?
The new hires have a higher average salary than the more tenured employees, but you don't yet know whether that difference is statistically significant. Check whether the difference is significant using the appropriate statistical test.
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.
# Perform the correct statistical test
___