R Tutorial: Recruiting and quality of hire

Learn to measure which recruiting channels produce the best hires using HR analytics in R. The tutorial covers key metrics like attrition, performance rating, and time-to-productivity, then uses dplyr functions to group data by recruiting source and rank them by quality.
Chapters
Now that you've learned about the general process for HR analytics, you can apply that process to a real life question. Where are your best hires coming from? And where could you get more of them? Success in business relies on how well your workforce performs, and your workforce is largely a product of who you hire. Using the first two steps of the general process described in the last video. The groups you'll be comparing are employees who were hired from different recruiting channels, and the statistics you'll calculate are how good the hires were or the average quality of hire for each group. How do you measure quality of hire? There isn't one accepted way to compute it for every type of employee, but you can usually use metrics such as retention, hiring manager satisfaction, job performance, or time to productivity, which is the amount of time it takes for the employee to become fully productive. How exactly you combine these measures together into a single metric is something to discuss with stakeholders, including those in your talent acquisition department. In this chapter, you'll be working with these four variables. One is a measure of attrition and performance Rating and sales quota. Percent are measures of job performance. Attrition rates can be calculated in a few different ways. For this course, you'll only be looking at one snapshot in time, so you can use a simple number of employees who left the company or attrition divided by total headcount. In the data set for this chapter, attrition is coded as 1 if the employee left and 0 otherwise. This means that an equivalent formula for attrition is to take the average of the attrition variable. This is the formula you'll use in the exercises. The analysis in this course will build on the tools introduced in the introductory course on the Tidyverse. These functions fit nicely into the pattern of identifying groups with group by and summarizing information about those groups with summarize. In this example, you can see that groupby is used to split the recruitment data into groups and then Summarize is used to apply a function the maximum of a performance rating to each recruiting source. Arrange is used to sort the result by highest performance. This course will also introduce some new tools from the Tidyverse. One of them is Count. The count function from dplyr returns the number of rows corresponding to each member of the specified group. If you don't specify a group, count returns the total number of rows in the data. This function is useful for exploring categorical data. Here, Count tells you which recruiting sources are in the data and how many applicants were hired from each one. If a recruiting source is missing from your data set. Count can help you catch that. Now it's time for you to find where the best hires come from.
More from Richie

#359 My Best Friend is AI with Valerie Tiberius, Professor of Philosophy at University of Minnesota

How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon







