Variance• Variance[data] calculates the unbiased estimate of variance. • The variance of data is calculated by . • If data is a matrix, use Flatten to convert it to a list. • Example: Variance[Flatten[{{1.8, 9.6}, {2.9, 7.4}}]] . • See also: MovingAverage, StandardDeviation.
Examples Using InstantCalculatorsHere is the InstantCalculator for the Variance function. Enter the parameters for your calculation and click Calculate to see the result.
Out[1]= |  |
Entering Commands DirectlyYou can paste a template for this command via the Text Input button on the Variance Function Controller. This defines a list called data.
Out[2]= |  |
This gives the mean of data.
Out[3]= |  |
Clear the variable definition.
|