Statistics calculator

Variance Calculator

var command returns the variance of given values.

var 1 2 3

Result:

0.66666666666

The arguments should be separated by space or comma.

var 5, 6, 8

Result:

1.55555

What is variance?

The variance of 3, 4, 5, 6, 7 is calculated like that.

First, we should calculate the average of them. In this example, the average is 5.

Next, get the square of difference the element value and the average:

\[ (3-5)^2 = 4 \\ (4-5)^2 = 1 \\ (5-5)^2 = 0 \\ (6-5)^2 = 1 \\ (7-5)^2 = 4 \]

Finally, get the average of them and the result is the variance.

\[ \frac{ (4 + 1 + 0 + 1 + 4) }{ 2 } = 5 \]

5 is the variance of 3, 4, 5, 6, 7.

Statistics

Calculator