Median absolute deviation

In statistics, the median absolute deviation (MAD) is a robust measure of the variability of a univariate sample of quantitative data. It can also refer to the population parameter that is estimated by the MAD calculated from a sample.[1]

For a univariate data set X1X2, ..., Xn, the MAD is defined as the median of the absolute deviations from the data's median :

that is, starting with the residuals (deviations) from the data's median, the MAD is the median of their absolute values.

Example

Consider the data (1, 1, 2, 2, 4, 6, 9). It has a median value of 2. The absolute deviations about 2 are (1, 1, 0, 0, 2, 4, 7) which in turn have a median value of 1 (because the sorted absolute deviations are (0, 0, 1, 1, 2, 4, 7)). So the median absolute deviation for this data is 1.

Uses

The median absolute deviation is a measure of statistical dispersion. Moreover, the MAD is a robust statistic, being more resilient to outliers in a data set than the standard deviation. In the standard deviation, the distances from the mean are squared, so large deviations are weighted more heavily, and thus outliers can heavily influence it. In the MAD, the deviations of a small number of outliers are irrelevant.

Because the MAD is a more robust estimator of scale than the sample variance or standard deviation, it works better with distributions without a mean or variance, such as the Cauchy distribution.

Relation to standard deviation

The MAD may be used similarly to how one would use the deviation for the average. In order to use the MAD as a consistent estimator for the estimation of the standard deviation , one takes

where is a constant scale factor, which depends on the distribution.[2]

For normally distributed data is taken to be

i.e., the reciprocal of the quantile function (also known as the inverse of the cumulative distribution function) for the standard normal distribution .[3][4]

Derivation

The argument 3/4 is such that covers 50% (between 1/4 and 3/4) of the standard normal cumulative distribution function, i.e.

Therefore, we must have that

Noticing that

we have that , from which we obtain the scale factor .

Another way of establishing the relationship is noting that MAD equals the half-normal distribution median:

This form is used in, e.g., the probable error.

In the case of complex values (X+iY), the relation of MAD to the standard deviation is unchanged for normally distributed data.

Multivariate generalization

Analogously to how the median generalizes to the geometric median (GM) in multivariate data, MAD can be generalized to the median of distances to GM (MADGM) in n dimensions. This is done by replacing the absolute differences in one dimension by Euclidean distances of the data points to the geometric median in n dimensions.[5] This gives the identical result as the univariate MAD in one dimension and generalizes to any number of dimensions. MADGM needs the geometric median to be found, which is done by an iterative process.

The population MAD

The population MAD is defined analogously to the sample MAD, but is based on the complete distribution rather than on a sample. For a symmetric distribution with zero mean, the population MAD is the 75th percentile of the distribution.

Unlike the variance, which may be infinite or undefined, the population MAD is always a finite number. For example, the standard Cauchy distribution has undefined variance, but its MAD is 1.

The earliest known mention of the concept of the MAD occurred in 1816, in a paper by Carl Friedrich Gauss on the determination of the accuracy of numerical observations.[6][7]

See also

Notes

  1. ^ Dodge, Yadolah (2010). The concise encyclopedia of statistics. New York: Springer. ISBN 978-0-387-32833-1.
  2. ^ Rousseeuw, P. J.; Croux, C. (1993). "Alternatives to the median absolute deviation". Journal of the American Statistical Association. 88 (424): 1273–1283. doi:10.1080/01621459.1993.10476408. hdl:2027.42/142454.
  3. ^ Ruppert, D. (2010). Statistics and Data Analysis for Financial Engineering. Springer. p. 118. ISBN 9781441977878. Retrieved 2015-08-27.
  4. ^ Leys, C.; et al. (2013). "Detecting outliers: Do not use standard deviation around the mean, use absolute deviation around the median" (PDF). Journal of Experimental Social Psychology. 49 (4): 764–766. doi:10.1016/j.jesp.2013.03.013.
  5. ^ Spacek, Libor. "Rstats - Rust Implementation of Statistical Measures, Vector Algebra, Geometric Median, Data Analysis and Machine Learning". crates.io. Retrieved 26 July 2022.
  6. ^ Gauss, Carl Friedrich (1816). "Bestimmung der Genauigkeit der Beobachtungen". Zeitschrift für Astronomie und Verwandte Wissenschaften. 1: 187–197.
  7. ^ Walker, Helen (1931). Studies in the History of the Statistical Method. Baltimore, MD: Williams & Wilkins Co. pp. 24–25.

References

Read other articles:

Wifflebat en -bal Wifflebal is een op honkbal gebaseerde sport. Het is zowel binnen- als buitenshuis te spelen, zolang dat op geschikt terrein gebeurt. Het wordt gespeeld met een lichtgewicht knuppel (bat) en een speciale bal (de wifflebal). Wiffle is een geregistreerd handelsmerk van The Wiffle Ball, Inc., die wiffleballs en bats maakt. De fabriek ligt in Shelton, Connecticut. De wifflebal werd in 1953 uitgevonden door David N. Mullany uit Fairfield. Hij wilde voor zijn 12 jaar oude zoon een...

قرية بير الزقيمة  - قرية -  تقسيم إداري البلد  اليمن المحافظة محافظة صنعاء المديرية مديرية بني حشيش العزلة عزلة ذى مرمر السكان التعداد السكاني 2004 السكان 29   • الذكور 14   • الإناث 15   • عدد الأسر 3   • عدد المساكن 3 معلومات أخرى التوقيت توقيت اليمن (+3 غرين�...

Петро Степанович Сорока Народився 2 квітня 1891(1891-04-02)ЛьвівПомер 20 вересня 1950(1950-09-20) (59 років)Анжеро-Судженськ, Кемеровської області, РосіяНаціональність українецьГромадянство  Австро-УгорщинаДіяльність оперний співак, актор, театральний режисерДружина Коссакова...

Unicode ConsortiumPendiri Mark Davis Joe Becker Lee Collins Didirikan diCalifornia, Amerika SerikatTipeKonsorsium nirlabaLokasiMountain View, California, A.S.Tokoh pentingMark Davis (Presiden)Situs webunicode.org Unicode Consortium (Unicode Inc.) adalah organisasi nirlaba 501(c)(3) yang berpusat di Mountain View, California.[1] Tujuan utamanya adalah mengelola dan menerbitkan Standar Unicode yang dikembangkan untuk mengganti skema pengodean karakter saat ini yang ukuran dan lingkupnya...

Chinezen in Singapore Naam (taalvarianten) Vereenvoudigd 新加坡华人 Traditioneel 新加坡華人 Pinyin xīnjiāpō huárén Standaardkantonees San Kaa Póh Wàa Yàn HK-romanisatie (Standaardkantonees) San Ka Po Wa Yan Chinatown Heritage Centre in Singapore De Singaporese chinezen maakten in 2000 78% procent deel uit van de Singaporese samenleving. Tegenwoordig voelen de meeste Chinese-Singaporezen zich Singaporees in plaats van Chinees, ondanks het feit dat ze Chinese kranten en televi...

The Bohemian CavernsBohemian Caverns, 2008Address2001 11th Street, N.W.Washington, D.C. The Bohemian Caverns, founded in 1926,[1] was a restaurant and jazz nightclub located on the NE Corner of the intersection of 11th Street and U Street NW in Washington, D.C. The club started out as Club Caverns - a small establishment in the basement of a drugstore - famous for its floor and variety shows. The club was frequented by many of Washington's elite at the time who would come to see such ...

Marsha Sue IvinsLahir15 April 1951 (umur 72)Baltimore, Maryland, ASStatusPensiunKebangsaanAmerika-YahudiPekerjaanInsinyurKarier luar angkasaAntariksawati NASAMisiSTS-32, STS-46, STS-62, STS-81, STS-98Lambang misi Marsha Sue Ivins (lahir 15 April 1951) adalah seorang mantan antariksawati Amerika Serikat dan veteran lima misi pesawat ulang alik. Karier Ivins lahir pada 15 April 1951, di Baltimore, Maryland, lulus dari Nether Providence High School di Wallingford, Pennsylvania pada 1969, da...

Award honoring best new attraction Golden Ticket Award for Best New RideAwarded forBest new attraction in both Amusement and Water parksCountryUnited StatesPresented byAmusement TodayFirst awarded2005Currently held bySteel Vengeance (amusement park) Medusa's Slidewheel (water park)Websitegoldenticketawards.com The Golden Ticket Award for Best New Ride is presented by Amusement Today to the best new attraction in the water park industry. The award was presented for best new attraction in both ...

В Википедии есть статьи о других людях с такой фамилией, см. Шкорич. Миле Шкорич Общая информация Родился 19 июня 1991(1991-06-19)[1][2] (32 года)Винковцы, Вуковарско-Сремская жупания, Хорватия Гражданство  Хорватия Рост 187 см Позиция защитник Информация о клубе Клуб свобод...

Overview of education in Ghana The article's lead section may need to be rewritten. Please help improve the lead and read the lead layout guide. (November 2020) (Learn how and when to remove this template message) You can help expand this article with text translated from the corresponding article in French. (August 2023) Click [show] for important translation instructions. View a machine-translated version of the French article. Machine translation, like DeepL or Google Translate, is a ...

Indian actress Amrita PuriPuri in 2012Born (1983-08-20) 20 August 1983 (age 40)Mumbai, Maharashtra, IndiaOccupationActressYears active2010–presentSpouse Imrun Sethi ​(m. 2017)​ParentAditya Puri (father) Amrita Puri (born 20 August 1983) is an Indian actress who mainly works in Hindi films and web shows. She made her acting debut with the romantic comedy-drama Aisha (2010), which earned her the Stardust Award for Breakthrough Performance – Female and ...

Example of a fantasy map generated using Campaign Cartographer. Campaign Cartographer is a Windows map creation program created by ProFantasy Software originally in 1993. Description The program is designed to draw maps for role playing and miniature war games.[1] The CAD engine is based on FastCAD,[2] although most of the code is written by the publishers. It includes a variety of add-ons for different genres, including fantasy, modern and science fiction.[3] Campaign...

Berilium hidroksida Nama Nama IUPAC Berilium hidroksida Penanda Nomor CAS 13327-32-7 N Model 3D (JSmol) Gambar interaktif 3DMet {{{3DMet}}} ChEBI CHEBI:35102 Y ChemSpider 24727701 N Nomor EC Referensi Gmelin 1024 MeSH Berilium+hidroksida PubChem CID 25879 Nomor RTECS {{{value}}} CompTox Dashboard (EPA) DTXSID80893932 InChI InChI=1S/Be.2H2O/h;2*1H2/q+2;;/p-2 YKey: WPJWIROQQFWMMK-UHFFFAOYSA-L YInChI=1/Be.2H2O/h;2*1H2/q+2;;/p-2Key: WPJWIROQQFWMMK-NUQVWONBAB SMI...

16th-century Ottoman corsair and later admiral of the Ottoman navy Barbaros redirects here. For the Greek term barbaros, βαρβαρος, see Barbarian. For the TV series, see Barbaros (TV series). This article is about the Ottoman admiral. For the Turkish research vessel, see RV Barbaros Hayreddin Paşa. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sou...

German nurse This article is an orphan, as no other articles link to it. Please introduce links to this page from related articles; try the Find link tool for suggestions. (September 2018) Gertrud Seele Gertrud Seele (born in Berlin on 22 September 1917; died 12 January 1945) was a German nurse and social worker executed by the Nazis for helping Jews. [1]  Outraged by persecution of the Jews in Germany, Seele took Jewish people into hiding in her home and arranged safe houses for...

Unforgiven (2006) Poster promocional do evento apresentando John Cena Música(s)-tema Run por Day of Fire[1] Detalhes Promoção World Wrestling Entertainment Programa(s) Raw Data 17 de setembro de 2006 Cidade Toronto, Ontário Local Air Canada Centre Público 16.105[2] Cronologia dos pay-per-views ← AnteriorSummerSlam (2006) Próximo →No Mercy (2006) Cronologia do Unforgiven ← AnteriorUnforgiven (2005) Próximo →Unforgiven (2007) Unforgiven 2006 foi um evento de ...

Triết học khoa học là một nhánh của triết học quan tâm đến nền tảng, phương pháp và các hậu quả của khoa học. Các câu hỏi trung tâm của môn học này bao gồm cái gì được xem như khoa học, tính đáng tin cậy của các lý thuyết khoa học, và mục đích tối hậu của khoa học. Môn học này chồng lấn với siêu hình học, bản thể học và nhận thức luận, lấy ví dụ, khi chúng ta khảo sát mối...

18th-century Swiss painter Benjamin Samuel BolomeySelf-portrait c. 1780Born19 May 1739Lausanne, SwitzerlandDied19 December 1819(1819-12-19) (aged 80)Lausanne, SwitzerlandNationalitySwiss Benjamin Samuel Bolomey (19 May 1739 – 19 December 1819) was a Swiss painter and politician.[1] As an artist he spent most of his career as a portrait painter in the Netherlands.[2] Biography Bolomey was born in Lausanne on 19 May 1739, to François Louis Bolomey, an hotelier, and Perne...

Lambda Upsilon Lambda (ΛΥΛ) La Unidad Latina, Lambda Upsilon Lambda Fraternity, Inc (ΛΥΛ oswa LUL) se yon fratènite kolèj ki baze nan Latino. Li te fonde nan Inivèsite Cornell nan Ithaca, Nouyòk nan dat 19 fevriye 1982,[1] e li gen 74 chapit bakaloreya aktif[2] ak 15 ansyen elèv gradye chapit pwofesyonèl[3] nan inivèsite ak vil atravè peyi Etazini. La Unidad Latina, Lambda Upsilon Lambda Fraternity, Incorporated se sèl fratènite Latino ki gen konstitisy...

San Baltazar Yatzachi el Bajo Osnovni podaci Država  Meksiko Savezna država Oaxaca Stanovništvo Stanovništvo [1] Geografija Koordinate 17°13′46″N 96°13′14″W / 17.22958°N 96.22046°W / 17.22958; -96.22046 Vremenska zona UTC-6, leti UTC-5 Nadmorska visina 1621[1] m San Baltazar Yatzachi el BajoSan Baltazar Yatzachi el Bajo na karti Meksika San Baltazar Yatzachi el Bajo je opština u Meksiku, u saveznoj državi Oaxaca. Opština se nala...