Σ
SDCalc
PoczątkującyPodstawy·10 min

Wariancja — fundament odchylenia standardowego

Opanuj pojęcie wariancji i jej związek z odchyleniem standardowym. Poznaj wzory, obliczenia i praktyczne zastosowania wariancji w statystyce.

Czym jest wariancja?

Wariancja mierzy, jak bardzo zbiór liczb jest rozproszony względem ich wartości średniej. Jest to średnia kwadratów odchyleń od średniej — i stanowi fundament, na którym opiera się odchylenie standardowe.

Każdy słupek pokazuje kwadrat odchylenia od średniej. Wariancja = średnia z tych słupków.

Wzór na wariancję

Wariancja populacji

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

Wariancja próbki

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

Oblicz średnią

Dodaj wszystkie wartości i podziel przez ich liczbę.
2

Znajdź każde odchylenie

Odejmij średnią od każdego punktu danych.
3

Podnieś każde odchylenie do kwadratu

Eliminuje to wartości ujemne i podkreśla duże odchylenia.
4

Uśrednij kwadraty odchyleń

Podziel przez N (populacja) lub n-1 (próbka).

Dlaczego podnosimy odchylenia do kwadratu?

Trzy kluczowe powody

1. Eliminacja wartości ujemnych: Bez podnoszenia do kwadratu odchylenia dodatnie i ujemne znosiłyby się wzajemnie, dając sumę zero. 2. Karanie wartości odstających: Podniesienie do kwadratu nadaje większą wagę wartościom odległym od średniej. 3. Własności matematyczne: Wariancja posiada użyteczne własności algebraiczne w inferencji statystycznej.

Przykład: Dlaczego nie używamy wartości bezwzględnych?

Zbiór danych: 2, 4, 4, 4, 5, 5, 7, 9 (Średnia = 5) Średnie odchylenie bezwzględne: |2-5| + |4-5| + ... = 14 MAD = 14/8 = 1,75 Wariancja (kwadraty): (2-5)² + (4-5)² + ... = 32 Var = 32/8 = 4

Wariancja a odchylenie standardowe

Zależność

Standard Deviation = √Variance → σ = √σ²

Wariancja (σ²)

- Jednostki są podniesione do kwadratu (np. cm², zł²) - Trudniejsza w bezpośredniej interpretacji - Przydatna w operacjach matematycznych - Addytywna dla zmiennych niezależnych

Odchylenie standardowe (σ)

- Te same jednostki co dane oryginalne - Łatwiejsze w interpretacji - Lepsze do komunikowania wyników - Stosowane w Z-score i przedziałach ufności

Zastosowania wariancji

Choć odchylenie standardowe jest częściej raportowane, wariancja ma specyficzne zastosowania:

  • ANOVA:Analiza wariancji porównuje średnie między grupami
  • Teoria portfela:Wariancje stóp zwrotu są używane w optymalizacji
  • Regresja:R² to wariancja wyjaśniona podzielona przez wariancję całkowitą
  • PCA:Analiza głównych składowych maksymalizuje wyjaśnioną wariancję

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.