Skip to content

Median

A central cut of ordered data or a distribution with at least half the observations or probability at or below it and at least half at or above it.

Version
v1 · 2026-10-04 · History
Domain-specific #
13750
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Statistics, Order Statistics → Mathematics

Core Idea

A median is a central cut of ordered observations or a probability distribution: at least half lie at or below it and at least half at or above it. For odd-sized samples the middle ordered value is the usual result. For even-sized numerical samples, averaging the two central values is a common convention, though every point between them satisfies the half-mass condition.[1]

How would you explain it like I'm…

The Middle Kid

Line up some kids from shortest to tallest. The kid standing right in the middle is the median: half the kids are shorter or the same, and half are taller or the same. Even if the tallest kid were a giant, the middle kid would stay the same.

The Middle Number

The median is the middle value when you put numbers in order. With 1, 3, 4, 8, 50, the median is 4, because there are the same number of values on each side of it. If there's an even number of values, like 2, 4, 6, 10, any number from 4 to 6 splits them in half; people usually report the halfway point, 5. The median doesn't care how big the biggest numbers are, so one huge value won't move it. But if you changed lots of the numbers, even the middle could move.

The Halfway Cut

A median is a value that cuts ordered data in half: at least half the values are at or below it, and at least half are at or above it. With an odd number of values, the middle one is the median. With an even number, every value between the two middle ones meets that condition, so the median isn't unique; the common habit of averaging the two middle values is a reporting convention, not the definition. The median is the 50% point of the data or of a probability distribution. It resists being thrown off by a few extreme values, because only the order in the middle matters, not how far out the extremes are. But it isn't immune: change enough of the data and even the middle shifts.

 

A median m of a dataset or probability distribution is any value such that at least half the observations or probability mass lies at or below m and at least half lies at or above m. For an odd-sized sample this picks out the middle order statistic. For an even-sized sample every point between the two central order statistics satisfies the condition; averaging those two is a reporting convention, so the median condition and a single-output rule should be kept distinct. The median is the 50% quantile in a broad sense, though specific quantile definitions and software may choose one endpoint of a nonunique median interval. Because it depends on central ranks, it is robust to the magnitudes of a small number of extreme values, but enough contamination can still move it arbitrarily far. These are properties of the central-order cut; they don't make the median the best summary in every situation.

Scope of Application

The median summarizes central rank in a skewed or heavy-tailed sample. NIST's concrete 10,000-value Cauchy illustration reports mean 3.70, median −0.016 and extremes near −29,000 and 89,000; those are one generated sample's values, not population constants or income data. SciPy documents filtering its ascent image with a size-20 neighborhood and chooses sorted index \(n//2\), rather than an even-window midpoint. These cases show both the rank mechanism and the importance of the reporting convention.[1][2]

Clarity

For \(1,2,3,4,100\), the median is \(3\); replacing \(100\) with \(1{,}000{,}000\) does not move it. For \(1,2,4,9\), the midpoint convention reports \(3\), but any value between \(2\) and \(4\) meets the median condition. Ties may place more than half the observations at the median rather than exactly half strictly on each side.[1]

Manages Complexity

One central value resists a small number of arbitrarily extreme observations and is the half-level member of the quantile family. It omits tail shape and may still be distorted if enough observations change; the familiar breakdown point is near one-half, not an absolute immunity claim.[3]

Abstract Reasoning

Specify the ordered carrier and whether observations have weights. Sort finite data or examine the distribution's cumulative mass; test both weak half-mass inequalities; then state how a single value was chosen if the median is nonunique. Absolute-deviation minimization is a consequence for finite numerical samples, not the definition for all ordered categories.

Knowledge Transfer

The same central-order rule applies to incomes and pixel windows, while population weights, image boundaries and implementation conventions differ. The skeleton is an ordered half-mass cut; this statistical functional is not a domain-neutral prime. Order is a strict prerequisite because the two weak half-mass inequalities require a ranking relation. The current Quantile entry uses a generalized-inverse endpoint, so it is related but does not strictly subsume every valid point of a nonunique median interval. “Median-unbiased estimator” is a different estimator property, not an alias of Median.

Relationships to Other Abstractions

Local relationship map for MedianParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.MedianDOMAINPrime abstraction: Order — presupposesOrderPRIMEDomain-specific abstraction: Pseudomedian — includesPseudomedianDOMAIN

Current abstraction Median Domain-specific

Parents (1) — outgoing typed relations

  • Median presupposes Order Prime

    Median's weak half-mass inequalities and central ranks require an order relation on the carrier.

Children (1) — abstractions linked here by typed relations

  • Pseudomedian Domain-specific includes Median

    The ordinary median is an identity-bearing constituent operation applied to the induced pair-average law.

Hierarchy paths (3) — routes to 3 parentless roots

Neighborhood in Abstraction Space

Median sits in a sparse region of the domain-specific corpus (81st percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Descriptive Statistics & Correlation Measures (40 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] NIST/SEMATECH Engineering Statistics Handbook, Measures of Location. Odd/even sample convention and comparison with the mean. registry ↩a ↩b ↩c

[2] SciPy maintainers, median filter documentation. Neighborhood median and exact even-size implementation behavior. registry ↩

[3] Rousseeuw's first-hand explanation of the sample median's breakdown intuition. “Slightly less than half” qualification. registry ↩