Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← SPSS For Data Analysis · Lesson 4 of 8

Module Three

📖 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.
4
Module 3 · SPSS for Data Analysis · Exploring Data

Module 3 · Exploring Data – Getting to Know Your Data

Hello, young data explorer! In Module 2, we learned how to clean our data so it is nice and tidy. Now that our data is clean, it is time to explore it. Exploring data means looking at it from different angles to understand what it is telling us.

Think of it like being a detective. You have a case (your data), and you need to examine the clues (the numbers). You ask questions like: "What is the average?", "What is the highest?", "How spread out is the data?", and "Are there any patterns?"

In this module, we will use SPSS to create summary tables and charts that help us see our data clearly. By the end, you will be able to describe any dataset and find interesting insights.


Learning Objectives

  • Understand what exploratory data analysis (EDA) means.
  • Use SPSS to create frequency tables.
  • Calculate descriptive statistics (mean, median, mode, standard deviation).
  • Create bar charts and pie charts for categorical data.
  • Create histograms and boxplots for numeric data.
  • Interpret the output to understand your data.
  • Identify patterns, outliers, and interesting facts.
  • Apply these skills to Nigerian data examples.
  • Use the Output Viewer to review your results.
  • Document your findings.

Warm-up Story: Chidi's School Survey

Chidi's school conducted a survey. They asked 50 pupils about their favourite subject and how many hours they study each day. The data was clean, but no one had looked at it yet. The principal wanted to know: "What is the most popular subject?" and "How many hours do pupils study on average?"

Chidi opened the data in SPSS. He created a frequency table for favourite subject – it showed that "Maths" was the most popular. He then calculated the average study time – it was 2.5 hours per day. He also made a bar chart to show the results visually.

The principal was happy. Chidi had turned raw data into useful information. He learned that exploring data helps answer important questions.


Lesson 1: What is Exploratory Data Analysis (EDA)?

Definition: Exploratory Data Analysis (EDA) is the process of looking at data to find patterns, trends, and interesting facts.

Why it is important: EDA helps you understand your data before you do any formal testing.

Simple explanation: It's like looking at a map before you start a journey – you want to see where you are and where you might go.

Real-life example: A shop owner looks at sales data to see which products sell best.

School example: A teacher looks at test scores to see which topics are hardest.

Home example: You look at your spending to see where your money goes.

Nigerian example: A researcher looks at census data to see population trends.

Illustration:

   Data --> Ask Questions --> Explore --> Find Insights --> Tell Story

Mini summary: EDA is the first step to understanding your data.


Lesson 2: Frequency Tables – Counting Categories

Definition: A frequency table shows how many times each category appears in your data.

Why it is important: It helps you see which categories are most common.

Simple explanation: It's like counting how many apples, oranges, and bananas you have in a fruit basket.

How to do it in SPSS:

  1. Click Analyze → Descriptive Statistics → Frequencies.
  2. Move your categorical variable (e.g., "Subject") to the "Variable(s)" box.
  3. Click OK.

Real-life example: Counting how many customers bought each product.

School example: Counting how many pupils like each subject.

Home example: Counting how many times you ate each meal.

Nigerian example: Counting the number of states in each region.

Output example:

   Subject   Frequency   Percent
   Maths     20          40%
   English   15          30%
   Science   10          20%
   Art       5           10%
   Total     50          100%

Mini summary: Frequency tables count how often each value appears.


Lesson 3: Descriptive Statistics for Numeric Data

Definition: Descriptive statistics are numbers that summarise your data, like the average (mean), middle (median), and most common (mode).

Why it is important: They give you a quick snapshot of your data.

How to do it in SPSS:

  1. Click Analyze → Descriptive Statistics → Descriptives.
  2. Move your numeric variable (e.g., "Study Time") to the box.
  3. Click Options and select Mean, Median, Std. Deviation (standard deviation), Minimum, Maximum.
  4. Click OK.

Real-life example: Finding the average height of students in a class.

School example: Finding the average test score.

Home example: Finding the average amount of pocket money.

Nigerian example: Finding the average population of states.

Output example:

   N = 50
   Mean = 2.5
   Median = 2.0
   Std. Deviation = 1.2
   Minimum = 1
   Maximum = 6

Mini summary: Descriptive statistics summarise numeric data.


Lesson 4: Mean, Median, and Mode – The Three M's

Definition:

  • Mean: The average (sum of all numbers divided by count).
  • Median: The middle number when you sort them.
  • Mode: The number that appears most often.

Why they are important: They tell you the "typical" value.

Simple explanation: Mean is like sharing sweets equally. Median is the middle sweet. Mode is the sweet you have the most of.

Real-life example: A shop wants to know the average sale amount (mean).

School example: A teacher wants to know the middle test score (median).

Home example: You want to know your most common chore (mode).

Nigerian example: Finding the most common age group (mode).

How to find mode in SPSS: Use Analyze → Descriptive Statistics → Frequencies and look at the highest frequency.

Mini summary: Mean, median, and mode are different ways to find the "middle" or "typical" value.


Lesson 5: Standard Deviation – How Spread Out is Your Data?

Definition: Standard deviation tells you how much the numbers vary from the mean. A small standard deviation means numbers are close together; a large one means they are spread out.

Why it is important: It shows how consistent or varied your data is.

Simple explanation: If everyone in a class scores 70-80, the standard deviation is small. If scores range from 20 to 100, the standard deviation is large.

Real-life example: A factory wants to know if the weights of its products are consistent.

School example: A teacher wants to know if scores are similar or very different.

Home example: You want to know if your daily screen time is consistent.

Nigerian example: Checking if incomes across states are similar or different.

Mini summary: Standard deviation shows how spread out the data is.


Lesson 6: Bar Charts – Comparing Categories

Definition: A bar chart uses rectangular bars to show the count or percentage of each category.

Why it is important: It is an easy and visual way to compare categories.

How to do it in SPSS:

  1. Click Graphs → Chart Builder.
  2. Select "Bar" from the gallery.
  3. Drag the categorical variable to the x-axis.
  4. Click OK.

Real-life example: Comparing sales of different products.

School example: Comparing favourite subjects.

Home example: Comparing hours spent on different activities.

Nigerian example: Comparing populations of states.

Illustration:

   Count
   20 |  ###
   15 |  ###  ###
   10 |  ###  ###  ###
    5 |  ###  ###  ###  ###
    0 |__###__###__###__###___
       Math Eng  Sci  Art

Mini summary: Bar charts compare categories.


Lesson 7: Pie Charts – Showing Parts of a Whole

Definition: A pie chart is a circle divided into slices, where each slice represents a percentage of the total.

Why it is important: It shows the proportion of each category.

How to do it in SPSS:

  1. Click Graphs → Chart Builder.
  2. Select "Pie/Polar" from the gallery.
  3. Drag the categorical variable to the "Slice By" box.
  4. Click OK.

Real-life example: Showing how a budget is divided.

School example: Showing the percentage of pupils in each club.

Home example: Showing how you spend your time.

Nigerian example: Showing the percentage of exports by product.

Mini summary: Pie charts show parts of a whole.


Lesson 8: Histograms – Showing Distribution of Numeric Data

Definition: A histogram is a bar chart for numeric data. It groups numbers into bins and shows how many fall into each bin.

Why it is important: It shows the shape of the distribution (e.g., normal, skewed).

How to do it in SPSS:

  1. Click Graphs → Chart Builder.
  2. Select "Histogram" from the gallery.
  3. Drag the numeric variable to the x-axis.
  4. Click OK.

Real-life example: Showing the distribution of ages in a group.

School example: Showing the distribution of test scores.

Home example: Showing the distribution of hours spent on homework.

Nigerian example: Showing the distribution of incomes.

Illustration:

   Frequency
   8 |   ###
   6 |   ###   ###
   4 |   ###   ###   ###
   2 |   ###   ###   ###   ###
   0 |__###__###__###__###___
       1-2  2-3  3-4  4-5
       Study Time (hours)

Mini summary: Histograms show the distribution of numeric data.


Lesson 9: Boxplots – Seeing Spread and Outliers

Definition: A boxplot shows the median, quartiles (spread), and outliers of numeric data.

Why it is important: It quickly shows if there are outliers and how spread out the data is.

How to do it in SPSS:

  1. Click Graphs → Chart Builder.
  2. Select "Boxplot" from the gallery.
  3. Drag the numeric variable to the y-axis.
  4. Click OK.

Real-life example: Showing the spread of salaries in a company.

School example: Showing the spread of test scores.

Home example: Showing the spread of daily screen time.

Nigerian example: Showing the spread of state populations.

Illustration:

   +-----+   outlier (o)
   |     |
   |  +--+--+  (box = middle 50%)
   |  |  |  |
   |  +--+--+
   |     |
   +-----+
   (whiskers show min and max within range)

Mini summary: Boxplots show spread and outliers.


Lesson 10: Scatter Plots – Relationships Between Two Variables

Definition: A scatter plot shows points for two numeric variables. It helps you see if they are related (e.g., more study time = higher scores).

Why it is important: It shows if two variables change together.

How to do it in SPSS:

  1. Click Graphs → Chart Builder.
  2. Select "Scatter/Dot" from the gallery.
  3. Drag one variable to the x-axis and one to the y-axis.
  4. Click OK.

Real-life example: Plotting height vs weight.

School example: Plotting study time vs test scores.

Home example: Plotting age vs screen time.

Nigerian example: Plotting education vs income.

Illustration:

   Score
   100 |        .
    80 |      .   .
    60 |    .       .
    40 |  .
    20 |.
     0 |___._.___.___.___.___.___
        0   2   4   6   8   10
        Study Time

Mini summary: Scatter plots show relationships between variables.


Lesson 11: Using the Output Viewer – Reading Your Results

Definition: The Output Viewer is the window where SPSS shows your tables and charts.

Why it is important: This is where you see the results of your exploration.

What you can do:

  • Scroll through the output.
  • Double-click a chart to edit it.
  • Right-click to copy or export.
  • Save the output as a file (File → Save).

Mini summary: The Output Viewer shows your results.


Lesson 12: Exploring Nigerian Data – An Example

Let's explore a dataset of Nigerian states with variables: state, region, population, and area.

  1. Open the data in SPSS.
  2. Create a frequency table for region.
  3. Calculate the mean population.
  4. Create a histogram of population.
  5. Create a bar chart of population by region.
  6. Interpret the results.

Example output: The most populated region is South-West. The average population is 5 million.

Mini summary: SPSS can explore any Nigerian data.


Lesson 13: Asking Questions – The Key to Exploration

Good exploration starts with good questions. Here are some questions you can ask:

  • What is the most common value?
  • What is the average?
  • How spread out is the data?
  • Are there any outliers?
  • Are two variables related?

Mini summary: Asking questions guides your exploration.


Lesson 14: Documenting Your Findings

Definition: Documentation means writing down what you found.

Why it is important: It helps you remember and share your insights.

How to do it: Write a short report with:

  • The question you asked.
  • The method you used.
  • The results (tables and charts).
  • Your interpretation.

Mini summary: Document your findings.


Lesson 15: Summary of Exploring Data

We have learned to use frequency tables, descriptive statistics, bar charts, pie charts, histograms, boxplots, and scatter plots. These tools help us understand our data and find insights.


Key Vocabulary

Exploratory Data Analysis (EDA)
Exploring data to understand it.
Frequency Table
A table showing how often each value occurs.
Mean
The average.
Median
The middle value.
Mode
The most frequent value.
Standard Deviation
How spread out the data is.
Bar Chart
A chart with bars comparing categories.
Pie Chart
A circular chart showing parts of a whole.
Histogram
A bar chart for numeric data.
Boxplot
A chart showing spread and outliers.
Scatter Plot
A chart showing relationships.

Important Concepts

  • EDA is the first step in analysis.
  • Frequency tables summarise categorical data.
  • Descriptive statistics summarise numeric data.
  • Charts make data easy to understand.
  • Ask questions to guide your exploration.
  • Document your findings.

Step-by-Step Explanations

How to explore a dataset in SPSS:

  1. Open your clean data.
  2. Create frequency tables for categorical variables.
  3. Calculate descriptive statistics for numeric variables.
  4. Create bar charts and pie charts for categories.
  5. Create histograms and boxplots for numeric variables.
  6. Create scatter plots to see relationships.
  7. Interpret the output.
  8. Document your findings.

Real-life Examples

  • A business explores sales data to find best-selling products.
  • A doctor explores patient data to understand health trends.
  • A teacher explores test scores to identify weak areas.

Nigerian Examples

  • Exploring census data to find the most populous state.
  • Exploring school data to find the best performing region.
  • Exploring agricultural data to find the main crop.

Fun Examples Children Relate To

  • Exploring your favourite toys: which is the most common?
  • Exploring your friends' ages: what is the average?
  • Exploring your game scores: how spread out are they?

Everyday Examples

  • You explore your weekly chores to see which one you do most.
  • You explore your screen time to see the average.
  • You explore your spending to see where your money goes.

Teacher Notes

  • Encourage students to ask questions.
  • Use real datasets that students care about.
  • Show how to interpret output.
  • Emphasise that exploration leads to insights.

Parent Tips

  • Help your child collect data at home and explore it.
  • Discuss what the data reveals.
  • Encourage curiosity and questioning.

Interesting Facts

  • Exploratory Data Analysis was made famous by statistician John Tukey.
  • EDA is often the most creative part of data analysis.
  • Many discoveries come from simple exploration.

Did You Know?

  • You can double-click charts in the Output Viewer to edit them.
  • SPSS can create many types of charts, not just the ones we learned.
  • EDA is used in all fields, from science to business.

Remember This

  • Always start with exploration.
  • Use frequency tables for categories.
  • Use descriptive statistics for numbers.
  • Use charts to visualise.
  • Ask questions and document.

Common Mistakes

  • Not exploring the data at all.
  • Using the wrong chart for the data.
  • Ignoring outliers.
  • Not interpreting the results.
  • Not saving the output.

Best Practices

  • Clean your data before exploring.
  • Use multiple charts to see different views.
  • Look for patterns, outliers, and surprises.
  • Document your findings.
  • Share your insights with others.

ASCII Illustrations

Exploration process

   Data --> Frequency Tables --> Descriptive Stats --> Charts --> Insights

Histogram concept

   Frequency
   8 |   ###
   6 |   ###   ###
   4 |   ###   ###   ###
   2 |   ###   ###   ###   ###
   0 |__###__###__###__###___
       1-2  2-3  3-4  4-5

Comparison Tables

Chart Types
ChartType of DataUse
Bar chartCategoricalCompare categories
Pie chartCategoricalShow parts of a whole
HistogramNumericShow distribution
BoxplotNumericShow spread and outliers
Scatter plotNumericShow relationships

End-of-Module Summary

In this module, we learned how to explore data using SPSS. We used frequency tables, descriptive statistics, and various charts to understand our data. We asked questions and found answers. Exploration is the foundation of all data analysis – it helps us know our data and find interesting patterns.


Frequently Asked Questions

1. What is EDA?
Exploratory Data Analysis – exploring data to understand it.
2. What is a frequency table?
A table showing how often each value occurs.
3. What is the mean?
The average.
4. What is the median?
The middle value.
5. What is the mode?
The most frequent value.
6. What is standard deviation?
How spread out the data is.
7. What is a bar chart used for?
Comparing categories.
8. What is a pie chart used for?
Showing parts of a whole.
9. What is a histogram?
A chart showing distribution of numeric data.
10. What is a boxplot?
A chart showing spread and outliers.

Review Questions

  1. What is Exploratory Data Analysis?
  2. What is a frequency table?
  3. What is the mean?
  4. What is the median?
  5. What is the mode?
  6. What is standard deviation?
  7. When would you use a bar chart?
  8. When would you use a pie chart?
  9. What does a histogram show?
  10. What does a boxplot show?
  11. What is a scatter plot used for?
  12. What is the Output Viewer?
  13. Why is it important to ask questions?
  14. What is documentation?
  15. Give an example of exploring Nigerian data.

Fill-in-the-Blank Exercises

  1. ______ is exploring data to understand it. (EDA)
  2. A ______ table shows how often each value occurs. (frequency)
  3. The ______ is the average. (mean)
  4. The ______ is the middle value. (median)
  5. The ______ is the most frequent value. (mode)
  6. ______ shows how spread out the data is. (Standard deviation)
  7. A ______ chart compares categories. (bar)
  8. A ______ chart shows parts of a whole. (pie)
  9. A ______ shows the distribution of numeric data. (histogram)
  10. A ______ shows spread and outliers. (boxplot)

True or False Exercises

  1. EDA is not important. (False)
  2. A frequency table counts categories. (True)
  3. The mean is the middle value. (False)
  4. The median is the average. (False)
  5. The mode is the most frequent value. (True)
  6. Standard deviation shows spread. (True)
  7. A bar chart is used for numeric data. (False)
  8. A pie chart shows parts of a whole. (True)
  9. A histogram shows distribution. (True)
  10. A boxplot shows relationships. (False)

Multiple Choice Questions

  1. What is EDA?
    A. Exploratory Data Analysis B. Extreme Data Analysis C. Easy Data Analysis D. Extra Data Analysis
    Answer: A
  2. Which table shows how often each value occurs?
    A. Frequency table B. Descriptive table C. Summary table D. Output table
    Answer: A
  3. What is the mean?
    A. The middle B. The average C. The most frequent D. The spread
    Answer: B
  4. What is the median?
    A. The middle B. The average C. The most frequent D. The spread
    Answer: A
  5. What is the mode?
    A. The middle B. The average C. The most frequent D. The spread
    Answer: C
  6. What does standard deviation show?
    A. Middle B. Average C. Spread D. Most frequent
    Answer: C
  7. Which chart compares categories?
    A. Pie chart B. Bar chart C. Histogram D. Boxplot
    Answer: B
  8. Which chart shows parts of a whole?
    A. Pie chart B. Bar chart C. Histogram D. Boxplot
    Answer: A
  9. Which chart shows distribution of numeric data?
    A. Pie chart B. Bar chart C. Histogram D. Boxplot
    Answer: C
  10. Which chart shows spread and outliers?
    A. Pie chart B. Bar chart C. Histogram D. Boxplot
    Answer: D
  11. What is a scatter plot used for?
    A. Comparing categories B. Showing distribution C. Showing relationships D. Showing parts
    Answer: C
  12. Where do SPSS results appear?
    A. Data View B. Variable View C. Output Viewer D. Syntax Editor
    Answer: C
  13. What should you do after exploring?
    A. Delete data B. Document findings C. Ignore results D. Close SPSS
    Answer: B
  14. Why should you ask questions?
    A. To confuse B. To guide exploration C. To slow down D. To avoid work
    Answer: B
  15. Which of these is a Nigerian example of EDA?
    A. Exploring population data B. Exploring movie ratings C. Exploring game scores D. Exploring book sales
    Answer: A

Matching Exercises

TermDescription
1. MeanA. Most frequent
2. MedianB. Average
3. ModeC. Middle
4. Bar chartD. Shows distribution
5. HistogramE. Compares categories

Answers: 1-B, 2-C, 3-A, 4-E, 5-D


Short Answer Questions

  1. What is Exploratory Data Analysis?
  2. Explain the difference between mean, median, and mode.
  3. What is a frequency table used for?
  4. How does a histogram differ from a bar chart?
  5. Why is it important to explore data before analysis?

Scenario-based Exercises

  1. Scenario: You have data on pupils' favourite subjects. You want to know which is most popular. What do you do?
  2. Scenario: You have data on test scores. You want to see if they are spread out or similar. What do you do?
  3. Scenario: You have data on study time and test scores. You want to see if they are related. What do you do?

Group Activity

In groups, collect data on favourite foods from your classmates. Enter it into SPSS, explore it (frequency tables, bar charts), and present your findings.


Individual Activity

Use the iris dataset (import as CSV). Explore it: frequency tables for species, descriptive statistics for petal length, and create a histogram and boxplot.


Classroom Discussion Questions

  1. What interesting things did you discover in your exploration?
  2. How can EDA help in Nigerian schools?
  3. What would you do if you found an outlier?
  4. Why is it important to visualise data?

Mini Project

Title: "Explore Nigerian States"
Find a dataset of Nigerian states (population, region, etc.). Explore it using SPSS: frequency tables, descriptive stats, and at least 3 charts. Write a short report.


Practical Assignment

Using the mtcars dataset, explore the variables mpg, hp, and cyl. Create frequency tables, descriptive statistics, histograms, and boxplots. Interpret the results.


Challenge Exercise

Find a real dataset online (e.g., from Kaggle). Perform a complete EDA in SPSS: frequency tables, descriptive stats, and charts. Write a detailed report of your findings.


Quiz Answers

Fill-in-the-Blank: 1. EDA, 2. frequency, 3. mean, 4. median, 5. mode, 6. Standard deviation, 7. bar, 8. pie, 9. histogram, 10. boxplot.

True/False: 1F, 2T, 3F, 4F, 5T, 6T, 7F, 8T, 9T, 10F.

Multiple Choice: 1A, 2A, 3B, 4A, 5C, 6C, 7B, 8A, 9C, 10D, 11C, 12C, 13B, 14B, 15A.


Key Takeaways

  • EDA helps you understand your data.
  • Frequency tables summarise categories.
  • Mean, median, mode describe the center.
  • Standard deviation describes spread.
  • Charts make data visual and clear.
  • Ask questions and document your findings.

Preparation for the Next Module

In the next module, we will learn how to compare groups using statistical tests like t-tests and ANOVA. We will use the insights from our exploration to ask deeper questions. Great work exploring your data!


🏆 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.
→