Statistics_OfArray


Computes basic statistical information out of an array of real numbers. The array must be not empty.

Syntax

C++
C#
Python
 
def Statistics_OfArray(
	inValues: list[float],
	/,
	*,
	inOutlierCount: int = 0,
	inUseSampleFormula: bool = False
)
-> (
	outMean: float,
	outMedian: float,
	outStandardDeviation: float,
	outMinimum: float,
	outMaximum: float,
	outSpread: float,
	outLinearTrend: float
)

Parameters

Name Type Range Default Description
Input value inValues list[float] Values used to compute statistical informations
Input value inOutlierCount int 0 - + 0 Defines how many outliers should be removed from the input values
Input value inUseSampleFormula bool False Defines, whether to use population, or sample formulas.
Output value outMean float Mean of the input values
Output value outMedian float Median of the input values
Output value outStandardDeviation float Standard deviation of the input values, treated as population
Output value outMinimum float Minimum of the input values
Output value outMaximum float Maximum of the input values
Output value outSpread float Difference between maximum and minimum of the input values
Output value outLinearTrend float First parameter of the linear regression function (multiplier)