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 > Mean
 
Mean
A mean requires two helper elements, SumX and SumN, and the mean element itself.
Note If you want the mean 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
mean( [analysis_variable] )
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: mtAnalysisMean
Custom properties
CalculationType
Value: Mean
HasNoData
Value: True
ExcludedFromSummaries
Value: True
See also
Special elements and helper elements in metadata