Session Ready
Exercise

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.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Load the broom package.
  • Use filter(), and keep only the employees whose job level is "Hourly". Assign the result to pay_filter.