Tool to calculate the variance of a list of values. Variance is a statistical value that measures the dispersion characteristic of a distribution or sample.

Statistical Variance - dCode

Tag(s) : Statistics

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!

A suggestion ? a feedback ? a bug ? an idea ? *Write to dCode*!

**Variance** is a measure of the dispersion of a list of values around its mean value. This value, denoted $ V $ or $ \mathbb{V} $ or $ \mathrm{Var} $ or $ \sigma^2 $ or $ s^2 $ characterizes the way in which the data $ X $ (random variable) are dispersed by measuring the deviations between each value (of the variable) and the mean value (or expected value $ \mathbb{E} $).

$$ V(X) = \mathbb{E} \left[(X - \mathbb{E}[X])^{2}\right] $$

or

$$ V(X) = \mathbb{E} \left[X^{2}\right]-\mathbb{E}[X]^{2} $$

A list of numbers $ x_i $ of a discrete random variable $ X $ whose mean alue is $ m $ and with an unknown distribution, has for **variance** $ V $ according to the formula $$ V(X)= \frac{1}{n-1} \sum_{i=1}^{n}(x_{i}-m)^2 $$

__Example:__ The (unbiased) **variance** of the set of 3 numbers 1,2,9 with a mean value of 4 is $ V = \frac{1}{3-1} \left( (1-4)^2 + (2-4)^2 + (9-4)^2 \right) = 38/2 = 19 $

The value of the **variance** is the square of the standard deviation. Knowing the value of the standard deviation $ \sigma $, $ V $ can be calculated with the relation: $$ V(X) = \sigma^{2}(X) $$

dCode retains ownership of the online 'Statistical Variance' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Statistical Variance' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Statistical Variance' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Statistical Variance' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Please, check our dCode Discord community for help requests!

NB: for encrypted messages, test our automatic cipher identifier!

variance,list,value,dispersion,distribution,mean,standard,deviation

Source : https://www.dcode.fr/statistical-variance

© 2021 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.

Feedback

▲
Thanks to your feedback and relevant comments, dCode has developed the best 'Statistical Variance' tool, so feel free to write! Thank you!