Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Median
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Optimality property=== The ''[[mean absolute error]]'' of a real variable ''c'' with respect to the [[random variable]] ''X'' is <math display="block">\operatorname{E}\left[\left|X-c\right|\right]</math> Provided that the probability distribution of ''X'' is such that the above expectation exists, then ''m'' is a median of ''X'' if and only if ''m'' is a minimizer of the mean absolute error with respect to ''X''.<ref>{{cite book |last=Stroock |first=Daniel |title=Probability Theory |url=https://archive.org/details/probabilitytheor00stro |url-access=limited |year=2011 |publisher=Cambridge University Press |isbn=978-0-521-13250-3 |pages=[https://archive.org/details/probabilitytheor00stro/page/n66 43] }}</ref> In particular, if ''m'' is a sample median, then it minimizes the arithmetic mean of the absolute deviations.<ref>{{cite book | last = DeGroot | first = Morris H. | mr = 0356303 | page = 232 | publisher = McGraw-Hill Book Co., New York-London-Sydney | title = Optimal Statistical Decisions | url = https://books.google.com/books?id=7rDY2_r4bmEC&pg=PA232 | year = 1970 | isbn = 9780471680291 }}</ref> Note, however, that in cases where the sample contains an even number of elements, this minimizer is not unique. More generally, a median is defined as a minimum of <math display="block">\operatorname{E}\left[\left|X - c\right| - \left|X\right|\right],</math> as discussed below in the section on [[multivariate median]]s (specifically, the [[spatial median]]). This optimization-based definition of the median is useful in statistical data-analysis, for example, in [[k-medians clustering|''k''-medians clustering]].
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Median
(section)
Add topic