MeanVari Function

Calculates the average and the variance


Description

The function \(MeanVari\) calculates the average value and the variance of the available data.

Result

The result is a list containing the average value and the variance in that order.

Syntax

MeanVari (List) = [average, variance]

Example

a=[4,6,9,7,9,2,4,6,3]

MeanVari(a)= 5.56 6.28