liveBook · Manning

Quartile

As explained in The Well-Grounded Data Analyst

A quartile is one of the values dividing an ordered dataset into four equal parts.

A quartile divides ordered values into four equal parts. It is useful when a skewed distribution makes a single average a poor guide for choosing what counts as substantial activity. section 9.2.1

For total cycling traffic by location, quartiles turn a vague cutoff question into an explicit comparison: identify values representing the top 25% or top 50%, then choose a threshold appropriate to the decision. section 9.2.1

Filtering cycling locations

Half of the locations recorded 216 or more bicycles in total. With at least 10 years of coverage, that is roughly 10–20 bicycles per measurement date; whether to investigate that level remains a business judgment. section 9.2.1

cycling_totals.describe()

Use descriptive statistics on total counts to inspect quartiles before committing to a filtering cutoff. section 9.2.1

How The Well-Grounded Data Analyst covers it

How deep it goes
Applies quartile outputs to a skewed distribution without detailing their calculation.
Examples
Uses total bicycle counts across locations, including a 216-count median threshold.
What you can do after
Apply quartiles to justify a practical threshold for prioritizing locations.
How it connects
Connects quartiles with histograms, skewed distributions, descriptive statistics, and filtering.

Also explained in

Compare how 4 books explain quartile →

Related concepts

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