Variance

Computes the variance of a sample X={x1,...,xn},

Var(X)=1n-1i=1nxi-x¯2

where x¯ is the mean of X.

Syntax

variance(Statistics_data)

Description

Given a statistics data, returns its variance.

statistics.variance.calc.png