stats[describe]
variance
Variance of a Statistical list
Calling Sequence
Parameters
Description
Examples
stats[describe, variance](data)
stats[describe, variance[Nconstraints]](data)
describe[variance](data)
describe[variance[Nconstraints]](data)
data
-
statistical list
Nconstraint
(optional, default=0) Number of constraints, 1 for sample, 0 for full population
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The variance command (variance) of the stats[describe, ...] subpackage computes the variance of the given data.
The variance is defined to be the square of the standard deviation.
Classes are assumed to be represented by the class mark, for example 10..12 has the value 11. Missing data are ignored.
The definition of standard deviation varies according to whether it is computed for the whole population, or only for a sample. The parameter Nconstraint provides for this. For more information on the subject, refer to describe[standarddeviation].
The command with(stats[describe],variance) allows the use of the abbreviated form of this command.
with⁡stats:
data1≔1,3,5
data2≔2,3,5
the first list of data is more dispersed that the second one. Accordingly, its variance is larger
describevariance⁡data1,describevariance⁡data2:evalf⁡
2.,3.,5.
If these were random samples in a larger population, one would use
describevariance1⁡data1,describevariance1⁡data2:evalf⁡
See Also
describe(deprecated)[coefficientofvariation]
describe(deprecated)[mean]
describe(deprecated)[standarddeviation]
Statistics
Statistics[Variance]
transform(deprecated)[classmark]
Download Help Document