You are here: Start » AVL.NET » AVL.Statistics_OfArray
Computes basic statistical information out of an array of real numbers. The array must be not empty.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void Statistics_OfArray ( float[] inValues, int inOutlierCount, bool inUseSampleFormula, out float outMean, out float outMedian, out float outStandardDeviation, out float outMinimum, out float outMaximum, out float outSpread, out float outLinearTrend )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inValues | float[] | Values used to compute statistical informations. | ||
![]() | inOutlierCount | int | <0, +INF> | 0 | Defines how many outliers should be removed from the input values. Default value: 0. |
![]() | inUseSampleFormula | bool | False | Defines, whether to use population, or sample formulas. Default value: False. | |
![]() | outMean | float | Mean of the input values | ||
![]() | outMedian | float | Median of the input values | ||
![]() | outStandardDeviation | float | Standard deviation of the input values, treated as population | ||
![]() | outMinimum | float | Minimum of the input values | ||
![]() | outMaximum | float | Maximum of the input values | ||
![]() | outSpread | float | Difference between maximum and minimum of the input values | ||
![]() | outLinearTrend | float | First parameter of the linear regression function (multiplier) |
Errors
Error type | Description |
---|---|
DomainError | No data available on input in Statistics_OfArray. |