Statistics_OfLoop
Computes basic statistical information out of real numbers appearing in consecutive iterations.
Syntax
C++
C#
Python
def Statistics_OfLoop( state: Statistics_OfLoopState, inValue: float, /, *, inBufferSize: int = 10, 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 | |
|---|---|---|---|---|---|
![]() |
ioState | Statistics_OfLoopState | Stores information from previous iterations | ||
![]() |
inValue | float | Value used to compute statistical informations | ||
![]() |
inBufferSize | int | 1 - +![]() |
10 | Defines how many numbers are taken into account |
![]() |
inOutlierCount | int | 0 - +![]() |
0 | Defines how many outliers should be removed from the input values |
![]() |
inUseSampleFormula | bool | False | Defines, whether to use population, or sample formulas. | |
![]() |
outMean | float | Mean of the input values | ||
![]() |
outMedian | float | Median of the input values | ||
![]() |
outStandardDeviation | float | Standard deviation of the input values | ||
![]() |
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) |




