Analog attribute runtime behavior: statistics
- Last UpdatedJul 19, 2024
- 1 minute read
When the Analog Field Attribute is set to NaN, all calculated statistic attributes quality is set to "UNCERTAIN" and the calculations continue based on the last value of GOOD quality.
Note: Enabling Analog statistics increases system resources utilization due to the checkpointing of all calculated statistical values. Since a majority of these calculations are updated on every execution cycle of the engine, they are checkpointed on every execution cycle.
For calculating average, the following equation is used:
-
Average = sum of SampleSize in the collection divided by the total number of SampleSize in the collection.
For calculating standard deviation, the following equation is used:
-
StardardDeviation = sqrt(([sum](pow((value-Mean), 2)) / (numberOfSamples-1))