Data Model > Accessing the UNICOM Intelligence Data Model > Working with the Metadata Model > Derived variables > Special elements and helper elements in metadata > Special element types > Standard deviation
 
Standard deviation
A standard deviation requires three helper elements, SumXSquared, SumX, and SumN, and the standard deviation element itself.
Note If you want the standard deviation to be calculated using factors assigned to the categories in a variable, you do not need to specify an analysis variable and the helper elements are not required.
Syntax
stddev( [analysis_variable] )
Element name: SumXSquared
Property
Type
Value: mtAnalysisSummaryData
MultiplierReference
Value: The name of the analysis_variable, if applicable
Custom properties
CalculationType
Value: SumXSquared
DataElement
Value: "" (empty string)
Hidden
Value: True
ExcludedFromSummaries
Value: True
Element name: SumX
Property
Type
Value: mtAnalysisSummaryData
MultiplierReference
Value: The name of the analysis_variable, if applicable
Custom properties
CalculationType
Value: SumX
DataElement
Value: "" (empty string)
Hidden
Value: True
ExcludedFromSummaries
Value: True
Element name: SumN
Property
Type
Value: mtAnalysisSummaryData
Custom properties
CalculationType
Value: SumN
DataElement
Value: "" (empty string)
Hidden
Value: True
ExcludedFromSummaries
Value: True
Element name: As specified
Property
Type
Value: mtAnalysisStdDev
Custom properties
CalculationType
Value: StdDev
HasNoData
Value: True
ExcludedFromSummaries
Value: True
See also
Special elements and helper elements in metadata