Standart
Mykdar ýa-da populýasiýa standart üýtgänini, variansi we ortasyny hasap et.
Netijeler ýazýan wagtyň täzelener.
Bu hasapçy hakda
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.
Köp soralýan soraglar
Mysal we populýasiýa standart çeýnek arasy nädip tapawutlanýar?
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 comes from.
Näme üçin çeperçekler
Ikinjilik her bir üýtgetmäni oňly edip goýýar, şonuň üçin olar ýitirilmez, we uly üýtgetmeler has agyr agramly bolýar. Ikinjilik köki soňunda almak ölçegi maglumatlaryň aňsatlyk birlikleri bilen gaýtarýar.
Men standart öçümleri nädip el bilen hasap etmeli?
Find the mean, subtract it from each value to get the deviations, square each deviation and add them up, then divide by n − 1 for a sample or n for a population and take the square root of that result.
Saýlawlar
Bir universal "good" umumy baha ýok - bu doly siziň dataňyzyň ölçegi we kontekstine bagly. Bir standart çykyş diňe ortaçanyň ýanynda manyly; öý bahalary üçin kiçi bir ýaýrama test netijeleri üçin uly bolup biler. Çykyş koeffisiýenti ony deňeşdirmek üçin ortaçanyň göterimi hökmünde beýan edýär.
Standart öçüm süňňür ýa-da menjäli bolarmy?
Bu süňňür bolup biler, bu diňe her bir umumylyk deň bolsa we hiç bir umumylyk ýok bolsa bolup biler. Bu hiç wagt menfi bolup bilmez, sebäbi bu ortaça ikinjilik sanlaryň ikinjilik köki.
Näme üçin mysal hasaplamada azyndan iki baha gerek?
Mysal formula n - 1 bilen bölýär, şonuň üçin bir mysalyň bir bahasy süňňünden bölüner we belli edilmedik galýar. Mysalyň standart sapmagy diňe iki ýa-da has köp gözleg bar bolsa aňsat bolýar.
API — bu hasapçyny koddan ullan
Bu hasapçyny boş JSON ahtar noktasy hökmünde çagyr - açar gerek däl. Aşakdaky meýdança mykdarlaryny soragyň parametrleri ýa-da JSON hökmünde iber. Siziň goýmaýan hernäňiz şu sahypanyň öň bellenen öň bellenenini ulanýar; namydar parametr 400, hiç wagt sessiz sıfır däl. Eňlisçe senedleri oka →
Endpoint
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);
Netijeler diňe umumy ýardam üçin hasaplanypdyr, maliýe, saglyk ýa-da salgyt maslahaty üçin däl.