Business Mathematics & Statistics

Chapter 14
Digital Analytics, AI, Ethics and Emerging Practice

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

Digital Analytics, AI, Ethics and Emerging Practice

Introduction

Human resource management increasingly depends on digital records, statistical analysis and artificial intelligence (AI). Recruitment platforms generate applicant data; human resource information systems record absence, performance and turnover; learning platforms capture participation and assessment; and employee surveys provide evidence about engagement and organisational climate. These data can support better decisions, but they can also reproduce discrimination, invade privacy and create misleading impressions of objectivity.

Business mathematics and statistics provide the foundations for evaluating digital evidence. HR professionals must understand how metrics are constructed, how uncertainty is measured, how predictive models work, and how ethical controls are applied. The central principle of this chapter is that analytics should improve human judgement rather than replace accountability.

Learning Objectives

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

  1. Explain digital analytics and distinguish descriptive, diagnostic, predictive and prescriptive analytics.
  2. Calculate and interpret important HR analytics measures.
  3. Describe the statistical logic of AI and machine-learning models.
  4. Evaluate model accuracy, uncertainty, bias and fairness.
  5. Apply ethical, legal and governance principles to people analytics.
  6. Recommend responsible practices for emerging HR technologies.

1. Digital Analytics in Human Resource Management

Digital analytics is the systematic collection, preparation, analysis and communication of data to support decisions. In HR, relevant data may include employee identifiers, job history, compensation, attendance, performance ratings, training records, survey responses and recruitment outcomes. Data can be structured, such as a salary field, or unstructured, such as interview notes and text comments.

A useful analytics cycle contains six linked activities:

  1. Define the decision: clarify the business or people problem.
  2. Identify and collect data: determine what information is necessary and lawful to use.
  3. Prepare data: correct errors, document definitions and manage missing values.
  4. Analyse: apply statistical or computational methods.
  5. Interpret and communicate: explain results, uncertainty and limitations.
  6. Act and evaluate: implement a decision and test whether it achieved the intended outcome.

Analytics quality is therefore not determined only by the sophistication of an algorithm. A highly advanced model trained on incomplete or biased data can produce worse decisions than a transparent descriptive report.

Four Levels of Analytics

LevelMain questionHR example
DescriptiveWhat happened?What was the monthly turnover rate?
DiagnosticWhy might it have happened?Which groups or locations show unusually high turnover?
PredictiveWhat may happen?Which employees have an elevated probability of leaving?
PrescriptiveWhat action may improve the outcome?Which retention interventions should be prioritised?

These levels are related but not interchangeable. A predictive association does not prove causation, and a prescriptive recommendation depends on organisational constraints, ethics and judgement.

2. Core HR Analytics Measures

Rates, Ratios and Percentages

A percentage expresses a proportion per 100. If 18 of 240 employees leave during a defined period, the crude turnover proportion is:

Turnover rate = (Number of leavers ÷ Average number of employees) × 100

Using 240 as the average workforce:

Turnover rate = (18 ÷ 240) × 100 = 7.5%

The denominator must be defined carefully. Average headcount may be calculated as the mean of beginning and ending headcount:

Average headcount = (Beginning headcount + Ending headcount) ÷ 2

This is an approximation and may be unsuitable where employment fluctuates substantially during the period. A monthly average or employee-months measure may then be more appropriate.

Absence and Training Measures

A common absence rate is:

Absence rate = (Lost workdays ÷ Available workdays) × 100

If 420 workdays are lost from 12,000 available workdays, the absence rate is 3.5%. The analyst must specify whether authorised leave, parental leave, workplace injury and partial-day absence are included.

Training completion rate is often calculated as:

Completion rate = (Employees completing training ÷ Employees required to complete training) × 100

Completion is not the same as learning or behavioural transfer. A high completion rate may coexist with weak assessment results or no observable improvement in performance.

Central Tendency and Variation

The arithmetic mean of observations x₁, x₂, …, xₙ is:

x̄ = (∑ᵢ₌₁ⁿ xᵢ) ÷ n

Here, x̄ is the sample mean, xᵢ is an observation and n is the number of observations. The mean is useful for approximately symmetric numerical data but can be distorted by extreme values. The median is the middle ordered value and is often more informative for salary or time-to-hire data with strong skew.

Sample variance and sample standard deviation are:

s² = [∑ᵢ₌₁ⁿ (xᵢ − x̄)²] ÷ (n − 1)
s = √s²

The denominator n − 1 is used when estimating population variability from a sample. Standard deviation has the same units as the original variable; variance has squared units.

Worked Example: Time to Hire

Suppose five vacancies take 20, 25, 25, 30 and 50 days to fill. The mean is:

x̄ = (20 + 25 + 25 + 30 + 50) ÷ 5 = 30 days

The ordered middle value is 25 days, so the median is 25 days. The mean exceeds the median because the 50-day vacancy is an extreme observation. Reporting only the mean would conceal the typical experience of most vacancies.

Confidence Intervals

A sample estimate is uncertain. When the population standard deviation is unknown, an approximate confidence interval for a population mean is:

x̄ ± t* (s ÷ √n)

where t* is a critical value from the t distribution, s is the sample standard deviation and n is sample size. The interval estimates a plausible range under the assumptions of an appropriate sampling process and a correctly specified model. It does not mean that there is a 95% probability that a fixed population parameter changes its value after the interval is calculated.

For a proportion p̂, a large-sample approximate interval is often written:

p̂ ± z* √[p̂(1 − p̂) ÷ n]

This approximation may be unreliable for very small samples or proportions near 0 or 1; alternative methods should then be considered.

3. Relationships, Prediction and Causation

Correlation

The Pearson correlation coefficient measures linear association:

r = [∑(xᵢ − x̄)(yᵢ − ȳ)] ÷ √[∑(xᵢ − x̄)² ∑(yᵢ − ȳ)²]

Its value lies between −1 and +1. A positive value indicates that larger values of one variable tend to accompany larger values of the other; a negative value indicates the opposite. Correlation does not establish causation. For example, training participation and performance may be correlated because high-performing employees are more likely to be selected for training.

Linear Regression

A simple linear regression model is:

yᵢ = β₀ + β₁xᵢ + εᵢ

Here, yᵢ is the outcome, xᵢ is a predictor, β₀ is the intercept, β₁ is the expected change in y for a one-unit change in x, and εᵢ is the unexplained error. The model assumes that the conditional mean is adequately represented by a straight line and that errors are appropriately independent and measured with reasonable reliability. Multiple predictors can be included, but additional variables do not automatically solve omitted-variable bias or unfairness.

The coefficient of determination is:

R² = 1 − (SSres ÷ SStot)

where SS_res is the residual sum of squares and SS_tot is the total sum of squares. R² describes in-sample variation explained relative to a baseline mean model. It is not proof of causation and may increase when irrelevant predictors are added.

Classification and Probability

Many HR AI systems classify applicants or employees into categories. Logistic regression models the probability of a binary outcome:

P(Y = 1 | x) = 1 ÷ [1 + e^(−(β₀ + β₁x₁ + … + βₖxₖ))]

Y = 1 may represent an outcome such as acceptance of an offer, while x₁ through xₖ are predictors. The output is a probability, not a certainty. A threshold converts the probability into a classification. Changing the threshold changes false positives and false negatives.

4. Evaluating Predictive Models

A confusion matrix compares predicted and actual outcomes:

Actual positiveActual negative
Predicted positiveTrue positive (TP)False positive (FP)
Predicted negativeFalse negative (FN)True negative (TN)

Important measures include:

Accuracy = (TP + TN) ÷ (TP + TN + FP + FN)
Precision = TP ÷ (TP + FP)
Recall = TP ÷ (TP + FN)
Specificity = TN ÷ (TN + FP)

Accuracy can be misleading with imbalanced outcomes. If only 5% of employees leave, a model that predicts “no departure” for everyone has 95% accuracy but no practical value for identifying leavers. Precision matters when interventions are costly or intrusive; recall matters when missing a genuinely high-risk case is especially harmful.

Model evaluation should use data not used to train the model. A training score estimates fit to known data, while validation or test performance provides stronger evidence about generalisation. Cross-validation repeatedly divides data into training and validation portions, although it does not remove bias in the original data.

5. Artificial Intelligence and Machine Learning in HR

AI refers broadly to computational systems performing tasks associated with human cognitive activity, such as classification, language processing, prediction or recommendation. Machine learning is a subset of AI in which a model learns patterns from data rather than following only hand-coded rules.

Common HR Applications

  • Recruitment: applicant search, CV parsing, scheduling and job matching.
  • Workforce planning: demand forecasting and skills-gap analysis.
  • Learning: personalised content recommendations and skill assessment.
  • Employee support: conversational systems answering routine policy questions.
  • Retention analysis: estimating turnover risk and identifying organisational patterns.
  • People services: automated document processing and case routing.

Generative AI can produce text, summaries, images or code. Its outputs may be fluent but factually incorrect, stereotyped or based on confidential information. Fluency is therefore not evidence of accuracy.

The Analytics Pipeline

A responsible model pipeline includes problem definition, data selection, data cleaning, feature engineering, model training, validation, deployment, monitoring and review. “Garbage in, garbage out” is a practical warning: historical hiring data may encode earlier preferences, unequal access to opportunities or inconsistent managerial ratings.

Features that appear neutral can act as proxies. Residential postcode may correlate with race or socioeconomic status; employment gaps may reflect caregiving or disability; educational institution may reflect unequal access. Removing a protected attribute does not necessarily remove discrimination.

Explainability and Human Oversight

Explainability means making a model’s operation or individual output understandable enough for appropriate scrutiny. A simple scorecard may be intrinsically interpretable; a complex model may require post-hoc explanation tools. Explanations should identify relevant factors, uncertainty and limits, not merely provide a persuasive narrative.

Human oversight must be meaningful. A manager who can only approve an automated recommendation without time, information or authority to challenge it is not exercising effective oversight. High-impact decisions should have documented review, an appeal route and a responsible decision-maker.

6. Fairness, Bias and Ethical Analysis

Sources of Bias

Bias can enter at several stages:

  1. Historical bias: past decisions reflect discrimination or unequal opportunity.
  2. Sampling bias: the data do not represent the relevant workforce or applicant population.
  3. Measurement bias: performance ratings or engagement scores measure different things across groups.
  4. Label bias: the target outcome, such as “successful employee,” is defined by subjective or inconsistent judgements.
  5. Aggregation bias: one model is applied to groups with different patterns.
  6. Deployment bias: a valid model is used for a purpose or population for which it was not designed.

Group Fairness Measures

Let a protected group be compared with a reference group. A selection rate is:

Selection rate = Number selected ÷ Number considered

A selection-rate ratio is:

Selection-rate ratio = Selection rate of protected group ÷ Selection rate of reference group

A ratio below 1 indicates a lower selection rate for the protected group. Such a disparity is a warning requiring investigation; it is not, by itself, a complete legal conclusion. Different fairness criteria can conflict. For example, equalising selection rates, false-positive rates and predictive values simultaneously may be mathematically impossible when groups have different base rates.

Worked Example: Selection Disparity

A recruitment system selects 48 of 120 applicants in Group A and 30 of 100 applicants in Group B.

Selection rateA = 48 ÷ 120 = 0.40
Selection rateB = 30 ÷ 100 = 0.30
Selection-rate ratio = 0.30 ÷ 0.40 = 0.75

Group B’s selection rate is 75% of Group A’s rate. The result should prompt examination of job-relatedness, data quality, process design and applicable law. It should not be interpreted without considering sample size, confidence intervals, legitimate qualifications and the complete decision process.

Privacy and Data Protection

Ethical analytics requires purpose limitation, data minimisation, accuracy, security, retention control and transparency. Employees should know what data are collected, why they are collected, who can access them and how long they are retained. Sensitive information requires stronger safeguards. Consent is not always freely given in an employment relationship; another lawful and ethically justified basis may be required depending on the jurisdiction.

De-identification reduces risk but does not guarantee anonymity. Combining multiple datasets can enable re-identification. Access controls, encryption, audit logs and secure deletion are technical measures that must be supported by organisational policy.

Relevant legal requirements vary by country. HR professionals should consult applicable data-protection, employment-discrimination, accessibility and automated-decision laws rather than assuming that a general ethical principle satisfies legal obligations.

7. Responsible Governance Framework

A practical governance framework assigns responsibility across the model lifecycle.

Governance questionPractical control
Is the purpose legitimate?Written use case and necessity assessment
Is the data appropriate?Data dictionary, provenance record and quality checks
Could outcomes differ across groups?Disaggregated performance and fairness testing
Can people understand and challenge decisions?Plain-language notice, explanation and appeal process
Is the system secure?Role-based access, encryption and audit logs
Does performance change over time?Monitoring for drift and periodic revalidation
Who is accountable?Named owner, review committee and escalation route

A model card or system record should describe intended use, excluded use, training data, evaluation data, known limitations, performance by relevant groups and monitoring arrangements. Impact assessments should be performed before deployment, not after harm occurs.

8. Emerging Practice

Workforce Sensing and Real-Time Analytics

Digital collaboration systems can generate data about communication patterns, workload and meeting activity. These data may help identify excessive workload at an aggregate level, but individual surveillance can undermine trust and encourage performative behaviour. The existence of data does not establish a right to use it for every purpose.

Generative AI and Skills-Based HR

Generative AI can draft job descriptions, summarise survey themes and support learning design. Human review is necessary to detect fabricated content, confidential-data leakage, discriminatory language and inappropriate recommendations. Skills-based hiring may reduce reliance on prestigious credentials, but skills must be measured consistently and accessible opportunities must exist for candidates to demonstrate them.

Algorithmic Management

Automated scheduling, productivity scoring and workflow allocation increasingly affect workers. These systems can create opacity, intensify work and make contesting decisions difficult. Responsible practice requires transparency, worker consultation, reasonable monitoring and a route to human review.

Synthetic and Federated Data

Synthetic data are artificially generated data designed to resemble real data. They may support testing while reducing exposure of personal records, but they can reproduce the statistical and social biases of the source data. Federated learning trains models across decentralised data locations without necessarily pooling raw data; it can improve privacy but still requires security, governance and bias assessment.

9. Illustrative Case: FairRecruit Analytics

Background

FairRecruit, a fictional medium-sized organisation, introduces an AI tool to rank applicants for entry-level customer-service roles. The vendor claims that the tool reduces screening time by 60% and predicts job success using CV text, online assessment results and prior employment information.

Problem

After six months, managers observe that applicants from one demographic group are shortlisted less frequently. The overall accuracy reported by the vendor is 88%, but no group-specific results are supplied. Applicants are not told that automated ranking is used, and recruiters cannot explain why a person received a low score.

Analysis

The HR analytics team first defines the decision: whether the tool should assist, rather than determine, shortlisting. It audits data provenance and discovers that historical “successful employee” labels are based on supervisor ratings. Ratings were inconsistent across departments and may reflect unequal access to training. The team calculates selection rates by group, examines false-positive and false-negative rates, and tests performance on a temporally separate sample.

The team also identifies proxy risks. Employment gaps reduce scores even when they reflect caregiving, and the language model penalises CVs using non-standard descriptions of equivalent skills. The 88% accuracy figure is therefore inadequate: it may reflect class imbalance and does not demonstrate fairness or job-related validity.

Approach and Solution

FairRecruit pauses automated rejection and uses the tool only to prioritise applications for trained human review. It removes features without a defensible job-related rationale, rewrites the target outcome using validated work-sample measures, and conducts structured validation with representative data. Applicants receive a clear notice and an opportunity to request human review. Recruiters receive guidance that a model score is evidence to examine, not a decision.

A governance committee approves documented performance thresholds, quarterly monitoring and an appeal procedure. The organisation also reviews whether the assessment itself is accessible to applicants with disabilities and whether language differences affect results.

Outcome

Screening time falls by 35%, rather than the promised 60%, but the organisation gains a more defensible process. Selection disparities decline, explanations improve and recruiters report greater confidence because the system’s limitations are visible. The organisation continues to monitor outcomes rather than treating the initial validation as permanent proof of fairness.

Learning Points

  1. Overall accuracy cannot establish suitability or fairness.
  2. Historical labels may encode organisational bias.
  3. Proxy variables can preserve discrimination after protected attributes are removed.
  4. Human oversight must include authority to question and overturn outputs.
  5. Responsible deployment is iterative and requires monitoring after implementation.

10. Professional Practice and Implementation Checklist

Before adopting an analytics or AI system, an HR professional should ask:

  • What decision is being improved, and what decision is outside scope?
  • Is the proposed data necessary, accurate, proportionate and lawfully obtained?
  • Are definitions, denominators and time periods documented?
  • What statistical uncertainty and error costs exist?
  • Have outcomes been tested separately across relevant groups?
  • Are accessibility, language and socioeconomic effects considered?
  • Can employees and applicants understand and challenge decisions?
  • Who owns the system and who is accountable for harm?
  • How will drift, security incidents and unintended consequences be detected?
  • Is there a non-automated alternative when automation is inappropriate?

Good analytics reports should state the population, sample, measurement period, missing-data treatment, method, assumptions, uncertainty, limitations and recommended action. Charts should not exaggerate differences through misleading scales. A statistically significant result may be practically unimportant, while a practically important difference may be difficult to detect in a small sample. Statistical reasoning must therefore be combined with contextual and ethical judgement.

Chapter Summary

Digital analytics transforms HR records and digital interactions into evidence for organisational decisions. Descriptive, diagnostic, predictive and prescriptive analytics answer different questions and should not be confused. Rates require carefully defined numerators, denominators and time periods; means, medians and standard deviations describe distributions; confidence intervals communicate uncertainty; and correlation or regression does not by itself prove causation.

AI and machine learning can support recruitment, workforce planning, learning, retention analysis and employee services. Their outputs are probabilistic and depend on data, labels, features, thresholds and deployment context. Accuracy, precision, recall and specificity provide different perspectives on model performance, especially when outcomes are imbalanced.

Ethical HR analytics requires attention to historical, sampling, measurement, label, aggregation and deployment bias. Fairness measures can reveal disparities but cannot replace legal analysis or substantive judgement. Privacy, transparency, security, purpose limitation, data minimisation, explainability, human oversight and appeal are central governance requirements. Emerging technologies create opportunities, but responsible practice requires continuous monitoring, stakeholder involvement and clear accountability.

Key Terms

Digital analytics: Systematic use of data to support decisions.

Descriptive analytics: Analysis of what has happened.

Diagnostic analytics: Analysis of possible reasons for an observed outcome.

Predictive analytics: Estimation of future or unknown outcomes.

Prescriptive analytics: Analysis recommending possible actions.

Machine learning: Computational learning of patterns from data.

Feature: Input variable used by a model.

Label: Outcome used to train or evaluate a supervised model.

Confusion matrix: Table comparing predicted and actual classifications.

Precision: Proportion of predicted positives that are truly positive.

Recall: Proportion of actual positives correctly identified.

Specificity: Proportion of actual negatives correctly identified.

Correlation: Numerical measure of linear association.

Regression: Model for estimating relationships between variables.

Proxy variable: Variable that indirectly represents a protected or sensitive attribute.

Algorithmic bias: Systematic disadvantage produced or amplified by an automated process.

Explainability: Ability to make a model’s operation or output understandable.

Data minimisation: Collection and use of no more personal data than necessary.

Model drift: Change in data patterns or model performance over time.

Human oversight: Meaningful human responsibility to review and challenge automated outputs.

Review Questions

Short Answer Questions

  1. Distinguish descriptive analytics from predictive analytics.
  2. Why must the denominator in a turnover rate be defined carefully?
  3. What is the difference between precision and recall?
  4. Explain why removing a protected attribute may not remove discrimination.
  5. State three principles of responsible HR data governance.

Long Answer Questions

  1. Explain the digital analytics cycle and illustrate each stage with an HR example.
  2. Discuss the strengths and limitations of mean, median and standard deviation in analysing HR data.
  3. Explain how correlation, regression and causation differ.
  4. Evaluate the ethical risks and potential benefits of AI-assisted recruitment.
  5. Develop a governance framework for an AI system used in employee retention analysis.

Analytical / Application Questions

  1. A company selects 72 of 180 applicants in Group A and 36 of 120 applicants in Group B. Calculate both selection rates and the selection-rate ratio. Interpret the result cautiously and identify further information required.
  2. An employee-retention model has TP = 30, FP = 10, FN = 20 and TN = 140. Calculate accuracy, precision and recall, and explain which measure would matter most if missing a genuinely at-risk employee were especially costly.
  3. Design an evaluation plan for a generative-AI tool that drafts performance-review comments. Include data protection, accuracy, bias, human review, accessibility and monitoring controls.

Multiple Choice Questions with Answers

Question 1

Which type of analytics asks what is likely to happen?

A. Descriptive analytics

B. Diagnostic analytics

C. Predictive analytics

D. Prescriptive analytics

Correct Answer: C. Predictive analytics

Question 2

A workforce has 240 average employees and 18 leavers during a period. What is the turnover rate?

A. 5.0%

B. 7.5%

C. 13.3%

D. 75.0%

Correct Answer: B. 7.5%

Question 3

Which measure is the middle value in an ordered dataset?

A. Mean

B. Variance

C. Median

D. Correlation

Correct Answer: C. Median

Question 4

If TP = 40 and FP = 10, what is precision?

A. 40%

B. 50%

C. 80%

D. 90%

Correct Answer: C. 80%

Question 5

Why can accuracy be misleading for a highly imbalanced classification problem?

A. It cannot be calculated for binary outcomes

B. A model can be accurate by predicting only the majority class

C. It always ignores true negatives

D. It is measured in monetary units

Correct Answer: B. A model can be accurate by predicting only the majority class

Question 6

What does correlation establish?

A. Definite causation

B. A measure of linear association

C. Legal compliance

D. That two variables have identical units

Correct Answer: B. A measure of linear association

Question 7

A selection-rate ratio of 0.75 means that the protected group’s selection rate is:

A. 25% higher than the reference group’s

B. 75 percentage points lower than the reference group’s

C. 75% of the reference group’s rate

D. Equal to the reference group’s rate

Correct Answer: C. 75% of the reference group’s rate

Question 8

Which is an example of a proxy variable?

A. A randomly generated record number

B. Postcode indirectly reflecting socioeconomic status

C. A documented sample size

D. A model’s validation date

Correct Answer: B. Postcode indirectly reflecting socioeconomic status

Question 9

Which practice best supports meaningful human oversight?

A. Allowing managers to approve every output automatically

B. Preventing users from seeing model limitations

C. Providing authority and information to challenge automated recommendations

D. Removing all appeal procedures

Correct Answer: C. Providing authority and information to challenge automated recommendations

Question 10

Why should an AI recruitment model be tested on data not used for training?

A. To increase the number of training errors

B. To assess how well it generalises to new cases

C. To guarantee that it is unbiased

D. To eliminate the need for documentation

Correct Answer: B. To assess how well it generalises to new cases

Business Mathematics & Statistics
Chapter 14 of 14