Σ
SDCalc
PrincipianteFondamenti·10 min

Comprendere la varianza: il fondamento della DS

Padroneggia il concetto di varianza e la sua relazione con la deviazione standard. Scopri formule, calcoli e applicazioni pratiche della varianza nella statistica.

Che cos’è la varianza?

La varianza misura quanto un insieme di numeri è disperso rispetto al valore medio. È la media degli scarti al quadrato dalla media ed è il fondamento su cui si costruisce la deviazione standard.

Ogni barra mostra lo scarto al quadrato dalla media. La varianza è la media di queste barre.

Formula della varianza

Varianza della popolazione

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

Varianza campionaria

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

Calcolare la media

Sommare tutti i valori e dividere per il loro numero.
2

Trovare ogni scarto

Sottrarre la media da ciascun dato.
3

Elevare al quadrato ogni scarto

Ciò elimina i valori negativi e amplifica le deviazioni più grandi.
4

Calcolare la media degli scarti al quadrato

Dividere per N (popolazione) o per n-1 (campione).

Perché si eleva al quadrato?

Tre ragioni fondamentali

1. Eliminare i negativi: Senza elevare al quadrato, gli scarti positivi e negativi si annullerebbero, rendendo la somma pari a zero. 2. Penalizzare i valori anomali: L’elevamento al quadrato dà più peso ai valori lontani dalla media. 3. Proprietà matematiche: La varianza possiede utili proprietà algebriche per l’inferenza statistica.

Esempio: perché non usare i valori assoluti?

Dataset: 2, 4, 4, 4, 5, 5, 7, 9 (Media = 5) Deviazione media assoluta: |2-5| + |4-5| + ... = 14 DMA = 14/8 = 1,75 Varianza (al quadrato): (2-5)² + (4-5)² + ... = 32 Var = 32/8 = 4

Varianza vs deviazione standard

La relazione

Deviazione standard = √Varianza → σ = √σ²

Varianza (σ²)

- Le unità sono al quadrato (es. cm², €²) - Più difficile da interpretare direttamente - Utile per le operazioni matematiche - Additiva per variabili indipendenti

Deviazione standard (σ)

- Stesse unità dei dati originali - Più facile da interpretare - Migliore per la comunicazione - Usata nei punteggi Z e negli intervalli di confidenza

Applicazioni della varianza

Sebbene la deviazione standard sia riportata più frequentemente, la varianza ha usi specifici:

  • ANOVA:L’analisi della varianza confronta le medie tra diversi gruppi
  • Teoria del portafoglio:Le varianze dei rendimenti sono utilizzate nell’ottimizzazione
  • Regressione:R² è la varianza spiegata divisa per la varianza totale
  • PCA:L’analisi delle componenti principali massimizza la varianza spiegata

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.