I-Calculator ye-Mean Absolute Deviation
Find the mean absolute deviation (MAD) of a data set.
Iinketho ze projekti
Malunga nale Calculator
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 ÷ 5 = 2.4 — on average each value sits 2.4 units from the mean.Worked example: for 2, 4, 6, 8, 10 the mean is 6. The absolute deviations are 4, 2, 0, 2, 4, which sum to 12, so the MAD is 12 ÷ 5 = 2.4The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example:The Worked example
Imibuzo ebuza rhoqo
I-MAD ihlukile njani kwi-standard deviation?
I MAD iphakathi kokungalingani okupheleleyo, ngelixa ukusingathwa okuqhelekileyo kuphakathi kokungalingani okuthe nkqo kwaye emva koko ithatha umngcambu othe nkqo. Kuba ayithe nkqo, i MAD inika ubunzima obuncinane kukungalingani okuthe nkqo kwaye ilula kakhulu ukuchaza, kodwa ukusingathwa okuqhelekileyo kunezinto eziluncedo kakhulu zemathematika.
Ndiyibala njani i-MAD ngesandla?
Find the mean, subtract it from each value and take the absolute value of every result, then average those distances. For 2, 4, 6, 8, 10 the mean is 6 and the MAD is (4+2+0+2+4)/5 = 2.4.
Ingaba ukuguquka okuphakathi okupheleleyo kufana nokuguquka okuphakathi?
Ewe, ezi zimbini zithetha into enye: umyinge womgama opheleleyo ukusuka kwincopho esembindini, ngokuqhelekileyo umyinge. Ezinye iincwadi zokufunda zilinganisela umgama ukusuka kumbindi endaweni yoko, eyenza umgama opheleleyo ube ncinane, kodwa le kalkulator isebenzisa umyinge.
Kutheni i-MAD isebenzisa amaxabiso apheleleyo?
Ukusuka kokuthe nkqo phezulu kwexesha eliphakathi kulungileyo kwaye okungaphantsi kubi, kwaye zisoloko zidibanisa ku zero, ngoko ke umyinge wabo oqhelekileyo awusebenzi. Ukuthatha ixabiso elipheleleyo lisusa uphawu ukuze umgama wonke ubalo, ukubonelela ngexabiso elilungileyo lokusasaza.
Ndifanele ndikhethe njani i-MAD ngaphezulu kokungalingani okuqhelekileyo?
Khetha i MAD xa ufuna uvavanyo lokusasaza olulula ukuchaza kwaye lunamandla amakhulu kumacala omabini, okanye xa ukujikelezisa kuthatha ngaphezulu- ubunzima bexabiso elincinci eligqithisileyo. Uguqulelo olusezantsi lukhethwa xa ufuna iimpawu zemathematika ezidlalwa kuzo, ezinjengonikezelo oluqhelekileyo okanye uvavanyo olusekelwe kwindlela yokuziphatha.
Ingaba i-mean absolute deviation ingaba yi-zero?
Xa kuphela ixabiso ngalinye lilingana nexesha eliphakathi - oko kukuthi, xa zonke amanani afana kwaye akukho kusasazeka. Kungenjalo i MAD iya kuba yinani elilungileyo.
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →
Incopho yesiphelo
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);
Results are estimates for general guidance only, not financial, medical or tax advice.