Σ
SDCalc
KezdőAlapok·10 min

A variancia megértése: a szórás alapja

Sajátítsd el a variancia fogalmát és kapcsolatát a szórással. Képletek, számítások és a variancia gyakorlati statisztikai alkalmazásai.

Mi a variancia?

A variancia azt méri, mennyire szóródnak szét a számok az átlagértéküktől. Az átlagtól való négyzetes eltérések átlaga – és ez az az alap, amelyre a szórás épül.

Minden oszlop az átlagtól való négyzetes eltérést mutatja. A variancia ezeknek az oszlopoknak az átlaga.

A variancia képlete

Populációs variancia

σ² = Σ(xᵢ - μ)² / N

Mintavariancia

s² = Σ(xᵢ - x̄)² / (n-1)
1

Számítsd ki az átlagot

Add össze az értékeket és oszd el a darabszámmal.
2

Határozd meg az eltéréseket

Vond ki az átlagot minden adatpontból.
3

Emeld négyzetre az eltéréseket

Ezzel megszünteted a negatív értékeket és kiemeled a nagy eltéréseket.
4

Átlagold a négyzetes eltéréseket

Oszd el N-nel (populáció) vagy n-1-gyel (minta).

Miért emeljük négyzetre az eltéréseket?

Három fő ok

1. Negatívok kiküszöbölése: Négyzetre emelés nélkül a pozitív és negatív eltérések kioltanák egymást, és az összeg nulla lenne. 2. Kiugró értékek büntetése: A négyzetre emelés nagyobb súlyt ad az átlagtól távol eső értékeknek. 3. Matematikai tulajdonságok: A varianciának hasznos algebrai tulajdonságai vannak a statisztikai következtetéshez.

Példa: Miért nem használunk egyszerűen abszolút értékeket?

Adatsor: 2, 4, 4, 4, 5, 5, 7, 9 (átlag = 5) Átlagos abszolút eltérés: |2-5| + |4-5| + ... = 14 MAD = 14/8 = 1,75 Variancia (négyzetes): (2-5)² + (4-5)² + ... = 32 Var = 32/8 = 4

Variancia vs. szórás

Az összefüggés

Standard Deviation = √Variance → σ = √σ²

Variancia (σ²)

- A mértékegységek négyzetesek (pl. cm², Ft²) - Nehezebben értelmezhető közvetlenül - Hasznos matematikai műveleteknél - Független változók esetén összeadható

Szórás (σ)

- Az eredeti adatokkal azonos mértékegységben - Könnyebben értelmezhető - Jobb a kommunikációhoz - Z-értékekhez és konfidenciaintervallumokhoz használatos

A variancia alkalmazásai

Bár a szórást gyakrabban közlik, a varianciának sajátos felhasználási területei vannak:

  • ANOVA:A varianciaanalízis csoportok átlagait hasonlítja össze
  • Portfólióelmélet:A hozamok varianciáit használják az optimalizálásban
  • Regresszió:Az R² a magyarázott variancia és a teljes variancia hányadosa
  • PCA:A főkomponens-analízis a magyarázott varianciát maximalizálja

Further Reading

How to Read This Article

A statistics tutorial is a practical interpretation guide, not just a formula dump. It refers to the assumptions, notation, and reporting language that analysts need when they explain a result to a teacher, manager, client, or reviewer. The article body covers the specific topic, while the sections below create a common interpretation frame that readers can reuse across related metrics.

Reading goalWhat to focus onCommon mistake
DefinitionWhat the metric is and what quantity it summarizesTreating the formula as self-explanatory
Formula choiceSample versus population assumptions and notationUsing n when n-1 is required or vice versa
InterpretationWhether the result indicates concentration, spread, or riskCalling a large value good or bad without context

Frequently Asked Questions

How should I interpret a high standard deviation?

A high standard deviation means the observations are spread farther from the mean on average. Whether that spread is acceptable depends on the context: wide dispersion might signal risk in finance, instability in manufacturing, or genuine natural variation in scientific data.

Why do some articles mention n while others mention n-1?

The denominator reflects the difference between population and sample formulas. Population variance and population standard deviation use N because the full dataset is known. Sample variance and sample standard deviation often use n-1 because Bessel’s correction reduces bias when estimating population spread from a sample.

What is a statistical interpretation guide?

A statistical interpretation guide is a page that moves beyond arithmetic and explains meaning. It tells you what a metric is, when the formula applies, and how to describe the result in plain English without overstating certainty.

Can I cite this article in a report?

You should cite the underlying authoritative reference for formal work whenever possible. This page is best used as an explanatory bridge that helps you understand the concept before quoting the original standard or handbook.

Why include direct citations on every article page?

Direct citations give readers a route to verify the definition, notation, and assumptions. That improves trust and reduces the chance that a simplified explanation is mistaken for the entire technical standard.

Authoritative References

These sources define the concepts referenced most often across our articles. Bessel's correction is a sample adjustment, variance is a squared measure of spread, and standard deviation is the square root of variance expressed in the same units as the data.