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.
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.
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.
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:
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.
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:
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.
Definition:
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.
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.
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:
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.
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:
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.
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:
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.
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:
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.
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:
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.
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:
Mini summary: The Output Viewer shows your results.
Let's explore a dataset of Nigerian states with variables: state, region, population, and area.
Example output: The most populated region is South-West. The average population is 5 million.
Mini summary: SPSS can explore any Nigerian data.
Good exploration starts with good questions. Here are some questions you can ask:
Mini summary: Asking questions guides your exploration.
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:
Mini summary: Document your findings.
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.
Data --> Frequency Tables --> Descriptive Stats --> Charts --> Insights
Frequency
8 | ###
6 | ### ###
4 | ### ### ###
2 | ### ### ### ###
0 |__###__###__###__###___
1-2 2-3 3-4 4-5
| Chart | Type of Data | Use |
|---|---|---|
| Bar chart | Categorical | Compare categories |
| Pie chart | Categorical | Show parts of a whole |
| Histogram | Numeric | Show distribution |
| Boxplot | Numeric | Show spread and outliers |
| Scatter plot | Numeric | Show relationships |
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.
| Term | Description |
|---|---|
| 1. Mean | A. Most frequent |
| 2. Median | B. Average |
| 3. Mode | C. Middle |
| 4. Bar chart | D. Shows distribution |
| 5. Histogram | E. Compares categories |
Answers: 1-B, 2-C, 3-A, 4-E, 5-D
In groups, collect data on favourite foods from your classmates. Enter it into SPSS, explore it (frequency tables, bar charts), and present your findings.
Use the iris dataset (import as CSV). Explore it: frequency tables for species, descriptive statistics for petal length, and create a histogram and boxplot.
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.
Using the mtcars dataset, explore the variables mpg, hp, and cyl. Create frequency tables, descriptive statistics, histograms, and boxplots. Interpret the results.
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.
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.
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!