Variance Calculator
חישוב מדגם או אוכלוסייה שונה של סט נתונים.
תוצאות עדכון כפי שאתה להקליד.
אודות המחשבון הזה
Variance is the average of the squared deviations from the mean and is the square of the standard deviation. This calculator gives the sample variance (sum of squared deviations divided by n − 1) or the population variance (divided by n), along with the standard deviation, mean, range and sum of squared deviations. Variance is expressed in squared units, which is why the standard deviation — its square root — is usually easier to interpret.
To find it, take the mean, subtract it from every value, square each of those deviations, add them together and divide by n − 1 for a sample or by n for a whole population. Squaring is what makes variance always non-negative and gives extra weight to values that lie far from the mean.
Worked example: for 12, 15, 17, 20, 22, 25 the mean is 18.5. The squared deviations sum to about 118.5, so the sample variance is 118.5 ÷ 5 = 23.7 and the population variance is 118.5 ÷ 6 = 19.75. Variance is the workhorse behind ANOVA, portfolio risk, quality control and many other techniques; the deviation table below lists each value’s distance from the mean and its square.
שאלות לעתים קרובות
כיצד ההבדל קשור לסטייה הסטנדרטית?
סטיית התקן היא השורש הריבועי של השונות. וריאאנס נמצא ביחידות בריבוע (למשל, דולרים בריבוע), בעוד סטיית התקן חוזרת ליחידות המקוריות, כך ששניים תמיד מתארים את אותה התפשטות.
When do I use n versus n − 1?
Divide by n − 1 when your data is a sample used to estimate a larger population; divide by n when your data represents the whole population you care about.
מדוע השונות היא ביחידות בריבוע?
Because each deviation is squared before averaging, the result carries the square of the original unit — squared dollars, squared centimetres and so on. That makes variance awkward to interpret directly, which is why its square root, the standard deviation, is reported alongside it.
האם השונות יכולה להיות שלילית?
לא, זה ממוצע של מספרים בריבועים, אז זה תמיד אפס או חיובי.
מה ההבדל בין סטיית משתנה לסטייה סטנדרטית?
הם מתארים את אותו הפצה אך על קשקשים שונים: השונות היא סטיית הממוצע בריבוע, וסטיית התקן היא השורש הריבועי שלה, בחזרה ליחידות המקוריות. אם השונות היא 25, סטיית התקן היא 5.
כיצד ניתן להשתמש בשונות בניתוח אמיתי?
וריאציה מסכנת את המימון, את כוח האותות בהנדסה ואת מבחן F בANOVA, שם השונות בין הקבוצות בהשוואה לשינוי שבתוכם כדי להחליט אם קבוצה באמת שונה.
API — use this calculator from code
Call this calculator as a free JSON endpoint — no key required. Send the field values below as query parameters or JSON. כל מה שאתה משמיט משתמש באותה ברירת מחדל הדף הזה מלא מראש; פרמטר לא ידוע הוא 400, אף פעם לא אפס שקט. קרא את כל מסמכי API →
נקודת סיום
GET https://calculator.free/api/v1/variance/
curl
curl "https://calculator.free/api/v1/variance/?numbers=12, 15, 17, 20, 22, 25&type=sample"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/variance/?" + new URLSearchParams({
"numbers": "12, 15, 17, 20, 22, 25",
"type": "sample"
}));
const data = await r.json();
console.log(data.results);
התוצאות הן הערכות להדרכה כללית בלבד, לא ייעוץ כספי, רפואי או מס.