Statistics with Units
The Wolfram System supports a large number of descriptive statistics operations on datasets composed of Quantity expressions, including location, covariance, correlation, and shape statistics functions. A general description of these functions can be found in "Descriptive Statistics".
For univariate datasets, statistics functions require that all elements within the dataset contain compatible units. If the units are not compatible, an error message describing the conflict is returned.
Here is a matrix composed of Quantity expressions:
Moment will have UnitDimensions of the Product of input data columns, based on the moment specifications:
Multivariate Data
For multivariate datasets, statistics functions require that all elements within each column of the dataset contain compatible units. If the units are not compatible, an error message describing the conflict is returned.
Moment will have UnitDimensions of the Product of input data columns, based on the moment specifications: