Business Mathematics & Statistics

Chapter 11
Correlation, Regression and Workforce Analytics

Bachelors Program in Human Resource Management
Business Mathematics & Statistics   •   Bachelor

Correlation, Regression and Workforce Analytics

Introduction

Human resource management increasingly depends on evidence about relationships among workforce variables. HR professionals may ask whether training hours are associated with productivity, whether absenteeism predicts employee turnover, or whether compensation differences are related to performance. Correlation and regression provide systematic methods for investigating such questions, while workforce analytics converts results into decisions about recruitment, development, retention and workforce planning.

These methods do not replace managerial judgement. They provide evidence, quantify uncertainty and help distinguish observed patterns from unsupported assumptions. Sound analysis requires appropriate data, clearly defined variables, valid measurement, ethical safeguards and careful interpretation.

Learning Objectives

By the end of this chapter, students should be able to:

  1. Explain correlation, regression and their roles in workforce analytics.
  2. Calculate and interpret Pearson’s correlation coefficient.
  3. Develop and interpret a simple linear regression model.
  4. Distinguish association from causation and identify major analytical assumptions.
  5. Apply workforce analytics to an HR decision using appropriate metrics.
  6. Evaluate ethical, legal and practical limitations of predictive HR analysis.

1. Workforce Analytics as an Evidence-Based Process

Workforce analytics is the systematic collection, integration, analysis and communication of workforce data to improve organizational decisions. It is often described through four levels:

LevelMain questionExample
DescriptiveWhat happened?Turnover increased from 12% to 16%.
DiagnosticWhy might it have happened?Exit data show dissatisfaction with scheduling.
PredictiveWhat is likely to happen?Which employees may be at higher risk of leaving?
PrescriptiveWhat should be done?Which retention interventions should be prioritized?

Correlation is primarily descriptive and diagnostic. Regression supports explanation, prediction and estimation. Prescriptive analysis requires additional assumptions about costs, benefits, feasibility and possible interventions.

A typical analytical workflow is:

  1. Define the business or HR question.
  2. Specify the population, unit of analysis and time period.
  3. Identify valid and relevant variables.
  4. Clean, code and explore the data.
  5. Select an appropriate statistical method.
  6. Estimate and test the model.
  7. Interpret effect size, uncertainty and practical significance.
  8. Communicate findings responsibly and monitor outcomes.

The unit of analysis must be explicit. A dataset may contain employees, applications, teams, establishments or employee-month observations. Mixing these units can produce misleading conclusions.

2. Variables and Measurement in HR Data

A variable is a measurable characteristic that can take different values. Common workforce variables include:

  • Outcome or dependent variable: the variable to be explained or predicted, such as salary, productivity or turnover.
  • Predictor or independent variable: a variable used to explain or predict the outcome, such as training hours or tenure.
  • Control variable: a relevant variable included to reduce confounding, such as job level, location or work arrangement.
  • Categorical variable: values represent groups, such as department or employment type.
  • Quantitative variable: values represent numerical amounts, such as age, absence days or performance score.

Measurement quality is essential. For example, “engagement” may be measured using a validated multi-item scale, whereas a single untested question may have weaker reliability. Missing values, inconsistent employee identifiers, duplicate records and changes in definitions over time can substantially affect results.

3. Correlation

3.1 Meaning of correlation

Correlation measures the direction and strength of linear association between two quantitative variables. Pearson’s correlation coefficient is commonly denoted by r and ranges from −1 to +1.

  • r > 0 indicates a positive linear association.
  • r < 0 indicates a negative linear association.
  • r = 0 indicates no linear association, although a nonlinear relationship may still exist.
  • Values close to ±1 indicate stronger linear association; values close to 0 indicate weaker linear association.

Correlation is symmetric: the correlation between training hours and productivity is the same as the correlation between productivity and training hours. It does not identify a dependent and independent variable and does not prove causation.

3.2 Pearson’s correlation coefficient

r = [∑(xi − x̄)(yi − ȳ)] / √[∑(xi − x̄)2 × ∑(yi − ȳ)2]

Here, xi and yi are paired observations, x̄ and ȳ are sample means, and the summation is over n paired observations. The denominator must be non-zero. Pearson correlation is most appropriate when observations are paired, variables are quantitative, the relationship is approximately linear, and extreme outliers are absent or appropriately understood.

The coefficient is unit-free. A correlation of 0.70 has the same interpretation whether the variables are measured in hours, dollars or points, but its substantive meaning depends on the context.

3.3 Worked example: training and productivity

Suppose five employees have the following data:

EmployeeTraining hours, xProductivity score, y
A150
B254
C359
D463
E564

The means are x̄ = 3 and ȳ = 58. The deviations are:

x − x̄y − ȳProduct(x − x̄)²(y − ȳ)²
−2−816464
−1−44116
01001
155125
2612436
Total3710142

Therefore,

r = 37 / √(10 × 142) ≈ 0.981

The sample shows a very strong positive linear association. It does not establish that training caused higher productivity. More productive employees may seek more training, managers may select high performers for training, or another factor may influence both variables.

3.4 Interpreting strength

There is no universal classification of “weak” or “strong” correlation. Interpretation depends on measurement reliability, sample size, field norms and consequences of error. A correlation of 0.30 may be useful for a complex human outcome, while 0.90 may indicate duplicated measures or restricted variation. Always inspect a scatterplot because a coefficient can conceal clusters, curvature or outliers.

4. Simple Linear Regression

4.1 Purpose and model

Regression specifies an outcome and estimates how its expected value changes with a predictor. The population model is commonly written as:

yi = β0 + β1xi + εi

where yi is the outcome for observation i, xi is the predictor, β0 is the intercept, β1 is the population slope, and εi is the error term. The fitted sample equation is:

ŷi = b0 + b1xi

Here, ŷi is the predicted outcome, and b0 and b1 are estimated from sample data.

The ordinary least squares slope and intercept are:

b1 = [∑(xi − x̄)(yi − ȳ)] / [∑(xi − x̄)2]
b0 = ȳ − b1x̄

Ordinary least squares chooses coefficients that minimize the sum of squared residuals:

SSE = ∑(yi − ŷi)2

The residual for observation i is ei = yi − ŷi.

4.2 Worked regression example

Using the training and productivity data above, the cross-product sum is 37 and the squared-deviation sum for training is 10. Thus:

b1 = 37 / 10 = 3.7

Since x̄ = 3 and ȳ = 58:

b0 = 58 − (3.7 × 3) = 46.9

The fitted equation is therefore:

ŷ = 46.9 + 3.7x

The slope means that, within this fitted sample relationship, one additional hour of training is associated with an estimated 3.7-point increase in productivity score. It is not automatically a causal effect.

For 6 training hours:

ŷ = 46.9 + (3.7 × 6) = 69.1

This is an extrapolation because the observed training range was 1–5 hours. Predictions outside the observed range are often less reliable.

4.3 Goodness of fit and R2

The coefficient of determination is:

R² = 1 − SSE/SST

where SSE is the residual sum of squares and SST = ∑(yi − ȳ)2 is the total sum of squares. R² is the proportion of sample variation in the outcome accounted for by the fitted linear model. In simple linear regression with an intercept, R² = r².

For the example:

R² = (0.981)2 ≈ 0.963

Approximately 96.3% of the observed variation in these five productivity scores is represented by the fitted line. This unusually high value should not be generalized from such a small illustrative sample.

A high R² does not prove causation, guarantee accurate future predictions or show that a model is useful for intervention. A model may fit historical data well but perform poorly on new data.

5. Assumptions and Statistical Inference

For ordinary least squares interpretation and inference, analysts commonly examine:

  1. Linearity: the conditional mean of the outcome is adequately represented by a linear function of the predictors.
  2. Independence: observations or errors are independent, unless dependence is explicitly modelled.
  3. Constant variance: error variability is reasonably stable across fitted values.
  4. Reasonable residual distribution: normality is mainly relevant for small-sample confidence intervals and tests, not for unbiased estimation itself.
  5. No influential data errors: extreme observations should be investigated rather than automatically deleted.
  6. Appropriate specification: important variables, interactions and nonlinear patterns are considered.

A residual plot can reveal curvature or changing variance. In workforce data, independence is often violated when employees belong to the same team, manager or location. Clustered or multilevel models may then be more appropriate.

A confidence interval gives a range of plausible values for a population parameter under the model and sampling assumptions. A p-value assesses compatibility with a null hypothesis; it is not the probability that the hypothesis is true and does not measure practical importance. Analysts should report effect sizes, uncertainty, sample size and relevant business implications together.

6. Multiple Regression and Categorical Predictors

Multiple regression extends the model to several predictors:

yi = β0 + β1x1i + β2x2i + … + βkxki + εi

The coefficient βj represents the expected change in the outcome associated with a one-unit increase in predictor xj, holding the other included predictors constant. “Holding constant” is a statistical adjustment, not proof that the other variables are truly fixed or that the relationship is causal.

Categorical variables are represented using indicator, or dummy, variables. If department has three categories—HR, Finance and Operations—one category is selected as the reference. Two indicators are included, for example:

Salary = β0 + β1Finance + β2Operations + ε

The intercept represents the expected salary for the reference department, and each coefficient compares a department with that reference, subject to the other variables in the model.

Potential issues include multicollinearity, in which predictors are strongly related; omitted-variable bias; overfitting; measurement error; and inappropriate causal interpretation. Variable selection should be guided by theory and the decision context, not merely by automated searches for small p-values.

7. From Correlation to Workforce Decisions

Useful HR applications include:

  • Recruitment: examining relationships among source, selection scores and later performance.
  • Learning and development: assessing training participation, skill acquisition and performance outcomes.
  • Retention: identifying factors associated with turnover, while avoiding unfair labeling of employees.
  • Absence management: analysing absence patterns, workload, health-support access and scheduling.
  • Compensation: investigating pay patterns while controlling for job-related factors.
  • Workforce planning: projecting staffing requirements using demand, productivity and attrition information.
  • Employee experience: relating engagement measures to outcomes such as service quality or intent to stay.

Analytics should begin with a decision, not with a desire to use available data. A technically significant association may have little practical value if the proposed intervention is costly, ineffective or unacceptable to employees.

8. Illustrative Case: Retention Analytics at Meridian Services

This is a fictional illustrative case.

Background

Meridian Services, a 600-employee customer-support organization, reports that annual voluntary turnover has risen from 14% to 21%. The HR team has records on tenure, schedule predictability, training completion, pay band, engagement score, manager, absence days and turnover during the following twelve months.

Problem

Management wants to know which factors are associated with voluntary turnover and whether a targeted retention programme is justified. The team must avoid treating a prediction as a judgement about an individual employee.

Analysis

The analysts first define the observation period and exclude records with invalid employee identifiers. They inspect missingness and compare employees with complete and incomplete records. A correlation matrix shows that schedule predictability and engagement are negatively associated with turnover risk, while absence days show a positive association. Because turnover is binary, a logistic regression is more suitable than ordinary linear regression for individual probability estimation. A simplified logistic model is:

log[pi/(1 − pi)] = β0 + β1x1i + … + βkxki

Here, pi is the probability of turnover for employee i, and the left side is the log-odds. The model is evaluated using a holdout sample, calibration checks and discrimination measures such as the area under the receiver operating characteristic curve. Results are also examined by department, gender, age group and other legally relevant groups.

The analysis finds that unpredictable schedules and low engagement are associated with higher turnover, but the model is less accurate for a small regional group. The team does not conclude that either factor causes turnover. Interviews suggest that scheduling practices affect childcare and commuting, providing a plausible mechanism that can be tested.

Approach and solution

Meridian introduces a pilot programme involving more advance schedule notice, manager training and voluntary career conversations. Employees are informed about the purpose of the programme and data use. The pilot is evaluated against comparable units using turnover, engagement, absence, service quality and employee feedback.

Outcome

After six months, pilot units show improved schedule satisfaction and lower reported intention to leave. Because the evaluation period is short and not fully randomized, the organization reports the findings as encouraging rather than conclusive. It continues monitoring unintended effects, including workload transfer to other teams.

Learning points

  1. The outcome determines the appropriate statistical model.
  2. Prediction is not causation.
  3. Data quality and subgroup validation are essential.
  4. Interventions should address organizational conditions rather than stigmatize employees.
  5. Evaluation must include both business outcomes and employee welfare.

9. Ethical, Legal and Governance Considerations

Workforce analytics involves sensitive personal information and can affect employment opportunities. Good governance includes:

  • a clearly defined and legitimate purpose;
  • data minimization and appropriate retention periods;
  • access controls, security and audit trails;
  • transparency about data sources and significant automated decision processes;
  • human review for consequential decisions;
  • validation for disparate impact and unfair outcomes;
  • documentation of variables, transformations, assumptions and model versions;
  • mechanisms for correction, explanation and appeal where appropriate.

Protected characteristics should not simply be removed from a dataset. Their absence can prevent detection of disparate impact. However, their use requires a lawful and ethically justified purpose, strong safeguards and careful interpretation.

Proxy discrimination is also possible: variables such as postcode, career interruptions or school attended may indirectly encode protected characteristics. Historical data may reproduce past discrimination. A model can be statistically accurate yet socially unacceptable or legally impermissible.

10. Technology, AI and Contemporary Practice

Modern HR information systems integrate payroll, recruitment, learning, performance and engagement data. Machine-learning systems can identify nonlinear patterns and interactions, but greater complexity does not guarantee better decisions. Models require representative training data, independent validation, monitoring for drift and explainability appropriate to the decision.

Generative AI may assist with coding, data documentation or summarizing results, but confidential employee data should not be entered into unauthorized systems. AI-generated analysis must be independently checked for mathematical accuracy, bias, privacy risk and unsupported causal claims. Human accountability remains essential.

Best practice is to combine statistical evidence with qualitative research, employee consultation and organizational knowledge. Analysts should report uncertainty, avoid exaggerated claims and distinguish exploratory findings from confirmatory evidence.

Chapter Summary

Correlation quantifies the direction and strength of a linear association between two quantitative variables, while regression models an outcome using one or more predictors. Pearson’s r is unit-free and ranges from −1 to +1; it does not establish causation. Simple linear regression estimates an intercept and slope using least squares, and R² describes the proportion of sample outcome variation represented by the fitted model. Multiple regression permits adjustment for several predictors and categorical variables through indicators, but it introduces risks such as multicollinearity, omitted-variable bias and overfitting.

Workforce analytics applies these methods to recruitment, development, retention, absence, compensation and planning. Reliable practice begins with a well-defined decision and sound data, checks assumptions, validates predictions and considers practical significance. Ethical analytics protects privacy, examines fairness, maintains human oversight and avoids turning probabilistic evidence into deterministic labels.

Key Terms

Correlation: A numerical measure of association between variables.

Pearson’s correlation coefficient: A measure of linear association ranging from −1 to +1.

Regression: A method for estimating relationships between an outcome and predictors.

Dependent variable: The outcome being explained or predicted.

Predictor: A variable used to explain or predict an outcome.

Intercept: The fitted outcome value when all predictors equal zero.

Slope: The estimated change in the outcome for a one-unit predictor increase.

Residual: The difference between an observed and predicted outcome.

Ordinary least squares: Estimation that minimizes the sum of squared residuals.

Coefficient of determination: R², the proportion of sample variation represented by a model.

Multicollinearity: Strong association among predictors in a regression model.

Outlier: An observation unusually distant from the general pattern.

Influential observation: An observation that substantially affects fitted results.

Dummy variable: An indicator variable representing a category.

Confounding: Distortion caused by a variable related to both predictor and outcome.

Workforce analytics: Systematic analysis of workforce data for organizational decisions.

Predictive analytics: Analysis estimating likely future outcomes.

Proxy discrimination: Unfair effects produced by variables that indirectly encode protected characteristics.

Model validation: Evaluation of model performance on suitable data beyond the fitting sample.

Review Questions

Short Answer Questions

  1. What does a positive Pearson correlation indicate?
  2. Define a residual in regression analysis.
  3. Why does correlation not prove causation?
  4. What does R² represent?
  5. Give two ethical safeguards for workforce analytics.

Long Answer Questions

  1. Explain the difference between descriptive, diagnostic, predictive and prescriptive workforce analytics.
  2. Describe the assumptions of ordinary least squares regression and explain how violations may affect interpretation.
  3. Derive and interpret the fitted regression equation for training hours and productivity in the worked example.
  4. Explain how categorical variables are incorporated into multiple regression.
  5. Discuss how privacy, fairness and human oversight should influence predictive HR analytics.

Analytical / Application Questions

  1. An HR manager observes a correlation of −0.42 between engagement and voluntary turnover. Explain what can and cannot be concluded, and identify additional analysis required.
  2. Design an analytics process to investigate whether schedule predictability affects employee retention. Specify the outcome, predictors, controls, data period and evaluation approach.
  3. A turnover model is highly accurate overall but performs poorly for a small demographic group. Recommend actions before the model is used in employment decisions and justify them.

Multiple Choice Questions with Answers

Question 1

Which statement best describes Pearson’s correlation coefficient?

A. It measures the causal effect of one variable on another.

B. It measures the strength and direction of a linear association.

C. It predicts a categorical outcome in every situation.

D. It always increases when sample size increases.

Correct Answer: B. It measures the strength and direction of a linear association.

Question 2

In the equation ŷ = 46.9 + 3.7x, what does 3.7 represent?

A. The intercept

B. The residual

C. The estimated change in the outcome for a one-unit increase in x

D. The coefficient of determination

Correct Answer: C. The estimated change in the outcome for a one-unit increase in x

Question 3

If r = −0.80, the variables have:

A. A strong negative linear association

B. A weak positive linear association

C. No possible relationship

D. A proven causal relationship

Correct Answer: A. A strong negative linear association

Question 4

For the worked example, the predicted productivity for 6 training hours is:

A. 50.6

B. 58.0

C. 65.4

D. 69.1

Correct Answer: D. 69.1

Question 5

Which quantity is minimized by ordinary least squares?

A. The sum of absolute predictors

B. The sum of squared residuals

C. The correlation coefficient

D. The number of observations

Correct Answer: B. The sum of squared residuals

Question 6

What does R² measure in a regression model?

A. The probability that the model is causal

B. The proportion of sample outcome variation represented by the model

C. The slope measured in outcome units

D. The number of predictors

Correct Answer: B. The proportion of sample outcome variation represented by the model

Question 7

Why might a categorical department variable require dummy variables?

A. To represent group membership numerically in a regression model

B. To eliminate all missing data

C. To guarantee equal salaries

D. To convert correlation into causation

Correct Answer: A. To represent group membership numerically in a regression model

Question 8

Which issue occurs when predictors in a regression model are strongly related to one another?

A. Heterogeneity

B. Multicollinearity

C. Randomization

D. Calibration

Correct Answer: B. Multicollinearity

Question 9

Which statement about a turnover prediction is most appropriate?

A. Every employee predicted as high risk will leave.

B. The prediction proves that an employee caused turnover.

C. The prediction estimates risk and should not replace human judgement.

D. Protected characteristics must always be deleted before validation.

Correct Answer: C. The prediction estimates risk and should not replace human judgement.

Question 10

Which level of workforce analytics asks what should be done?

A. Descriptive

B. Diagnostic

C. Predictive

D. Prescriptive

Correct Answer: D. Prescriptive

Business Mathematics & Statistics
Chapter 11 of 11