You are here: Start » AVL.NET » Function Reference » Data Classification » Regression Analysis » 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
(
	IList<float> inValues,
	int inOutlierCount,
	bool inUseSampleFormula,
	NullableValue<float> outMean,
	NullableValue<float> outMedian,
	NullableValue<float> outStandardDeviation,
	NullableValue<float> outMinimum,
	NullableValue<float> outMaximum,
	NullableValue<float> outSpread,
	NullableValue<float> outLinearTrend
)

Parameters

Name Type Range Default Description
inValuesSystem.Collections.Generic.IList<float>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.
outMeanAvlNet.NullableValue<float>Mean of the input values. Can be null to skip this parameter calculation.
outMedianAvlNet.NullableValue<float>Median of the input values. Can be null to skip this parameter calculation.
outStandardDeviationAvlNet.NullableValue<float>Standard deviation of the input values, treated as population. Can be null to skip this parameter calculation.
outMinimumAvlNet.NullableValue<float>Minimum of the input values. Can be null to skip this parameter calculation.
outMaximumAvlNet.NullableValue<float>Maximum of the input values. Can be null to skip this parameter calculation.
outSpreadAvlNet.NullableValue<float>Difference between maximum and minimum of the input values. Can be null to skip this parameter calculation.
outLinearTrendAvlNet.NullableValue<float>First parameter of the linear regression function (multiplier). Can be null to skip this parameter calculation.

Errors

List of possible exceptions:

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

Function Overrides

See also