You are here: Start » AVL.NET » AVL.Statistics_OfArray

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
inValuesfloat[]Values used to compute statistical informations.
inOutlierCountint<0, +INF>0Defines how many outliers should be removed from the input values. Default value: 0.
inUseSampleFormulaboolFalseDefines, whether to use population, or sample formulas. Default value: False.
outMeanfloatMean of the input values
outMedianfloatMedian of the input values
outStandardDeviationfloatStandard deviation of the input values, treated as population
outMinimumfloatMinimum of the input values
outMaximumfloatMaximum of the input values
outSpreadfloatDifference between maximum and minimum of the input values
outLinearTrendfloatFirst parameter of the linear regression function (multiplier)

Errors

Error type Description
DomainError No data available on input in Statistics_OfArray.

See also