CCalclabhub

Statistics

Variance around the expected value

How far the outcomes scatter around the average, weighted by probability.

Last updated

The Formula

Var = p1 x (x1 - E)^2 + ... + pn x (xn - E)^2

How far the outcomes scatter around the average, weighted by probability.

SymbolMeaning
VarVariance
EExpected value
xiOutcome

What Each Symbol Means

Varoutcome squared

Variance

The probability weighted average squared distance.

Esame as outcome

Expected value

The centre being measured around.

xisame as outcome

Outcome

Each possible result.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate expected value page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate Expected Value, filed under Math. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Variance around the expected value?

The formula for Variance around the expected value is Var = p1 x (x1 - E)^2 + ... + pn x (xn - E)^2. How far the outcomes scatter around the average, weighted by probability.

What units should I use with Variance around the expected value?

Substitute Var in outcome squared, E in same as outcome, xi in same as outcome. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Variance around the expected value?

Entering percentages as whole numbers. 25 percent is 0.25 in the formula. Multiplying by 25 instead inflates the expected value a hundred fold, from 43 to 4300.