atoti.agg.std()#
- atoti.agg.std(operand: LevelOrVariableColumnConvertible, /, *, mode: Literal['sample', 'population'] = 'sample') MeasureDefinition#
- atoti.agg.std(operand: VariableMeasureConvertible, /, *, mode: Literal['sample', 'population'] = 'sample', scope: CumulativeScope | SiblingsScope | OriginScope) MeasureDefinition
Return a measure equal to the standard deviation of the passed operand across the specified scope.
- Parameters:
operand – The operand to get the standard deviation of.
mode –
One of the supported modes:
The
samplestandard deviation, similar to Excel’sSTDEV.S, is \(\sqrt{\frac{\sum_{i=1}^{n} (X_i - m)^{2}}{n - 1}}\) wheremis the sample mean andnthe size of the sample. Use this mode if the data represents a sample of the population.The
populationstandard deviation, similar to Excel’sSTDEV.Pis \(\sqrt{\frac{\sum_{i=1}^{n}(X_i - m)^{2}}{n}}\) wheremis the mean of theXielements andnthe size of the population. Use this mode if the data represents the entire population.
scope – The
aggregation scope.