MulaiMulai sekarang secara gratis

Where is the highest accident rate?

It's time to answer the executive's first question: did the accident rate increase from 2016 to 2017? Now that you have the had_accident variable, you can calculate the accident rate by taking the mean of had_accident. Use the appropriate statistical test to see if the accident rate increase is significant. Then, determine which site has the highest accident rate.

Latihan ini adalah bagian dari kursus

HR Analytics: Exploring Employee Data in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Find accident rate by year
hr_joined %>%
  ___

Edit dan Jalankan Kode