Standardni kalkulator odmikanja
Izračunaj standardno odstopanje vzorca ali populacije, razliko in srednjo vrednost.
Rezultati posodabljajo, ko tipkate.
O tem kalkulatorju
Standard deviation measures how spread out a data set is around its mean: a small value means the numbers cluster tightly near the average, a large one means they are widely scattered. This calculator computes both the sample standard deviation (dividing the sum of squared deviations by n − 1, Bessel’s correction) and the population standard deviation (dividing by n), and reports the variance, mean, range and the sum of squared deviations it used. Choose sample when your numbers are a subset drawn from a larger group, and population when they are the entire group.
The method has four steps: find the mean, subtract it from each value to get the deviations, square those deviations and add them up, then divide by n − 1 (sample) or n (population) and take the square root. The square root returns the answer to the same units as the original data, which is why standard deviation is usually preferred over variance for interpretation.
Worked example: for 2, 4, 4, 4, 5, 5, 7, 9 the mean is 5. The squared deviations sum to 32, so the population variance is 32 ÷ 8 = 4 and the population standard deviation is √4 = 2; the sample version divides 32 by 7, giving about 4.57 and a standard deviation of roughly 2.14. The deviation table below shows each value’s distance from the mean and its squared deviation so you can follow the calculation.
Pogosta vprašanja
Kakšna je razlika med vzorcem in populacijskim standardnim odstopanjem?
The population formula divides the summed squared deviations by n; the sample formula divides by n − 1. The n − 1 (Bessel’s correction) compensates for the fact that a sample tends to underestimate the true spread of the population it came from.
Zakaj bi se odklonili?
Squaring naredi vsak odklon pozitiven, tako da se ne poniči, in to teže večje odklone močno. Vzemanje kvadratnega koren na koncu vrne merilo v prvotne enote podatkov.
Kako izračunam standardni odklon ročno?
Najdi srednjo vrednost, odvzami jo od vsake vrednosti, da dobiš odstopanja, kvadratni vsak odklon in jih dodaš, nato pa jo razdeliš z n−1 za vzorec ali n za populacijo in vzameš kvadratni korenine tega rezultata.
Kaj je dober standardni odklon?
Ni univerzalne "dobre" vrednosti – je v celoti odvisna od obsega in konteksta vaših podatkov. Standardno odstopanje je samo pomembno poleg srednjega; enako razporeditev, ki je majhna za cene hiš, je lahko ogromna za ocene testov. Koeficient sprememb izraža kot odstotek srednjega deleža za primerjavo.
Ali je lahko standardni odklon nič ali negativen?
Lahko je ničla, kar se zgodi le, če je vsaka vrednost enaka in sploh ni razpršeno. Nikoli ni negativna, ker je kvadratni koren povprečne kvadratne številke.
Zakaj je za izračun vzorca potrebna vsaj dve vrednosti?
Vzorec formula deli z n−1, tako da bi ena vrednost delila z ničlo in je ostala nedefinirana. Vzorec standardni odklon ima smisel le, ko imate dve ali več opazovanj za primerjavo.
API – uporabi ta kalkulator iz kode
Poišči ta kalkulator kot brezplačni končni cilj JSON – ni potreben ključ. Pošljite spodnje vrednosti polja kot parametre za poizvedovanje ali JSON. Vse, kar opustite, uporablja enako privzeto. Ta stran je napolnjena z; neznani parameter je 400, nikoli ne tiho ničlo. Preberite celoten API docs →
Končna točka
GET https://calculator.free/api/v1/standard-deviation/
curl
curl "https://calculator.free/api/v1/standard-deviation/?numbers=9, 2, 5, 4, 12, 7, 8, 11, 9, 3, 7, 4, 12, 5, 4, 10, 9, 6, 9, 4&type=sample"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/standard-deviation/?" + new URLSearchParams({
"numbers": "9, 2, 5, 4, 12, 7, 8, 11, 9, 3, 7, 4, 12, 5, 4, 10, 9, 6, 9, 4",
"type": "sample"
}));
const data = await r.json();
console.log(data.results);
Rezultati so ocene za splošne smernice, ne pa za finančne, zdravniške ali davčne nasvete.