Mean, Median, Mode Calculator
Ona kuti ndeipi nzira yekuti uwane pakati, pakati pepakati, uye pakati pezviuru zvemazana.
Zvinyorwa zvinogadziridzwa paunenge uchinyora.
Nezve iyi kalkulator
The mean, median and mode calculator returns the three measures of central tendency for a data set — the mean (arithmetic average), the median (middle value) and the mode (most frequent value) — plus the count, sum, range and the full five-number summary (minimum, first quartile, median, third quartile and maximum). Enter your numbers separated by commas or spaces.
The mean is the sum of all the values divided by how many there are. The median is found by sorting the data and taking the middle value, or the average of the two middle values when the count is even. The mode is whichever value appears most often; when every value is unique there is no mode, and when several values tie for the highest frequency the set is multimodal and all of them are shown.
Worked example: for 4, 8, 15, 16, 15, 23, 42 the sum is 123 across 7 values, so the mean is 123 ÷ 7 ≈ 17.57. Sorting gives 4, 8, 15, 15, 16, 23, 42, so the median (the fourth of seven values) is 15, and 15 is also the mode because it occurs twice while every other value occurs once. A frequency table and distribution chart break the data down value by value, which is useful for grades, survey scores, prices or any list where you need the typical value at a glance.
Zvimwe zvinobvunzwa zvakanyanya
Kana pasina modhi?
A data set ane hapana modhi apo chero kukosha kunoitika zvakajeka rimwe. Kana maviri kana kupfuura zvikamu zviviri zviwanikwa kugoverana yepamusoro frequency, zvikamu zviviri zviwanikwa kana multimodal uye mumwe ose zvikamu izvi zviwanikwa ndiro modhi.
Ndinofanira kuzivisa pakati pepakati kana pakati pepakati?
Usashandisa median ye data rakasviba kana apo outliers aripo, nekuti haasi kusvibiswa kune mavara epamusoro. The mean is best for roughly symmetric data with no strong outliers.
Chii chinonzi chiyero chekuenzanisa pakati pechiyero chemutauro nechiyero chemutauro?
The mean inowedzera chero hunhu uye inoparadza nehuwandu, saka chero nhamba inotora pazviyo uye imwe chete hunhu hwakanyanya kunogona kuchinja zvakanyanya. Median inzvimbo yepakati chete mushure mekunge data rakashongedzwa, saka inotsiva kuti ndezvipi zvakaomarara. Mu symmetric data, maviri aya anenge achienzana; mu skewed data, maviri aya anosiyana.
Sei median inowanikwa kana paine nhamba yakafanana yezviyero?
Nekuteverawo kuongorora hapana imwe chete pakati pezviuru, saka median ndeyemutengo wepakati pezviuru zviviri zvepakati. 2, 4, 6, 8 zviuru zviviri zvepakati ndezve 4 ne6, izvo zvinopa median ye5.
Inogona data set kuva nemorekuru kupfuura imwe mode?
Kana maviri kana kupfuura mashoko kutambanudza kwepamusoro frequency seti iri bimodal kana multimodal, uye izvi zvinoreva, median uye mode kalkulator anonyora zvose mashoko ayo anosvika kuti yepamusoro frequency kupfuura picking chete mumwe.
Chii chinonzi Range?
The range is the difference between the largest and smallest values, a quick but crude measure of spread. For 4, 8, 15, 16, 15, 23, 42 it is 42 − 4 = 38. Because it uses only the two extremes it is very sensitive to outliers.
Ndezvipi zviviri zvemazana zvinoratidzwa pasi pezvinyorwa zvemazano?
Kutanga uye kuchitatu kwakati kuti ndezve 25th uye 75th percentiles, saka pakati pegumi neshanu yedata rako rinogara pakati pavo. Pamwe ne minimum, median uye maximum vanoita 5-numer summary iyo inotaura nezvemufananidzo wekugoverwa.
API — kushandisa iyi kalkulator kubva code
Nhare iyi calculator semahara JSON endpoint - hapana chikuru zvinodiwa. Kutumira nzvimbo mavara pasi separameter query kana JSON. Chii zvachose chaunoisa kunze chinoshandisa default iyo peji iri rakasviba nayo; parameter isiri yechokwadi inonzi 400, uye haisi zero. Tora yakazara API docs →
Endpoint
GET https://calculator.free/api/v1/mean-median-mode/
curl
curl "https://calculator.free/api/v1/mean-median-mode/?numbers=4, 8, 15, 16, 15, 23, 42"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/mean-median-mode/?" + new URLSearchParams({
"numbers": "4, 8, 15, 16, 15, 23, 42"
}));
const data = await r.json();
console.log(data.results);
Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.