hidden pixel

Median Information

In probability theory and statistics, median is described as the numerical value separating the higher half of a sample, a population, or a probability distribution, from the lower half. The median of a finite list of numbers can be found by arranging all the observations from lowest value to highest value and picking the middle one. If there is an even number of observations, then there is no single middle value; the median is then usually defined to be the mean of the two middle values.[1][2]

In a sample of data, or a finite population, there may be no member of the sample whose value is identical to the median (in the case of an even sample size), and, if there is such a member, there may be more than one so that the median may not uniquely identify a sample member. Nonetheless, the value of the median is uniquely determined with the usual definition. A related concept, in which the outcome is forced to correspond to a member of the sample, is the medoid.

At most, half the population have values less than the median, and, at most, half have values greater than the median. If both groups contain less than half the population, then some of the population is exactly equal to the median. For example, if a < b < c, then the median of the list {a, b, c} is b, and, if a < b < c < d, then the median of the list {a, b, c, d} is the mean of b and c; i.e., it is (b + c)/2.

The median can be used as a measure of location when a distribution is skewed, when end-values are not known, or when one requires reduced importance to be attached to outliers, e.g., because they may be measurement errors.

Contents

Notation

The median of some variable x is denoted either as or as [1]

Measures of statistical dispersion

When the median is used as a location parameter in descriptive statistics, there are several choices for a measure of variability: the range, the interquartile range, the mean absolute deviation, and the median absolute deviation. Since the median is the same as the second quartile, its calculation is illustrated in the article on quartiles.

Medians of probability distributions

For any probability distribution on the real line with cumulative distribution function F, regardless of whether it is any kind of continuous probability distribution, in particular an absolutely continuous distribution (and therefore has a probability density function), or a discrete probability distribution, a median m satisfies the inequalities

or

in which a Lebesgue–Stieltjes integral is used. For an absolutely continuous probability distribution with probability density function ƒ, we have

Medians of particular distributions

The medians of certain types of distributions can be easily calculated from their parameters:

Medians in descriptive statistics

Comparison of mean, median and mode of two log-normal distributions with different skewness.

The median is used primarily for skewed distributions, which it summarizes differently than the arithmetic mean. Consider the multiset { 1, 2, 2, 2, 3, 14 }. The median is 2 in this case, as is the mode, and it might be seen as a better indication of central tendency than the arithmetic mean of 4.

Calculation of medians is a popular technique in summary statistics and summarizing statistical data, since it is simple to understand and easy to calculate, while also giving a measure that is more robust in the presence of outlier values than is the mean.

Theoretical properties

An optimality property

A median is also a central point that minimizes the arithmetic mean of the absolute deviations. In the above example, the median value of 2 minimizes the arithmetic mean of the absolute deviations (1 + 0 + 0 + 0 + 1 + 12) / 6 = 2.33; in contrast, the mean value of 4 minimizes the arithmetic mean of the squares of the absolute deviations (9 + 4 + 4 + 4 + 1 + 100) / 6 = 20.33. In the language of statistics, a value of c that minimizes

is a median of the probability distribution of the random variable X.

However, a median c need not be uniquely defined. Where exactly one median exists, statisticians speak of "the median" correctly; even when no unique median exists, some statisticians speak of "the median" informally.

See also k-medians clustering.

Unimodal distributions

It can be shown for a unimodal distribution that the mean and the median lie within (3/5)1/2 times the standard deviation of each other.[3] In symbols

|median - mean| / ( standard deviation ) ≤ ( 3 / 5 )1/2

where || is the absolute value.

A similar relation holds between the mode and the median. In this case the mode and the median lie within 31/2 of each other.

|mode - median | / ( standard deviation ) ≤ 31/2

An inequality relating means and medians

For continuous probability distributions, the difference between the median and the mean is never more than one standard deviation. See an inequality on location and scale parameters.

Variance

The distribution of the median with a density function f(x) is asymptotically normal with mean m and variance 1/{ ( 4n ) f(x)2 }.[4] where m is the median value of distribution. The efficiency of the median, measured as the ratio of the variance of the mean to the variance of the median, depends on the sample size. For a sample of size N = 2n + 1 the ratio is

4n / { π ( 2n + 1 ) }

For large samples this ratio tends of 2 / π.

The sample median

Efficient computation of the sample median

Even though sorting n items requires O(n log n) operations, selection algorithms can compute the kth-smallest of n items (e.g., the median) with only O(n) operations.[5]

Easy explanation of the sample median

For an odd number of values

As an example, we will calculate the sample median for the following set of observations: 1, 5, 2, 8, 7.

Start by sorting the values: 1, 2, 5, 7, 8.

In this case, the median is 5 since it is the middle observation in the ordered list.

The median is the ((n + 1)/2)th item, where n is the number of values. For example, for the list {1, 2, 5, 7, 8}, we have n = 5, so the median is the ((5 + 1)/2)th item.

median = (6/2)th item
median = 3rd item
median = 5

For an even number of values

As an example, we will calculate the sample median for the following set of observations: 1, 6, 2, 8, 7, 2.

Start by sorting the values: 1, 2, 2, 6, 7, 8.

In this case, the arithmetic mean of the two middlemost terms is (2 + 6)/2 = 4. Therefore, the median is 4 since it is the arithmetic mean of the middle observations in the ordered list.

We also use this formula MEDIAN = {(n+1)/2} th item . n= Number of values

As above example 1, 2, 2, 6, 7, 8 n=6 Median={(6+1)/2}th item =3.5 th item

3rd item is 2 Median = {2+(0.5*(difference of 3rd and 4th item)}
Median = {2+(0.5*(6-2)}
Median = {2+(0.5*4)}
Median = (2+2)
Median = 4

Other estimates of the median

If data are represented by a statistical model specifying a particular family of probability distributions, then estimates of the median can be obtained by fitting that family of probability distributions to the data and calculating the theoretical median of the fitted distribution. See, for example Pareto interpolation.

Median-unbiased estimators, and bias with respect to loss functions

Any mean-unbiased estimator minimizes the risk (expected loss) with respect to the squared-error loss function, as observed by Gauss. A median-unbiased estimator minimizes the risk with respect to the absolute-deviation loss function, as observed by Laplace. Other loss functions are used in statistical theory, particularly in robust statistics.

The theory of median-unbiased estimators was revived by George W. Brown in 1947:

An estimate of a one-dimensional parameter θ will be said to be median-unbiased, if, for fixed θ, the median of the distribution of the estimate is at the value θ; i.e., the estimate underestimates just as often as it overestimates. This requirement seems for most purposes to accomplish as much as the mean-unbiased requirement and has the additional property that it is invariant under one-to-one transformation. [page 584]

Further properties of median-unbiased estimators have been noted by Lehmann, Birnbaum, van der Vaart and Pfanzagl. In particular, median-unbiased estimators exist in cases where mean-unbiased and maximum-likelihood estimators do not exist. Besides being invariant under one-to-one transformations, median-unbiased estimators have surprising robustness.

In image processing

Main article: Median filter

In monochrome raster images there is a type of noise, known as the salt and pepper noise, when each pixel independently becomes black (with some small probability) or white (with some small probability), and is unchanged otherwise (with the probability close to 1). An image constructed of median values of neighborhoods (like 3×3 square) can effectively reduce noise in this case.

History

Gustav Fechner popularized the median into the formal analysis of data, although it had been used previously by Laplace.[6]

See also

Statistics portal

References

  1. ^ a b Weisstein, Eric W., "Statistical Median" from MathWorld.
  2. ^ http://www.stat.psu.edu/old_resources/ClassNotes/ljs_07/sld008.htm Simon, Laura J "Descriptive statistics" Statistical Education Resource Kit Penn State Department of Statistics
  3. ^ http://www.btinternet.com/~se16/hgb/cheb2.htm#3unimodalinequalities
  4. ^ Rider PR (1960) Variance of the median of small samples from several special populations. J Amer Stats Ass 55 (289) 148-150
  5. ^ "When I was working on the MEDIAN problem, my goal was to prove that any deterministic algorithm to find the MEDIAN of n integers must necessarily make roughly as many comparisons as it takes to sort n integers, i.e., n log n comparisons. I was shocked to discover that the median of n integers can be found with just O(n) comparisons." --Manuel Blum, "Advice to a Beginning Graduate Student"
  6. ^ Keynes, John Maynard; A Treatise on Probability (1921), Pt II Ch XVII §5 (p 201).

External links

This article incorporates material from Median of a distribution on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.

Statistics
Descriptive statistics
Continuous data
Location
Dispersion
Shape
Count data
Summary tables
Dependence
Statistical graphics
Data collection
Designing studies
Survey methodology
Controlled experiment
Uncontrolled studies
Statistical inference
Statistical theory
Bayesian inference
Frequentist inference
Specific tests
General estimation
Correlation and regression analysis
Correlation
Regression analysis
Linear regression
Non-standard predictors
Generalized linear model
Partition of variance
Categorical, multivariate, time-series, or survival analysis
Categorical data
Multivariate statistics
Time series analysis
General
Time domain
Frequency domain
Survival analysis
Applications
Biostatistics
Engineering statistics
Social statistics
Spatial statistics

Categories:

 

The above information uses material from Wikipedia and is licensed under the GNU Free Documentation License.
Some facts may not have been fully verified for accuracy. [Disclaimers]
This page was last archived by our server on Sat May 19 12:30:02 2012.
Displaying this page or its contents does not use any Wikimedia Foundation's resources.
The owners of this site proudly support the Wikimedia Foundation.



Noun

median (plural medians)
  1. (anatomy, now rare) A central vein or nerve, especially the median vein or median nerve running through the forearm and arm. [from 15th c.]
    • 1603, John Florio, translating Michel de Montaigne, Essays, II.3:
      Why is not our jugular or throat-veine as much at our command as the mediane [transl. mediane]?
    • 1621, Robert Burton, The Anatomy of Melancholy, II.5.2:
      The Greeks prescribe the median or middle vein to be opened, and so much blood to be taken away as the patient may well spare, and the cut that is made must be wide enough.
  2. (statistics) The quantity or value at the midpoint of a set of values, such that the variable is equally likely to fall above or below it; the middle value of a discrete series arranged in magnitude (or the mean of the middle two terms when there is an even number of terms). [from 19th c.]
  3. (US) The median strip; the area separating two lanes of opposite-direction traffic. [from 20th c.]
Synonyms
from: Wiktionary: median,
Wed May 30 09:30:23 2012

Matching Results for Median:

Dilbert
But the shocking discovery was that 50% were below the median age. ... Boss: What percent are exactly the median age? Dogbert: I'm proposing to study that ...

Karl Rove
On February 8, 2005, Rove was appointed deputy chief of staff in charge of ... in the median income, to distract us from corporate scandals and a stock market ...

Barack Obama
Barack Hussein Obama II (born August 4, 1961) is the 44th President of the ... in the median income, to distract us from corporate scandals and a stock market ...


from: Wikiquote: median,
Wed Mar 30 11:10:16 2011