SampleVariance Command
- SampleVariance( <List of Raw Data> )
-
Returns the sample variance of the given list of numbers.
SampleVariance({1, 2, 3, 4, 5})
yields a = 2.5.
- SampleVariance( <List of Numbers>, <List of Frequencies> )
-
Returns the sample variance of the given list of numbers with the specified frequencies.
SampleVariance({1, 2, 3, 4, 5}, {3, 2, 4, 4, 1})
yields a = 1.67.
If the list in the CAS View contains undefined variables, this command yields a formula for the sample variance. |
SampleVariance({a, b, c})
yields \(\frac{1}{3} a^{2} - \frac{1}{3} ab - \frac{1}{3}ac + \frac{1}{3}
b^{2} - \frac{1}{3} bc + \frac{1}{3} c^{2}\).