> For the complete documentation index, see [llms.txt](https://ai.nuhil.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai.nuhil.net/statistics/variance.md).

# Variance

{% hint style="success" %}
The average of the squared differences from the Mean.&#x20;
{% endhint %}

It shows numerically how far the data points are from the mean. Neither the mean nor the median can describe this. \
\
**Variance,** $$\sigma^{2}=\frac{1}{n}\sum\_{i=1}^n(x\_{i}-\mu)^2$$
