Errata exists for this version of the document.
The StandardDeviation Population Aggregate defined in Table 50 uses the formula:
Figure 5 – StandandDeviation for Population Formula
where X is each Good raw value in the interval, Avg(X) is the average of the Good raw values, and n is the number of Good raw values in the interval.
For every interval where n = 1, a value of 0 is returned.
If any non-Good values were ignored, the Aggregate quality is uncertain/subnormal.
All interval Aggregates return timestamp of the start of the interval. Unless otherwise indicated, qualities are Good, Calculated.
This calculation is for a full population where the calculation is done on the full set of data. Use StandardDeviationSample to calculate the standard deviation of a subset of the full population (5.4.3.37). An example would be when the underlying data is collected on an exception basis versus sampled from the data source.
Table 50 – StandardDeviationPopulation Aggregate summary
StandardDeviationPopulation Aggregate Characteristics |
||
Type |
Calculated |
|
Data Type |
Status Code |
|
Use Bounds |
None |
|
Timestamp |
StartTime |
|
|
||
Status Code Calculations |
||
Calculation Method |
Custom Always Good |
|
Partial |
Set Sometimes If an interval is not a complete interval |
|
Calculated |
Set Always |
|
Interpolated |
Not Set |
|
Raw |
Not Set |
|
Multi Value |
Not Set |
|
|
||
Status Code Common Special Cases |
||
Before Start of Data |
Bad_NoData |
|
After End of Data |
Bad_NoData |
|
No Start Bound |
No special handing required |
|
No End Bound |
No special handing required |
|
Bound Bad |
No special handing required |
|
Bound Uncertain |
No special handing required |