liveBook · Manning

Interquartile range

As explained in Effective Data Analysis

The interquartile range is the spread of the middle 50 percent of observations between the 25th and 75th percentiles.

The interquartile range (IQR) measures the spread of the middle 50% of observations, from the 25th to the 75th percentile. It describes how widely the central portion of a dataset is distributed without relying on its full range. section 4.1.1

Compare the IQR with the overall range to distinguish central spread from the dataset’s full width. Together with the median, it helps describe distances between quartiles and communicate variation to stakeholders. section 4.1.1

Use the IQR to:

  • Describe how close most records are to the dataset’s typical values. section 4.1.2
  • Summarize skewed or asymmetrical data alongside the median, range, and a distribution visualization. section 4.1.2
  • Avoid treating one summary statistic as complete: each statistic prioritizes some dataset properties and masks others. section 4.1.2

Communicating an IQR

A race summary might state that the middle 50% of participants finished between 43 and 67 minutes. This communicates the central spread more clearly than reporting only the fastest and slowest times. section 4.1.1

Figure 4.13 A boxplot shows the median and interquartile ranges in the box and the 25th and 75th percentiles in the whiskers by default. Values outside of the whiskers are typically treated as outliers.
figure

A boxplot displays the median and interquartile range in the box; its whiskers show the 25th and 75th percentiles by default, with values beyond them typically treated as outliers. section 4.1.1

How Effective Data Analysis covers it

How deep it goes
Defines percentile-based spread, compares it with range, and recommends visual inspection through boxplots without deriving calculations.
Examples
Uses race times, test scores, website visits, sleep data, and boxplots to illustrate central and overall spread.
What it assumes
Assumes familiarity with datasets, percentiles, median, range, and descriptive statistics while emphasizing that assumptions require checking.
What you can do after
Evaluate central spread, compare it with overall range, and report it responsibly for skewed or asymmetrical data.
How it connects
Connects the IQR to percentiles, median, range, boxplots, outliers, skewed distributions, and descriptive statistics.

Also explained in

Compare how 7 books explain interquartile range →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Data Analysis. The section links point to the parts of the book it draws on.