An Analysis of IELTS Exam Performance

Ginger Lo

2026-12-04

Background and Motivation

Goal: Identify patterns that may help students plan their IELTS preparation.

Research Questions

Q1. Which IELTS test section has the lowest average score across nationality groups?

Q2. How do score distributions differ by reason for taking IELTS?

Data Sources

TidyTuesday 2026 — Week 33 (August 18)

Setup and Data Import

library(tidyverse)
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
## ✔ dplyr     1.2.1     ✔ readr     2.2.0
## ✔ forcats   1.0.1     ✔ stringr   1.6.0
## ✔ ggplot2   4.0.4     ✔ tibble    3.3.1
## ✔ lubridate 1.9.5     ✔ tidyr     1.3.2
## ✔ purrr     1.2.2     
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## ✖ dplyr::filter() masks stats::filter()
## ✖ dplyr::lag()    masks stats::lag()
## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
base_url <- paste0(
  "https://raw.githubusercontent.com/rfordatascience/",
  "tidytuesday/main/data/2026/2026-08-18/")
ielts <- read_csv(paste0(base_url,
  "performance_by_nationality.csv"), show_col_types = FALSE)
reasons <- read_csv(paste0(base_url,
  "demo_by_reasons.csv"), show_col_types = FALSE)

Data Structure

str(ielts, vec.len = 2)
## spc_tbl_ [1,180 × 5] (S3: spec_tbl_df/tbl_df/tbl/data.frame)
##  $ type       : chr [1:1180] "Academic" "Academic" ...
##  $ nationality: chr [1:1180] "Azerbaijan" "Azerbaijan" ...
##  $ part       : chr [1:1180] "listening" "reading" ...
##  $ score      : num [1:1180] 6.58 6.9 ...
##  $ year       : chr [1:1180] "2024-2025" "2024-2025" ...
##  - attr(*, "spec")=
##   .. cols(
##   ..   type = col_character(),
##   ..   nationality = col_character(),
##   ..   part = col_character(),
##   ..   score = col_double(),
##   ..   year = col_character()
##   .. )
##  - attr(*, "problems")=<pointer: 0x00000269497f19f0>
str(reasons, vec.len = 2)
## spc_tbl_ [792 × 5] (S3: spec_tbl_df/tbl_df/tbl/data.frame)
##  $ type   : chr [1:792] "Academic" "Academic" ...
##  $ reason : chr [1:792] "For employment" "For employment" ...
##  $ band   : chr [1:792] "<4" "4" ...
##  $ percent: num [1:792] 0.00424 0.00908 ...
##  $ year   : chr [1:792] "2024-2025" "2024-2025" ...
##  - attr(*, "spec")=
##   .. cols(
##   ..   type = col_character(),
##   ..   reason = col_character(),
##   ..   band = col_character(),
##   ..   percent = col_double(),
##   ..   year = col_character()
##   .. )
##  - attr(*, "problems")=<pointer: 0x00000269497f1320>

Descriptive Statistics

summary(ielts$score)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
##   4.244   5.900   6.249   6.259   6.608   8.727
summary(reasons$percent)
##    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
## 0.00000 0.01422 0.06097 0.08328 0.14139 0.29000

Data Cleaning and Preparation

colSums(is.na(ielts))
##        type nationality        part       score        year 
##           0           0           0           0           0
colSums(is.na(reasons))
##    type  reason    band percent    year 
##       0       0       0       0       0
sum(duplicated(ielts))
## [1] 0
sum(duplicated(reasons))
## [1] 0
ielts_clean <- ielts %>%
  distinct() %>%
  drop_na(type, nationality, part, score, year) %>%
  filter(part %in% c("listening", "reading", "writing", "speaking"),
         between(score, 0, 9)) %>%
  group_by(type, nationality, year) %>%
  filter(n() == 4, n_distinct(part) == 4) %>%
  ungroup()

Q1: Numerical Results

section_summary <- ielts_clean %>%
  group_by(part) %>%
  summarise(mean_score = mean(score), median_score = median(score),
            sd_score = sd(score), groups = n(), .groups = "drop") %>%
  arrange(mean_score)
Section Mean Median SD Groups
writing 5.99 6.01 0.35 236
reading 6.27 6.35 0.69 236
speaking 6.35 6.35 0.54 236
listening 6.37 6.42 0.61 236

Lowest: writing (5.99).

Highest: listening (6.37).

Q1: Score Distribution

ggplot(ielts_clean, aes(x = part, y = score, fill = part)) +
  geom_boxplot() +
  labs(title = "IELTS scores by test section", x = "Section", y = "Group mean band score") +
  theme_minimal() + theme(legend.position = "none")

The boxplot compares medians, spread, and unusual group mean scores.

Q1: Academic vs. General Training

type_summary <- ielts_clean %>%
  group_by(type, part) %>%
  summarise(mean_score = mean(score), .groups = "drop")
lowest_type <- type_summary %>% group_by(type) %>% slice_min(mean_score, n = 1, with_ties = TRUE) %>% ungroup()
ggplot(type_summary, aes(x = part, y = mean_score, fill = type)) +
  geom_col(position = "dodge") +
  scale_y_continuous(limits = c(0, 9)) +
  labs(title = "Scores by section and test type", x = "Section", y = "Mean group score", fill = "Test type") +
  theme_minimal()

Lowest-scoring sections: Academic: writing; General_Training: writing.

Q2: Calculation Method

expected_bands <- c("<4", "4", "4.5", "5", "5.5", "6", "6.5",
                    "7", "7.5", "8", "8.5", "9")
reasons_clean <- reasons %>%
  distinct() %>%
  drop_na(type, reason, band, percent, year) %>%
  mutate(band = trimws(as.character(band))) %>%
  filter(band %in% expected_bands, percent >= 0) %>%
  group_by(type, reason, year) %>%
  filter(n() == 12, n_distinct(band) == 12) %>%
  ungroup()
reason_summary <- reasons_clean %>%
  group_by(type, reason, year) %>%
  summarise(total = sum(percent),
            high = sum(percent[band %in% c("7", "7.5", "8", "8.5", "9")]),
            .groups = "drop") %>%
  filter(between(total, 0.95, 1.05) | between(total, 95, 105)) %>%
  mutate(high_pct = 100 * high / total)
stopifnot(nrow(ielts_clean) > 0, nrow(reason_summary) > 0)
latest <- reason_summary %>% filter(year == max(year))
latest <- latest %>% arrange(type, desc(high_pct))

Band 7+ percentage: 100 × high-band values / all band values.

Q2: Band 7 or Higher

ggplot(latest, aes(x = reason, y = high_pct, fill = type)) +
  geom_col(position = "dodge") + coord_flip() +
  scale_y_continuous(limits = c(0, 100)) +
  labs(title = "Percentage reaching band 7 or higher",
       subtitle = max(latest$year), x = "Reason", y = "Percentage (%)", fill = "Test type") +
  theme_minimal()

Latest reporting period: 2024-2025.

Q2: Key Numerical Findings

leaders <- latest %>% group_by(type) %>% slice_max(high_pct, n = 1, with_ties = TRUE) %>% ungroup()
Test type Reason Band 7+ (%)
Academic For registration as a doctor 69.3
General_Training For registration as a doctor 57.4

These are the highest observed percentages within each test type.

Differences may reflect different backgrounds or preparation levels. They do not prove that test purpose causes higher scores.

Conclusion and Limitations

References and Questions

Thank you for listening!

Questions and suggestions are welcome.