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.
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.
# Load the package
___
# Filter the data to include only hourly employees
pay_filter <- ___