HR Analytics & Statistics: An Introduction - Analytics in HR

HR Analytics & Statistics: An Introduction

“To understand God’s thoughts one must study statistics for they are measure of his purpose in the Universe” – Florence Nightingale As a statistics instructor in...

2654 0
2654 0

“To understand God’s thoughts one must study statistics for they are measure of his purpose in the Universe” – Florence Nightingale

As a statistics instructor in the early part of my career, I know how boring statistics can be (to most of us). However, grasping the fundamentals of statistics is critical for your success. Without it, you cannot capitalize on the huge potential data science offers to HR.

In this article, I will decipher statistics through storytelling. I will answer 19 questions typically asked by young business and HR managers who are about to start their analytics journey.

Question 1: How would you define HR analytics?

Analytics is a combination of the two terms “analysis” & “statistics”. It refers to any analysis driven through the application of statistics. Therefore, HR analytics is analytics applied to the domain of HR.

Question 2: So how does the discipline of statistics help HR?

The world of HR, as well as people in general, can be extremely random. Statistics help understand, capture and predict the randomness of our world. It forewarns about spikes of uncertainty or hidden aspects in day-to-day HR processes, like recruitment or succession. Without it, we wouldn’t be able to calculate the ROI of HR initiatives.

It’s always statistics in one form or another to the rescue!

Question 3: You sound like statistical analysis is the solutions to all HR problems?

I wish it were. Unfortunately, statistical modeling can only explain part of the problem. We don’t live in a perfect world. Unlike theoretical math, which deals with direct computations, statistics are about probabilities and the distribution of processes.

Statistical models are always suspect to some unidentifiable factors (noise) and inherent errors. Noise and errors make our predictions less certain. Having said that, a good statistical model will explain a major part of the problem.

Not to worry, though. There are uncertainties involved with everything we do. The application of statistics reduces the uncertainties to their lowest denominator. This provides HR with a robust and accurate decision support system.

Question 4: Apart from noise and errors, are there are any other drawbacks in the application of statistics?

Yes, bias! It can be a significant factor in any statistical analysis. This could be due to poor sampling, selective information or even lack of adequate data altogether

Take the popular example of the school kid who took third position in a race. Great job, kid! However, the race only had 3 participants. Perhaps a less than stellar performance after all. This bias could be solved by treating the number of participants as selective information.

In the real world, sampling biases could inject a substantial amount of selective information. It can even be deliberately designed to favor vested parties of interest, rather than representing the facts. This is not very different from accountants who cook up the financial records, isn’t it?
Statistics in HR analytics

Question 5: So far, so good. Now, can you demystify the technicalities of statistics with real-world analogies, without the use of linear algebra?

Alright, game on!

Statistics has just three core parts, that’s all. These three musketeers (individually or combined!) can tackle any data-driven solution for HR under the sun!

The three parts are:

  • Descriptive statistics
  • Inferential statistics
  • Statistical modeling

Question 6: Do we need to learn all three separately?

Nope, they are joined at the hip! Let me clarify all three through a real-world analogy:

Imagine both of us enter a sports auditorium and find a basket containing 4 sports balls in the middle. In this example, there are two tennis balls, one volleyball, and one soccer ball. We could refer it as our data-set.

Statistics in HR analytics example

Now both of us, individually, are tasked to group the balls by their circumference. We don’t observe each other’s groupings, of course.

I identify 2 groups based on circumference:
Statistics in HR analytics example_1
I put them back in the basket. You repeat my exercise and identify 3 groups based on circumference.
Statistics in HR analytics example_2
Both of us have inadvertently used descriptive statistics when we grouped the ball by circumference. We then compared the groups to the total number of balls and gave our unique solutions. However, the important question is: Why did we group them differently?

Now, this is the essence of inferential statistics.

Question 7: Okay, did one of us group them incorrectly?

Nope, that’s the beauty of inferential statistics. Both of us are correct, only our inferences were slightly different. The soccer ball was simply 98% the circumference of the volleyball.

For me, the difference in size, i.e. 2%, seemed insignificant. Therefore, I allocated them to the same group. To you, the 2% difference in size did seem significant, which made you allocate the two balls to two different groups.

See how we used the terms significance and inferences in conversational English. Yet these very terms form the backbone of any statistical analysis.

Question 8: So, the difference is significant to me but not to you. Significance is a matter of individual whim, is it?

Aha, that is only partly true! The decision can change even with the same level of significance. How? Let’s dig a little deeper and see where the idea of confidence level originates from.

Say, instead of just one soccer and volleyball, we had 10 balls of each type. We would then need to take the average circumference of 10 units (of both types of balls). Now the average of 10 soccer balls comes out to be 99% the circumference of the average of 10 volleyballs. An upgrade from 98%, isn’t it?

Here the difference in size, i.e. 1%, is insignificant to both of us. We therefore allocate both balls to the same group. See how our decision changed with a larger sample size? It’s important to note we are also more confident about our inference with a larger sample size.

Finally, let’s average 100 units of each type of ball. Now the soccer ball is 100% the average circumference of the volleyball. Now, even the most skeptic among us won’t have any doubts that the soccer ball set and the volleyball set are of the same circumference.

This explains statistics in a nutshell. See, it’s all about inferences levels (which can be tailored) and how we are more confident about our inferences the larger the sample size.

Question 9: If it’s that simple, why do we need metrics to compute p-values, levels of significance, confidence intervals, ANOVA’s, etcetera?

Yes! I knew that was coming.

There are two fundamental reasons why statistical calculations are much more complex

  1. That there is much more variation between individual units in most real-life processes – including HR – compared to our previous example.
  2. We are measuring the difference between two groups of balls – and not between individual balls. Related to HR: we are measuring the difference between two teams of recruiters (and not between individual recruiters).

In our previous example, soccer balls and other types of balls undergo rigorous quality control in their manufacturing. This results in them having minimal variation. People, however, do not undergo “rigorous quality control” in their “manufacturing”. People are a lot more diverse and have a lot more variance between each individual unit.

Both examples, however, approximate a normal distribution in real-life.

Question 10: Okay, I have read this before, but what exactly is normality?

Let’s take the analogy of the soccer ball to another dimension using its shape. The distribution of real-life processes (like productivity per employee, or candidate quality fitments) when plotted on a chart manifest themselves in different shapes. These shapes range from soccer balls to rugby balls, with almost every shape in between. But they are mostly closer to a rugby than a soccer ball.

For the simplest explanation possible let’s take look at a sand hourglass.
Statistics in HR analytics - Normal distribution

The fine grains falling through the glass have a mini microns’ difference in size and weight. The pyramid, however, always follows an approximate normal distribution, time and time again (pun intended). Similar to a half rugby ball. This means variance patterns between different units are naturally expected to be within a certain range.

For another explanation of the normal distribution, look at short YouTube clip:

Click the video to start – it works!

That’s exactly how most real-life processes (including HR) behave. Well, some processes are more like an hourglass on a stormy sea ride (not a normal distribution and no acceptable range – which I will explain next)! That’s why one of the core issues in statistics is testing for normality. We need to check if our HR business processes follow this hourglass-like distribution on a calm sea.

Question 11: So, does that simply mean that a normal distribution variance must be within acceptable limits?

Exactly. The perfect normal distribution translates to 99.7% of the ball (or data set) lying within 3 standard deviations from the mean and 66.6% within 2 standard deviations. Standard deviation is a measure of dispersion, similar to measuring the variance of the width of a rugby ball from its center. Not to worry, I will make this simpler in a moment!

If our HR process closely follows the shape of a normal distribution, we can be sure that any statistical inference will have a good measure of accuracy.

Question 12: So, what if our rugby ball – sorry, HR process – isn’t normal? Is that the end of reliable statistical analysis?

Nope, absence of normality is not abnormality. There is a working compromise here; We could use the median instead of the mean. The median is an estimation of centrality similar to the mean. We could use non-parametric methods to execute our statistical analysis but the results are touted to be less robust in real-life scenarios.

However, as a statistician, I feel non-parametric methods are one of the simplest and underutilized aspects of statistics.

Anyway, there are other hacks that you can use in your statistical analysis. Like box-cox transformations, removing outliers (to force normality), and others. However, this is slightly beyond the scope in this post. Please do bear in mind that there is always a hack to any statistical analysis!

Question 13: I think I have a broad overview of the capabilities and limitations of statistics: The normal distribution, variance, and statistical inference. Can you give me a real-life HR example of a normal distribution and its statistical analysis?

Sure thing! Let’s take two identical pictures of our rugby ball with your smartphone. Then, take two printouts of it and randomly put a hundred dots on both the pictures (roughly covering the entire surface of the image). The images of the rugby balls are identical, but the pattern of dots on both the balls aren’t identical.
Statistics in analytics - comparing groups
Why? Many of the random 100 dots on both the rugby balls have varying distances from the center of the image (mean). Therefore, it’s hard to tell the overall difference without measuring the distances of all the dots.

Now, replace the 2 rugby ball images with 2 recruitment teams of a global recruitment center in HR. Each image, or global recruitment center, has 100 recruiters. Replace the random dots with the recruitment performance of each recruiter.

The exact center of the rugby ball represents the mean performance of each team. Since we are now computing real values, a few dots may even be mapped outside the rugby ball. For the sake of analogy, however, let’s take the maximum outlier point as equal to the maximum edge of the rugby ball.

Are the performances of both teams equal? It’s the same case. The same rugby ball. The same 100 recruiters. The same overall area. However, the overall performances aren’t necessarily the same.

Question 14: Yes, the performances of both the teams aren’t certain to be equal. Is the variance of performance of each recruiter significant now?

Yup, spot on! Instead of just one factor (the mean), we now have two factors (the mean AND the variance) that are important.

Comparison between the mean and the variance is the soul of statistics.

The mean (average of all recruiters’ performances) and variance (the distance of each recruiter from the mean). Master these two concepts and you’ve mastered 90% of applied statistics. I mean it (pun intended)!

All hypothesis tests in statistics, including T-Tests, ANOVA, Chi-Square and more, depending upon equations derived from:

  1. Mean or median (average of all recruiters’ performances).
  2. Variance (the distance of each recruiter from the mean).
  3. The total number of population (The sample of recruiters, i.e. n).
  4. And in some cases

  5. Values from z-distribution tables (pre-computed normal distribution tables).

That’s all there is to it!

Question 15: Good. That breaks all statistics down to their 4 lowest denominators. Do we typically need to do all these tests on HR data?

The exact tests would depend upon the type of insights required for the business. A typical starting point would be a t-test or an ANOVA. ANOVA literally stands for analysis of variance. Both of these test whether there’s a significant overall difference between the mean of two groups, such as two HR recruitment teams.

Question 16: Okay, shall we do a t-test on our recruiter performance data?

Sure. We select a sample set from our data. Say the performance of 30 recruiters (out of 100) from each team. These are randomly selected, of course, to eliminate any bias.

Now we have the data in terms of average performance (of both the sample and the total) and the variance. That’s all the data we will need.

We apply the t-test formula. It’s a linear algebra jugglery on the mean, the variance and the total number of recruiters. We will explain the logic behind the formula in my next article:

Z Formula

The computation will take about 12 minutes via hand calculations (using a basic calculator) or a few seconds using a statistical analysis software or an Excel macro.

Now the output could be something like:

Again, don’t worry about the other aspects at this point.

Now, based on the same report, we could still end up with different answers to our hypothesis. Why?

Because our understanding of the “significance of difference” for the p-value of t-test was different. In other words, your criteria for significance of the p-value was smaller than .10, whereas my criteria for significance was smaller than .05.

The p-value in our test is .09.

Let’s compare the p-value of the test to our individual level of significance:

  • .09 > .05 (my value of significance)
  • .09 < .10 (your value of significance)

In your case, the p-value of the test was lower than your value of significance. This means that, according to you, there was a significant difference in the mean between the two groups.

In my case, the p-value of the test was higher than my own value of significance. Therefore, I don’t think that there is a significant difference between the two groups.

The p-value means the chance that the difference between the two groups comes from random chance. As in, there is no actual difference between the two groups. In our case, there is a 9% chance that the difference between the two groups is due to chance. This was enough for you to conclude that there was a significant difference between the two groups. I had higher standards and thus did not think that this chance was low enough to warrant the same conclusion.

Question 17: What would happen if we were to increase the sample size?

Interestingly, if we change the sample size from 30 to 100, the value of p increases to .15. This would mean that there was no difference in performance between the two teams according to both of our inferences.

  • .15 > .05 (my value of significance)
  • .15 > .10 (your value of significance)

As you can see the inferences (decisions) change with changes in sample size.

Question 18: What about other aspects, like confidence intervals?

The narrower the confidence interval, the more confident we are about our analysis. If our data-set follows normality than its width should inversely correlate with sample size. This follows the central limit theorem. I will cover this and other key aspects of statistical tests in the next part. This part was just to give an overview of the discipline of applied statistics and its relevance to HR.

I hope you enjoyed our virtual interaction!

Sunil MehariaCo-writer: “Sunil Meharia is IT/HCM consultant, Data Analyst and HCM product implementation expert. He has over 7 years of experience across large manufacturing and research-based conglomerates. His primary focus has been on data analytics in human resources, business strategy, and transformation.”

Join the Conversation