Checking for omitted variables
With the survey data joined, you can test your colleague's idea that employee engagement, or specifically, employee disengagment, changed at the same time that the accident rate changed. Use a bar chart to compare the distributions, just as you have in previous chapters, and then use a statistical test to check if the difference you can see is significant.
Deze oefening maakt deel uit van de cursus
HR Analytics: Exploring Employee Data in R
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Visualize the difference in % disengaged by year in Southfield
___