Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
โ† Data Ethics and Privacy ยท Lesson 6 of 9

Module Five

๐Ÿ“– Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
6

Module 5: Data Ethics in Data Analysis and Artificial Intelligence

Introduction

Every day, people and organisations collect large amounts of data. Banks collect information about customers, hospitals collect patients' records, schools collect students' results, and online shops collect information about what people buy.

Organisations use this information to make decisions. Some use computers and Artificial Intelligence (AI) to study the data and make predictions. However, using data without thinking about fairness, privacy, and people's rights can cause serious problems.

In this module, you will learn how to use data responsibly when analysing information and developing or using AI systems.

Learning Objectives

By the end of this module, you should be able to:

  • Explain what ethical data analysis means.
  • Understand how Artificial Intelligence uses data.
  • Identify bias in data and AI systems.
  • Explain why fairness is important when using data.
  • Understand transparency and explainability in AI.
  • Describe how to protect personal information when analysing data.
  • Identify ways to use AI responsibly.

1. What Is Data Analysis?

Data analysis is the process of examining information to discover useful facts, identify patterns, answer questions, and make better decisions.

For example, imagine a school in Ibadan that wants to know which subjects students find difficult. The school collects students' examination scores and studies the results.

The analysis might show that:

  • Many students perform well in English.
  • Some students struggle with Mathematics.
  • Students who attend extra lessons often improve their scores.

The school can use these findings to organise additional Mathematics lessons.

2. What Is Ethical Data Analysis?

Ethical data analysis means examining and using information in a responsible, honest, fair, and respectful way.

It means thinking about how data is collected, who may be affected by the results, and whether the analysis could harm anyone.

Example: A school should not publish a list showing students' names and examination scores without a proper reason and appropriate permission. It should protect students' information.

Important Rules for Ethical Data Analysis

  • Be honest: Do not change results to make them look better.
  • Protect privacy: Keep personal information safe.
  • Be fair: Do not unfairly favour or disadvantage people.
  • Use accurate information: Check that the data is correct.
  • Respect people's rights: Use information for appropriate and lawful purposes.
  • Explain your findings: Make it clear how conclusions were reached.

3. Understanding Artificial Intelligence (AI)

Artificial Intelligence is technology that allows computers to perform tasks that normally require human intelligence. These tasks may include recognising patterns, understanding language, making predictions, and recommending products.

AI systems often use data to learn patterns and produce results.

Examples of AI in Everyday Life

  • Banking: AI can help identify unusual transactions that may be fraudulent.
  • Healthcare: AI can assist medical professionals in examining medical information.
  • Education: Learning platforms can recommend lessons based on a student's progress.
  • Online shopping: Shopping websites recommend products based on browsing and purchase activity.
  • Transportation: Navigation applications use data to suggest routes.

AI can be useful, but its results depend partly on the quality of the data and the way the system is designed.

4. How AI Uses Data

Many AI systems use a process called Machine Learning. Machine Learning is a type of AI that allows computers to identify patterns in data and use those patterns to make predictions or decisions.

Consider a simple example:

  1. A bank collects information about previous transactions.
  2. A computer system studies the transactions.
  3. The system learns patterns associated with unusual activity.
  4. When a new unusual transaction occurs, the system may flag it for review.

The system does not automatically know everything. It learns from the information provided to it. If the information is incomplete or inaccurate, its results may also be unreliable.

5. Understanding Bias in Data and AI

Bias occurs when information, methods, or decisions unfairly favour certain people or groups over others.

Bias can enter an AI system through the data used to train it, the way the system is designed, or the way people use its results.

Example of AI Bias

Imagine a company develops an AI system to help shortlist job applicants. It trains the system using old recruitment records. If those records mostly contain successful applicants from one particular group, the system may learn patterns that unfairly favour that group.

This could disadvantage qualified applicants from other groups. The problem is not necessarily that the computer intends to discriminate. The problem is that the information and rules used by the system may produce unfair results.

Common Causes of Data Bias

  • Incomplete data: Important information is missing.
  • Unrepresentative data: Some groups are not properly represented.
  • Historical bias: Old information contains unfair patterns from the past.
  • Human bias: Personal opinions influence data collection or system design.
  • Incorrect labels: Information is wrongly classified during training.

How to Reduce Bias

  • Use suitable and representative data.
  • Check data for missing or incorrect information.
  • Test AI systems with different groups of people.
  • Review decisions that could unfairly affect individuals.
  • Allow people to question important automated decisions.
  • Monitor systems regularly after deployment.

6. Fairness in Data Analysis and AI

Fairness means treating people justly and avoiding decisions that unfairly disadvantage individuals or groups.

For example, a school should not use an AI system that automatically gives students lower opportunities because of their location, family background, or other irrelevant personal characteristics.

A fair system should use relevant information and be tested to identify unfair outcomes.

Practical Example: Student Scholarship Selection

Imagine a scholarship programme in Nigeria receives applications from students in Lagos, Oyo, Kano, Enugu, and other states.

If the selection system only considers students from schools with expensive computer facilities, it may unfairly disadvantage students from schools with fewer resources.

A fairer process would use relevant scholarship requirements, consider the circumstances of applicants where appropriate, and allow human reviewers to examine unusual cases.

7. Transparency and Explainability in AI

Transparency means being open about how data is collected and how an AI system is used.

Explainability means being able to provide understandable information about how an AI system reached a particular result.

People should not always be expected to accept important computer-generated decisions without understanding why they happened.

Example

Imagine a bank uses an automated system to assess loan applications. If an application is rejected, the bank should provide an appropriate explanation of the relevant reasons and offer any review process required by applicable rules.

Why Transparency Matters

  • It helps people understand how their information is being used.
  • It builds trust between organisations and customers.
  • It helps identify mistakes in automated systems.
  • It makes organisations more accountable.

8. Privacy Protection When Using Data for AI

AI systems may need large amounts of information. Some of this information can identify individuals or reveal private details about them.

Organisations must take appropriate steps to protect personal information when collecting, storing, analysing, and sharing data.

Ways to Protect Data

  • Data minimisation: Collect only the information needed for the task.
  • Anonymisation: Remove identifying information so individuals cannot reasonably be identified from the data.
  • Pseudonymisation: Replace identifying details with codes or alternative identifiers, while keeping any additional identifying information separate and protected.
  • Encryption: Convert information into a protected format that requires an appropriate key to read.
  • Access control: Allow only authorised people to access sensitive information.
  • Secure storage: Keep information in properly protected systems.

Remember: removing names does not always make information anonymous. Other details, such as location, age, or unique activities, may still identify someone when combined.

9. Human Oversight and Responsible AI

Human oversight means that people remain involved in checking, supervising, and reviewing AI systems, especially when decisions can seriously affect individuals.

AI can help people work faster, but it can make mistakes. Important decisions should not always be left entirely to automated systems.

Examples of Human Oversight

  • A doctor reviews an AI-assisted medical recommendation before making a treatment decision.
  • A bank employee investigates a suspicious transaction flagged by an AI system.
  • A recruitment officer reviews AI-generated applicant recommendations.
  • A teacher checks an automated assessment before making an important decision about a student.

Responsible AI Principles

  • AI should be developed and used for appropriate purposes.
  • Systems should be tested for accuracy and fairness.
  • Personal information should be protected.
  • People should understand when AI is being used in relevant situations.
  • Humans should be able to review important decisions where appropriate.
  • Organisations should monitor AI systems and correct problems.

10. Practical Nigerian Examples of Ethical AI

Example 1: A Nigerian Bank

A bank uses AI to identify suspicious transactions. It should protect customer information, test the system for unfair results, and ensure that a flagged transaction can be reviewed by an authorised employee.

Example 2: A Nigerian Hospital

A hospital uses an AI tool to assist with reviewing medical images. Medical professionals should check the results rather than blindly accepting every recommendation. Patient information must also remain protected.

Example 3: An Online Learning Platform

CRMNuggets could use learning data to recommend courses to students. It should use relevant learning information, protect students' personal details, and avoid making unfair assumptions about a learner's ability.

11. Practical Activity: Identify an AI Ethics Problem

Imagine that a Nigerian school introduces an AI system to recommend students for a special technology programme.

The system was trained using records from only a few schools in Lagos. It recommends students from those schools more often than students from other parts of Nigeria.

Your Tasks

  1. Identify the ethical problem in this example.
  2. Explain why the training data may be unfair.
  3. Suggest two ways the school can improve the system.
  4. Explain why a human reviewer should be involved.
  5. Suggest one way to protect students' personal information.

Suggested Answers

  1. The system may have data bias.
  2. The training data does not properly represent students from different locations and schools.
  3. The school can collect more representative data and test the system with students from different backgrounds.
  4. A human reviewer can identify unfair recommendations and examine individual circumstances.
  5. The school can restrict access to student records and remove unnecessary identifying information from analysis datasets.

12. Key Terms to Remember

  • Data Analysis: Examining information to discover useful facts and patterns.
  • Artificial Intelligence: Technology that performs tasks associated with human intelligence.
  • Machine Learning: A type of AI that learns patterns from data.
  • Data Bias: A problem that can cause unfair results or decisions.
  • Fairness: Treating people justly and avoiding unfair disadvantages.
  • Transparency: Being open about how data and AI systems are used.
  • Explainability: Making the reasons behind an AI result understandable.
  • Anonymisation: Processing information so individuals cannot reasonably be identified.
  • Human Oversight: People checking and supervising AI systems.
  • Responsible AI: Developing and using AI in a safe, fair, accountable, and privacy-conscious way.

13. Knowledge Check

Choose the correct answer for each question.

  1. What is ethical data analysis?

    • A. Changing information to get better results
    • B. Using data responsibly and fairly
    • C. Sharing everyone's private information
    • D. Deleting all collected information
  2. What does AI stand for?

    • A. Automatic Internet
    • B. Advanced Information
    • C. Artificial Intelligence
    • D. Active Integration
  3. What is data bias?

    • A. A problem that can lead to unfair results
    • B. A method of encrypting data
    • C. A way of deleting files
    • D. A type of computer keyboard
  4. Which of the following can cause AI bias?

    • A. Using accurate and representative information
    • B. Testing systems regularly
    • C. Using incomplete or unrepresentative data
    • D. Protecting personal information
  5. What does fairness mean in AI?

    • A. Giving everyone the same computer
    • B. Avoiding unfair treatment of people
    • C. Allowing AI to make every decision
    • D. Hiding how systems work
  6. What is transparency in AI?

    • A. Being open about how an AI system is used
    • B. Making all information public
    • C. Removing every computer system
    • D. Hiding automated decisions
  7. Which method helps protect personal information?

    • A. Sharing passwords
    • B. Publishing customer records
    • C. Encryption
    • D. Giving everyone administrator access
  8. What is human oversight?

    • A. Allowing computers to work without supervision
    • B. People checking and supervising AI systems
    • C. Removing all human workers
    • D. Sharing AI passwords
  9. Why should AI systems be tested?

    • A. To make them more expensive
    • B. To identify mistakes and unfair results
    • C. To collect unnecessary personal information
    • D. To stop people from using computers
  10. Which is an example of responsible AI use?

    • A. Allowing AI to reject every loan without review
    • B. Publishing private medical records
    • C. Checking AI recommendations before important decisions
    • D. Using incomplete data without testing

Answer Guide

  1. B โ€” Using data responsibly and fairly.
  2. C โ€” Artificial Intelligence.
  3. A โ€” A problem that can lead to unfair results.
  4. C โ€” Using incomplete or unrepresentative data.
  5. B โ€” Avoiding unfair treatment of people.
  6. A โ€” Being open about how an AI system is used.
  7. C โ€” Encryption.
  8. B โ€” People checking and supervising AI systems.
  9. B โ€” To identify mistakes and unfair results.
  10. C โ€” Checking AI recommendations before important decisions.

Module Summary

In this module, you learned that data analysis and Artificial Intelligence can help organisations make better decisions. However, data and AI must be used responsibly.

You explored ethical data analysis, AI, Machine Learning, data bias, fairness, transparency, explainability, privacy protection, and human oversight.

The most important lesson is that technology should help people, not unfairly harm or disadvantage them. Organisations must protect personal information, check their systems, and take responsibility for the decisions they make using data.

Coming Up Next

Module 6: Data Privacy Risks and Protection

In the next module, you will learn about common data privacy risks, data breaches, identity theft, phishing, unauthorised access, and practical ways to protect personal information.

๐Ÿ† Get Certified

๐Ÿ”’

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (โ‚ฆ2,000 or 20,000 coins), and get a verified certificate with your name on it.

๐ŸŽ“ Sign Up to Get Certified
๐Ÿ› ๏ธ Practice Tools
Hands-on simulators & labs - subscription required.
โ†’
๐ŸŽฏ Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
โ†’