Are hourly hires paid more?
In the plot you made, the bars were nearly equal. This supports the idea that an omitted variable - job level - is driving the difference in pay for new hires and current employees. However, the graph shows a small difference in the average salaries for hourly workers. Test whether a significant pay difference exists between hourly new hires and hourly current employees.
Latihan ini adalah bagian dari kursus
HR Analytics: Exploring Employee Data in R
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Load the package
___
# Filter the data to include only hourly employees
pay_filter <- ___