UK-based online statistics and data analysis support for USA, UK, and international clients. No exams, no impersonation, no fabricated data.
Basic Descriptive Statistics Guides

Five Number Summary: Complete R, Python, SPSS and Excel Guide

Learn the five number summary with minimum, Q1, median, Q3, maximum, IQR, outlier checks, box plot links, interpretation, and SPSS/R/Python/Excel workflows.

Statistics guide Ethical learning support SPSS/R/Python/Excel friendly
Five Number Summary guide with minimum, Q1, median, Q3, maximum, IQR, boxplots, outlier fences, R, Python, SPSS and Excel workflow

Descriptive Statistics Guide

Five Number Summary is a robust descriptive statistics method that summarizes a numeric variable using five core values: minimum, first quartile, median, third quartile and maximum. This complete guide explains the five number summary, IQR, outlier fences, boxplots, R charts, Python charts, SPSS output and Excel workflow using student performance data.

Advertisement
Google AdSense top placement reserved here

Quick Answer: Five Number Summary Result

A Five Number Summary was used to describe numeric variables in the student performance dataset. The main focus was the final grade variable G3, but the analysis also compared G1, G2, absences, study-time groups, school groups and sex groups. The method gives a strong view of center, spread, skewness and possible outliers without relying only on the mean.

Dataset rows649
Main methodFive-number summary
G3 median12
G3 IQR4

Main finding: The final grade variable G3 has a minimum of 0, Q1 of 10, median of 12, Q3 of 14 and maximum of 19. The IQR is 4, meaning the middle 50% of final grades fall between 10 and 14. The boxplots show that G3 has a slightly higher median than G1 and G2, while absences show the widest spread and the strongest outlier pattern.

Important interpretation note: The five number summary is descriptive. It does not test a hypothesis by itself. It is used to understand distribution shape, median, spread and unusual values. If you need formal group comparison after this summary, use methods such as a t test, ANOVA, nonparametric test or effect size analysis depending on the research question.

Table of Contents

What Is Five Number Summary?

Five Number Summary is a descriptive statistics method used to summarize the distribution of a numeric variable. It uses five values: the minimum, first quartile, median, third quartile and maximum. These five values show the lower end, upper end, center and middle spread of the data.

The method is especially useful when the data are skewed or contain outliers. A mean can be pulled upward or downward by extreme values, but the median and quartiles are more robust. This is why the five number summary is commonly used with boxplots, outlier detection and exploratory data analysis.

Simple meaning: The five number summary tells you where the data starts, where the lower 25% ends, where the middle value is, where the upper 25% begins and where the data ends.

For example, if G3 final grade has a minimum of 0, Q1 of 10, median of 12, Q3 of 14 and maximum of 19, the interpretation is straightforward. The lowest observed grade is 0, about 25% of students scored 10 or below, about 50% scored 12 or below, about 75% scored 14 or below, and the highest observed grade is 19.

Five Number Summary Formula and Logic

The five number summary is based on ordered data. First, the numeric values are sorted from smallest to largest. Then the minimum, quartiles, median and maximum are identified.

Five Number Summary:

Minimum = smallest observed value

Q1 = first quartile
About 25% of observations are at or below Q1

Median = second quartile
About 50% of observations are at or below the median

Q3 = third quartile
About 75% of observations are at or below Q3

Maximum = largest observed value

Interquartile Range:
IQR = Q3 - Q1

Outlier fences:
Lower fence = Q1 - 1.5 × IQR
Upper fence = Q3 + 1.5 × IQR

The interquartile range, or IQR, is one of the most important parts of the five number summary. It measures the spread of the middle 50% of the data. Because it ignores the lowest 25% and highest 25%, it is less affected by extreme observations than the full range.

StatisticMeaningG3 result in this guide
MinimumSmallest observed final grade0
Q1Lower quartile; about 25% of observations are at or below this value10
MedianMiddle value; about 50% of observations are at or below this value12
Q3Upper quartile; about 75% of observations are at or below this value14
MaximumLargest observed final grade19
IQRSpread of the middle 50% of observations4

Dataset and Variables Used

This guide uses the student-por.csv student performance dataset with 649 rows. The five number summary analysis focuses mainly on numeric variables, especially G1, G2, G3 and absences. Grouped summaries are also created by school, sex and study time so that the distribution of G3 can be compared across important student categories.

VariableVariable typeRole in this guide
G1Numeric grade variableCompared with G2 and G3 using five number summaries and boxplots.
G2Numeric grade variableUsed as a second-period grade comparison variable.
G3Numeric final grade variableMain outcome variable for the five number summary and grouped boxplots.
absencesNumeric count variableUsed to show IQR, skewness and outlier fence interpretation.
schoolCategorical grouping variableUsed to compare G3 five-number structure by school group.
sexCategorical grouping variableUsed to compare G3 five-number structure by female and male students.
studytimeOrdinal/categorical grouping variableUsed to compare G3 five-number structure by study-time category.

External dataset source: UCI Machine Learning Repository: Student Performance dataset.

Verified Five Number Summary Results

The main verified result for G3 final grade is summarized below. These values are repeated in the boxplot, the quartile-line distribution chart and the output summary panel.

VariableMinimumQ1MedianQ3MaximumIQRInterpretation
G3 final grade0101214194The middle 50% of final grades fall between 10 and 14.
G1 first grade0101113193G1 has a slightly lower median and slightly narrower spread than G3.
G2 second grade0101113193G2 is similar to G1, with median 11 and IQR 3.
Absences0026326Absences are strongly right-skewed with high outliers above the upper fence.

Summary decision: G3 final grades are centered around a median of 12, with the middle half of scores between 10 and 14. The full range is wide because some students scored 0 and the highest observed score was 19. The IQR shows moderate spread in final grades, while absences show much greater skewness and outlier behavior.

Advertisement
Google AdSense middle placement reserved here

Chart-by-Chart Interpretation of the Five Number Summary Analysis

This section explains every uploaded Python and R chart in detail. The Python charts and R charts are both included because they confirm the same statistical story through two software workflows. Python and R may differ slightly in visual design, but the interpretation of the five-number summary remains the same.

Chart 1: G3 Final Grade Five Number Summary Boxplot

Python five number summary boxplot for G3 final grade
Python chart showing the five number summary for G3 final grade.
R five number summary boxplot for G3 final grade
R chart showing the same five number summary structure for G3 final grade.

Specific interpretation: The G3 final grade boxplot shows a minimum of 0, Q1 of 10, median of 12, Q3 of 14 and maximum of 19. The box begins at Q1 and ends at Q3, so the middle 50% of final grades are between 10 and 14. The median line at 12 sits inside the box and shows that half of students scored 12 or below while the other half scored 12 or above.

The lower tail is important. Even though most final grades cluster between 10 and 14, some scores fall at or near 0. These very low values appear as unusual observations compared with the central grade pattern. The upper end reaches 19, showing that high-performing students exist, but the upper tail is not as visually extreme as the low-score points.

Why this chart matters: This chart gives a complete distribution summary in one visual. It is more informative than reporting only the mean because it shows center, spread and possible outliers at the same time.

Reporting decision: Report G3 as median = 12, Q1 = 10, Q3 = 14, IQR = 4, minimum = 0 and maximum = 19. Also mention that a small number of very low scores create lower-end unusual values.

Chart 2: Boxplot of G1, G2 and G3

Python boxplot comparing five number summaries of G1 G2 and G3
Python chart comparing five number summaries for G1, G2 and G3.
R boxplot comparing five number summaries of G1 G2 and G3
R chart comparing five number summaries for the three grade variables.

Specific interpretation: The G1, G2 and G3 boxplots show that the three grade variables have broadly similar distributions, but G3 has a slightly higher median and a wider middle spread. G1 and G2 both have median values around 11, while G3 has a median of 12. This suggests that the final grade distribution is slightly shifted upward compared with earlier grade periods.

The boxes for G1 and G2 are similar, with Q1 around 10 and Q3 around 13. G3 has Q1 around 10 and Q3 around 14, producing a wider IQR. This means final grades show slightly more spread in the middle 50% of students. The presence of low outliers near 0 across the grade variables indicates that a small number of students performed very poorly or had zero recorded outcomes.

Why this chart matters: It compares three related grade variables at once. Instead of looking at separate tables, the boxplot shows that G3 is not only centered slightly higher but also has more middle spread than G1 and G2.

Reporting decision: State that G3 has the highest median among the three grade variables and a slightly larger IQR, while all three variables show some low-end unusual values.

Chart 3: Min, Q1, Median, Q3 and Max Comparison for G1, G2 and G3

Python five number summary comparison of G1 G2 and G3
Python line panels showing minimum, Q1, median, Q3 and maximum for G1, G2 and G3.
R five number summary comparison of G1 G2 and G3
R line panels showing the five-number values for grade variables.

Specific interpretation: This chart separates the five values for G1, G2 and G3 into clear panels. For G1, the values are minimum 0, Q1 10, median 11, Q3 13 and maximum 19. G2 shows the same five-number pattern: minimum 0, Q1 10, median 11, Q3 13 and maximum 19. G3 changes slightly, with minimum 0, Q1 10, median 12, Q3 14 and maximum 19.

The chart makes the grade progression easy to see. The minimum and maximum stay the same across G1, G2 and G3, but the median and Q3 increase in G3. This means the final grade distribution is not simply wider; its central location also moves upward. The increase from median 11 to median 12 is small but meaningful in a student-performance context because it represents a shift in the middle student outcome.

Why this chart matters: Boxplots are useful, but some readers find the exact five values difficult to read from a boxplot alone. This chart labels each value directly, making it ideal for reports, teaching and interpretation.

Reporting decision: Report that G1 and G2 share the same five-number structure, while G3 improves at the median and upper quartile level, with median 12 and Q3 14.

Chart 4: IQR Comparison Across Numeric Variables

Python IQR comparison across numeric variables
Python chart comparing interquartile ranges across numeric variables.
R IQR comparison across numeric variables
R chart comparing the IQR values across numeric variables.

Specific interpretation: The IQR comparison chart shows how much the middle 50% of each numeric variable varies. Absences has the largest IQR, with an IQR of 6. This means the central spread of absences is much wider than most other numeric variables in the dataset. G3 has an IQR of 4, while G1 and G2 each have an IQR of 3.

Several variables, such as failures, traveltime, studytime, famrel, freetime and Dalc, have small IQR values. A small IQR does not automatically mean the variable is unimportant; it means that most students are concentrated in a narrower middle range. For variables measured on small ordinal scales, a small IQR is common because the available response categories are limited.

The grade variables show moderate central spread. G3 is more variable than G1 and G2 in the middle 50%, while absences is the most spread-out variable. This supports the earlier descriptive-statistics finding that absences is highly variable and likely skewed.

Why this chart matters: IQR comparison helps identify which variables have the most robust spread without being overly influenced by extreme values. It is especially useful before choosing transformations, outlier handling or nonparametric summaries.

Reporting decision: State that absences has the greatest middle-spread variability, while G3 has a larger IQR than G1 and G2. Use the IQR instead of only standard deviation when discussing skewed variables such as absences.

Chart 5: G3 Distribution with Five Number Lines

Python G3 distribution histogram with five number summary lines
Python histogram showing G3 distribution with minimum, Q1, median, Q3 and maximum lines.
R G3 distribution histogram with five number summary lines
R histogram showing G3 distribution with the five number summary marked by vertical lines.

Specific interpretation: The G3 distribution chart places the five number summary directly on the histogram. The minimum line is at 0, Q1 is at 10, the median is at 12, Q3 is at 14 and the maximum is at 19. Most students are concentrated between 10 and 14, which matches the IQR result. The highest bars occur around the lower-middle final grade range, showing that many students scored close to the central grade values.

The chart also shows why the minimum value must be interpreted carefully. The minimum is far away from the main cluster of the data. A minimum of 0 is part of the five-number summary, but it does not represent the typical student. The typical student is better represented by the median and quartiles. This is exactly why five-number reporting is stronger than only reporting the range.

Compared with a simple boxplot, the histogram adds frequency information. It shows where the observations are densest, while the vertical lines show the exact summary boundaries. This combination helps readers understand both distribution shape and summary statistics.

Why this chart matters: It connects the numerical five-number summary to the actual distribution. Readers can see that Q1, median and Q3 fall inside the dense part of the distribution, while the minimum is separated from the main cluster.

Reporting decision: Report the five-number summary and add that the central mass of G3 scores lies between 10 and 14, with a small number of low-end unusual scores near 0.

Chart 6: Absences and Outlier Fence

Python absences five number summary and outlier fence chart
Python chart showing absences with quartiles and the upper outlier fence.
R absences five number summary and outlier fence chart
R chart showing absences with the same outlier-fence logic.

Specific interpretation: The absences chart is a strong example of why the five number summary is useful for skewed data. Absences has Q1 = 0, median = 2 and Q3 = 6. This means many students have very few absences, and at least 25% of students have zero absences. The middle student has about 2 absences, while 75% of students have 6 or fewer absences.

The upper outlier fence is 15. This is calculated using the formula Q3 + 1.5 × IQR. Since Q3 is 6 and the IQR is 6, the upper fence is 6 + 1.5 × 6 = 15. Any absence value above 15 is considered unusually high by the 1.5 × IQR rule. The chart shows several values above this fence, including very high absence counts around the 20s and 30s.

This pattern indicates a right-skewed variable. Most students have low absences, but a small group has very high absence counts. The mean would be pulled upward by these high values, so the median and IQR are more reliable for summarizing the typical absence pattern.

Why this chart matters: It demonstrates practical outlier detection. The chart does not simply label high values as unusual; it shows the statistical fence used to identify them.

Reporting decision: Report absences using median and IQR rather than mean alone. A good statement is: absences were right-skewed, with median = 2, Q1 = 0, Q3 = 6, IQR = 6 and several high outliers above the upper fence of 15.

Chart 7: G3 Five Number Summary by School

Python G3 five number summary by school boxplot
Python chart comparing G3 five-number summaries by school group.
R G3 five number summary by school boxplot
R chart comparing G3 final grade distributions by school group.

Specific interpretation: The school-level boxplot compares G3 final grade distributions for GP and MS. GP has a median around 13, while MS has a median around 11. This indicates that the typical final grade is higher for GP students than for MS students in this dataset. The difference in medians is easy to see because the median label is placed directly inside each box.

The GP box is positioned higher than the MS box, showing that not only the median but also much of the central distribution is shifted upward for GP. MS has a lower central location, and the box extends across a lower grade range. Both groups show some low values, but the overall grade pattern favors GP.

The chart also shows why a group comparison should not rely only on averages. A mean difference can be useful, but the boxplot shows the full distribution: median, quartiles, whiskers and unusual values. This helps determine whether the group difference is broad across the distribution or driven only by a few cases.

Why this chart matters: It provides a distribution-level comparison of final grades by school. It supports later group-comparison work such as effect size analysis, t tests or nonparametric comparison.

Reporting decision: State that GP students show a higher G3 median than MS students, with GP median = 13 and MS median = 11. This suggests better typical final-grade performance in GP for this sample.

Chart 8: G3 Five Number Summary by Sex

Python G3 five number summary by sex boxplot
Python chart comparing G3 five-number summaries by sex.
R G3 five number summary by sex boxplot
R chart comparing female and male G3 final grade distributions.

Specific interpretation: The sex-based boxplot compares G3 final grades for female and male students. Female students have a median of 12, while male students have a median of 11. This shows a slight difference in typical final-grade performance, with female students having a somewhat higher central value.

The boxes overlap considerably, so the difference should be interpreted as modest rather than large. Female students show a central range that extends higher, while male students show more low-end unusual values. However, because both groups share a wide portion of the grade distribution, this chart should be interpreted as a descriptive comparison rather than proof of a large group gap.

This chart is also helpful because it separates central tendency from variability. A one-point median difference can be meaningful in context, but the overlap reminds us that many male and female students have similar grades. The distribution matters as much as the median.

Why this chart matters: It shows whether the sex difference is visible across the distribution, not only in the mean. It is a useful companion to effect-size charts such as Cohen’s d or Hedges’ g.

Reporting decision: State that female students have a slightly higher G3 median than male students, but the distributions overlap, so the practical difference appears modest.

Chart 9: G3 Five Number Summary by Study Time

Python G3 five number summary by study time boxplot
Python chart comparing G3 final grade distributions by study-time category.
R G3 five number summary by study time boxplot
R chart comparing G3 final grade distributions across study-time groups.

Specific interpretation: The study-time boxplot compares final grades across four study-time categories. Students studying less than 2 hours have a median around 11. Students studying 2 to 5 hours have a median around 12. Students studying 5 to 10 hours and more than 10 hours both have medians around 13. This shows a positive descriptive pattern: higher study-time categories tend to have higher typical final grades.

The lower study-time group has more low-end unusual values, including scores close to 0. The 5 to 10 hours group has a higher central location and appears more concentrated around stronger grades. The more than 10 hours group has a similar median to the 5 to 10 hours group but shows a wider spread, which may be due to smaller group size or more mixed student outcomes.

This chart should not be interpreted as causal. It does not prove that increasing study time automatically causes higher grades. It does show that, in this dataset, higher study-time groups are associated with higher median G3 outcomes. That makes it a valuable descriptive result and a useful starting point for further modeling.

Why this chart matters: It connects a behavioral variable, study time, with the final grade distribution. It also shows that grouped five-number summaries can reveal educational patterns that a single overall summary would hide.

Reporting decision: State that G3 median increases from 11 in the lowest study-time group to 13 in the higher study-time groups, suggesting a positive descriptive relationship between study time and final grade.

Output Summary Panels

Specific interpretation: The output summary panels confirm that the analysis used 649 rows and produced five-number summary tables, grade-focused summaries, grouped summaries, an absences outlier-fence table, a clean SPSS-ready data file and publication-ready charts. The key G3 five-number summary is minimum = 0, Q1 = 10, median = 12, Q3 = 14, maximum = 19 and IQR = 4.

Why these panels matter: They make the workflow transparent. A reader can quickly see what dataset was used, what outputs were generated and what the central G3 result is before reading the full interpretation.

Reporting decision: Use the summary panel values as the main numerical result in the report, then use the boxplots and distribution charts to explain the pattern visually.

Advertisement
Google AdSense middle placement reserved here

R Code for Five Number Summary

R can calculate five number summaries, IQR values, grouped summaries and publication-ready charts. The code below shows the core structure for creating summary values and boxplots.

library(readr)
library(dplyr)
library(tidyr)
library(ggplot2)

folder <- "D:/DATA ANALYSIS/A Basic Descriptive Statistics Guides/Five Number Summary"
data_file <- file.path(folder, "clean data set.csv")

df <- read_csv(data_file, show_col_types = FALSE)

# Five number summary for G3
summary(df$G3)

# Manual five number summary
g3_summary <- tibble(
  variable = "G3",
  minimum = min(df$G3, na.rm = TRUE),
  q1 = quantile(df$G3, .25, na.rm = TRUE),
  median = median(df$G3, na.rm = TRUE),
  q3 = quantile(df$G3, .75, na.rm = TRUE),
  maximum = max(df$G3, na.rm = TRUE),
  iqr = IQR(df$G3, na.rm = TRUE)
)

print(g3_summary)

# Boxplot for G1, G2 and G3
df_long <- df %>%
  select(G1, G2, G3) %>%
  pivot_longer(cols = everything(), names_to = "grade_variable", values_to = "score")

ggplot(df_long, aes(x = grade_variable, y = score)) +
  geom_boxplot() +
  labs(
    title = "Five Number Summary: Boxplot of G1, G2 and G3",
    subtitle = "Boxplots compare median, quartiles, whiskers and outliers.",
    x = "Grade variable",
    y = "Score"
  ) +
  theme_minimal()

R interpretation: The R workflow confirms the same five-number summary values for G3 and creates boxplots that compare central tendency, spread and outliers across grade variables.

Python Code for Five Number Summary

Python can calculate five-number summaries, IQR values, outlier fences and grouped boxplots in one automated workflow. The script below shows the essential calculation logic.

import pandas as pd
import numpy as np

folder = r"D:\DATA ANALYSIS\A Basic Descriptive Statistics Guides\Five Number Summary"
data_file = folder + r"\clean data set.csv"

df = pd.read_csv(data_file)

def five_number_summary(series):
    series = series.dropna()
    q1 = series.quantile(0.25)
    q3 = series.quantile(0.75)
    iqr = q3 - q1
    return pd.Series({
        "Minimum": series.min(),
        "Q1": q1,
        "Median": series.median(),
        "Q3": q3,
        "Maximum": series.max(),
        "IQR": iqr,
        "Lower fence": q1 - 1.5 * iqr,
        "Upper fence": q3 + 1.5 * iqr
    })

# G3 five number summary
g3_summary = five_number_summary(df["G3"])
print(g3_summary)

# Five number summaries for grade variables
grade_summary = df[["G1", "G2", "G3"]].apply(five_number_summary).T
print(grade_summary)

# Grouped G3 summary by school
school_summary = df.groupby("school")["G3"].apply(five_number_summary)
print(school_summary)

# Save clean SPSS-ready data
df.to_csv(folder + r"\Python_Output\five_number_summary_clean_spss_ready.csv", index=False)

Python chart note: Use clean title spacing for every chart. Keep the title and subtitle separated with enough top margin so the final uploaded images remain readable in WordPress.

SPSS Syntax and Interpretation for Five Number Summary

SPSS can calculate medians, quartiles, percentiles, boxplots and outlier information through Explore and Frequencies procedures. The uploaded SPSS PDF output is available below:

View Five Number Summary SPSS Output PDF

SPSS Menu Method

StepSPSS menu actionPurpose
1Analyze → Descriptive Statistics → ExploreOpen the procedure for median, quartiles and boxplots.
2Move G3 to Dependent ListAnalyze the final grade variable.
3Use school, sex or studytime as Factor ListCreate grouped five-number summaries.
4Click StatisticsSelect descriptives and percentiles if needed.
5Click PlotsSelect boxplots and descriptive plots.
6Run and export outputSave both SPSS Viewer output and PDF output.

SPSS Syntax Example with PDF Export

GET DATA
  /TYPE=TXT
  /FILE='D:\DATA ANALYSIS\A Basic Descriptive Statistics Guides\Five Number Summary\Python_Output\five_number_summary_clean_spss_ready.csv'
  /DELCASE=LINE
  /DELIMITERS=","
  /QUALIFIER='"'
  /ARRANGEMENT=DELIMITED
  /FIRSTCASE=2
  /IMPORTCASE=ALL
  /VARIABLES=
    school A10
    sex A10
    age F8.0
    studytime F8.0
    failures F8.0
    absences F8.0
    G1 F8.0
    G2 F8.0
    G3 F8.0.
CACHE.
EXECUTE.

EXAMINE VARIABLES=G1 G2 G3 absences
  /PLOT BOXPLOT STEMLEAF
  /COMPARE GROUPS
  /STATISTICS DESCRIPTIVES PERCENTILES
  /CINTERVAL 95
  /MISSING LISTWISE
  /NOTOTAL.

EXAMINE VARIABLES=G3 BY school
  /PLOT BOXPLOT
  /STATISTICS DESCRIPTIVES PERCENTILES
  /MISSING LISTWISE.

EXAMINE VARIABLES=G3 BY sex
  /PLOT BOXPLOT
  /STATISTICS DESCRIPTIVES PERCENTILES
  /MISSING LISTWISE.

EXAMINE VARIABLES=G3 BY studytime
  /PLOT BOXPLOT
  /STATISTICS DESCRIPTIVES PERCENTILES
  /MISSING LISTWISE.

OUTPUT SAVE
  OUTFILE='D:\DATA ANALYSIS\A Basic Descriptive Statistics Guides\Five Number Summary\Python_Output\pdf\Five-Number-Summary-SPSS-Output.spv'
  LOCK=NO.

OUTPUT EXPORT
  /CONTENTS EXPORT=ALL LAYERS=PRINTSETTING MODELVIEWS=PRINTSETTING
  /PDF DOCUMENTFILE='D:\DATA ANALYSIS\A Basic Descriptive Statistics Guides\Five Number Summary\Python_Output\pdf\Five-Number-Summary-SPSS-Output.pdf'
  /EMBEDBOOKMARKS=YES
  /EMBEDFONTS=YES.

EXECUTE.

SPSS export note: The PDF output folder must already exist before running the syntax. SPSS does not reliably create missing Windows folders automatically. Always save both the editable SPSS Viewer file and the exported PDF output.

SPSS interpretation: In SPSS, the Explore procedure provides the median, percentiles and boxplots needed for five-number summary reporting. The output should be interpreted together with the R and Python charts so that both numerical tables and visual summaries support the final conclusion.

Excel Method for Five Number Summary

Excel can calculate a five number summary using built-in functions. It can also create boxplots using the Insert Chart menu in recent Excel versions.

Excel Formula Method

StatisticExcel formula examplePurpose
Minimum=MIN(G3_range)Smallest observed value.
Q1=QUARTILE.INC(G3_range,1)First quartile.
Median=MEDIAN(G3_range)Middle value.
Q3=QUARTILE.INC(G3_range,3)Third quartile.
Maximum=MAX(G3_range)Largest observed value.
IQR=Q3_cell-Q1_cellMiddle 50% spread.
Upper fence=Q3_cell+1.5*IQR_cellHigh outlier cutoff.
Lower fence=Q1_cell-1.5*IQR_cellLow outlier cutoff.

Excel interpretation: For G3, Excel should return minimum = 0, Q1 = 10, median = 12, Q3 = 14, maximum = 19 and IQR = 4 when the same quartile method is used.

Download Output and Resources

The SPSS output PDF and dataset source are available below. Use the SPSS PDF for formal output review and use the R/Python charts for visual explanation in reports.

How to Report Five Number Summary

A five number summary report should include the variable name, sample size if available, minimum, Q1, median, Q3, maximum and IQR. When outliers are important, also report the lower and upper fences or describe unusual values in words.

Report example: The five-number summary for G3 final grade showed a minimum of 0, Q1 of 10, median of 12, Q3 of 14 and maximum of 19. The IQR was 4, indicating that the middle 50% of final grades fell between 10 and 14. The distribution contained a small number of very low scores, so the median and IQR provide a useful robust summary of typical performance.

For a shorter report, use the following version:

G3 final grades were summarized using a five-number summary: minimum = 0, Q1 = 10, median = 12, Q3 = 14 and maximum = 19. The IQR was 4, showing that the middle 50% of scores fell between 10 and 14.

When Should You Use Five Number Summary?

Use the Five Number Summary when you need a robust description of a numeric variable. It is especially useful when the distribution may be skewed, when the data may contain outliers, or when you want to create boxplots for a report.

Analysis situationUse five number summary to checkWhy it helps
Skewed numeric dataMedian, quartiles and IQRMore robust than mean and standard deviation alone.
Outlier detectionLower and upper fencesIdentifies unusually low or high values.
Grade analysisMinimum, Q1, median, Q3 and maximumShows student performance distribution clearly.
Group comparisonGrouped boxplotsCompares medians and spreads across groups.
Before formal testingDistribution shape and spreadHelps choose parametric or nonparametric methods.

If the data are normally distributed and outliers are not a concern, mean and standard deviation may also be reported. But when the data are skewed, such as absences in this dataset, the median and IQR are often more meaningful.

FAQs About Five Number Summary

What is Five Number Summary in simple words?

Five Number Summary is a descriptive statistics method that summarizes a numeric variable using five values: minimum, Q1, median, Q3 and maximum.

What are the five values in Five Number Summary?

The five values are minimum, first quartile, median, third quartile and maximum.

What is the Five Number Summary for G3 in this example?

For G3 final grade, the five number summary is minimum = 0, Q1 = 10, median = 12, Q3 = 14 and maximum = 19. The IQR is 4.

What does IQR mean?

IQR means interquartile range. It is calculated as Q3 minus Q1 and shows the spread of the middle 50% of the data.

Why is Five Number Summary useful?

It is useful because it shows center, spread and possible outliers. It is more robust than the mean when the data are skewed or contain extreme values.

How is Five Number Summary related to a boxplot?

A boxplot is a visual display of the five number summary. The box shows Q1 to Q3, the line shows the median, and the whiskers show the spread of the data.

How do you find outliers using Five Number Summary?

Calculate IQR as Q3 minus Q1. Then calculate lower fence as Q1 minus 1.5 times IQR and upper fence as Q3 plus 1.5 times IQR. Values outside these fences are possible outliers.

Can Five Number Summary be used for categorical variables?

No. Five Number Summary is for numeric variables. For categorical variables, use frequency tables, percentages or cross tabulation.

How do I calculate Five Number Summary in SPSS?

In SPSS, use Analyze, Descriptive Statistics, Explore. Put the numeric variable in the Dependent List and request percentiles and boxplots.

How do I calculate Five Number Summary in Excel?

Use MIN, QUARTILE.INC, MEDIAN and MAX formulas. Then calculate IQR as Q3 minus Q1.

Advertisement
Google AdSense bottom placement reserved here

Need help applying this to your own data?

Salar Cafe can help interpret output, clean datasets, review assumptions, build dashboards and explain statistical results ethically.

Need help interpreting your data analysis results?

Contact Salar Cafe
Engr. Muhammad Yar Saqib author profile photo

Engr. Muhammad Yar Saqib

WhatsApp Get Data Analysis Help