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.
Latihan ini adalah bagian dari kursus
HR Analytics: Exploring Employee Data in R
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Visualize the difference in % disengaged by year in Southfield
___