Kalkulačka priemernej absolútnej odchýlky
Vyhľadajte priemernú absolútnu odchýlku (MAD) množiny údajov.
Výsledky sa aktualizujú počas písania.
O tejto kalkulačke
mean absolute deviation (MAD) is the average distance between each value and the mean, using absolute values so distances never cancel out. It measures spread like the standard deviation but is simpler and less sensitive to outliers, because it does not square the deviations. This calculator reports the MAD together with the mean, range and the sum of absolute deviations it was measured from. This calculator reports the MAD together with the mean, range and the sum of absolute deviations it was measured from. This calculator is easy to explain to a non-technical audience and it is easy to trace every value’s distance so that you can find the result.The method is direct: find the mean, take the absolute value of each value’s distance from it, add those distances up and divide by the number of values. The MAD is 12 ÷ 5The method is simple: find the mean, take the absolute value of each value, divide by the number of values.Worked example: for 2, 4, 6, 8, 10The MAD is 6. The absolute deviations are 4, 2, 0, 2, 4, which sum to 12, so the MAD is 12 ÷ 5The MAD is 12 ÷ 5The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD is 6The MAD
Často kladené otázky
Ako sa MAD líši od smerodajnej odchýlky?
MAD priemeruje absolútne odchýlky, zatiaľ čo smerodajná odchýlka priemeruje kvadratické odchýlky a potom berie štvorcový koreň.Pretože MAD nekvadruje, dáva menšiu váhu odchýlkam a často sa ľahšie vysvetľuje, ale smerodajná odchýlka má pohodlnejšie matematické vlastnosti.
Ako si vypočítam MAD ručne?
Nájdite strednú hodnotu, odčítajte ju od každej hodnoty a vezmite absolútnu hodnotu každého výsledku, potom priemerujte tieto vzdialenosti.Pre 2, 4, 6, 8, 10 je stredná hodnota 6 a MAD je (4+2+0+2+4)/5 = 2.4.
Je priemerná absolútna odchýlka rovnaká ako priemerná odchýlka?
Áno, tieto dva pojmy sa zvyčajne vzťahujú na to isté: priemer absolútnych vzdialeností od stredu, najčastejšie stredná hodnota. Niektoré učebnice merajú vzdialenosti od stredu, čo minimalizuje celkovú vzdialenosť, ale táto kalkulačka používa strednú hodnotu.
Prečo funkcia MAD používa absolútne hodnoty?
Odchýlky nad strednou hodnotou sú kladné a tie pod strednou hodnotou sú záporné. Súčet odchýlok je vždy nulový, takže ich priemer je zbytočný. Absolútna hodnota odstráni znak, takže sa počíta každá vzdialenosť, čím sa získa skutočná miera rozptylu.
Kedy by som mal uprednostniť MAD pred smerodajnou odchýlkou?
Funkciu MAD vyberte, ak chcete ľahko vysvetľiteľnú mieru rozptylu, ktorá je robustná voči odchýlkam, alebo ak by kvadratúra nadvážila niekoľko extrémnych hodnôt. Smerodajná odchýlka je vhodnejšia, ak potrebujete matematické vlastnosti, ktoré sa do nej započítajú, ako napríklad normálne rozdelenie alebo testy založené na rozptyle.
Môže byť priemerná absolútna odchýlka nula?
Iba vtedy, keď sa každá hodnota rovná strednej hodnote, teda keď sú všetky čísla rovnaké a nie je žiadny rozdiel, inak je MAD vždy kladné číslo.
API — použite túto kalkulačku z kódu
Zavolajte túto kalkulačku ako voľný koncový bod JSON – nevyžaduje sa žiadny kľúč.Odoslať hodnoty polí nižšie ako parametre dotazu alebo JSON. Prečítajte si celú dokumentáciu API →
Koncový bod
GET https://calculator.free/api/v1/mean-absolute-deviation/
curl
curl "https://calculator.free/api/v1/mean-absolute-deviation/?numbers=2, 4, 6, 8, 10"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/mean-absolute-deviation/?" + new URLSearchParams({
"numbers": "2, 4, 6, 8, 10"
}));
const data = await r.json();
console.log(data.results);
Výsledky sú odhady len pre všeobecné usmernenie, nie finančné, lekárske alebo daňové poradenstvo.