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

AVL.Statistics_OfLoop

Computes basic statistical information out of real numbers appearing in consecutive iterations.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void Statistics_OfLoop
(
	ref AvlNet.Statistics_OfLoopState ioState,
	float inValue,
	int inBufferSize,
	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
ioStateAvlNet.Statistics_OfLoopStateStores information from previous iterations.
inValuefloatValue used to compute statistical informations.
inBufferSizeint<1, +INF>10Defines how many numbers are taken into account. Default value: 10.
inOutlierCountint<0, +INF>0Defines how many outliers should be removed from the input values. Default value: 0.
inUseSampleFormulaboolDefines, whether to use population, or sample formulas.
outMeanfloatMean of the input values
outMedianfloatMedian of the input values
outStandardDeviationfloatStandard deviation of the input values
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)

See also