Developer Documentation Library > Data Model > Accessing the UNICOM Intelligence Data Model > Working with the Metadata Model > Derived variables > Special elements and helper elements in metadata > Standard error and sample variance elements
 
Standard error and sample variance elements
A standard error or sample variance requires four helper elements, SumXSquared, SumX, SumN, and SumUnweightedN, and the standard error or sample variance element itself.
If you want the standard error or sample variance 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
stderr( [analysis_variable] )
sampvar( [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: SumUnweightedN
Property
Type
Value: mtAnalysisSummaryData
Custom properties
CalculationType
Value: SumUnweightedN
DataElement
Value: "" (empty string)
Hidden
Value: True
ExcludedFromSummaries
Value: True
Element name: As specified
Properties
Type
Value: mtAnalysisStdErr or mtAnalysisSampleVariance
MultiplierReference
Value: reference to the analysis_variable
Custom properties
CalculationType
Value: StdError or SampleVar
HasNoData
Value: True
ExcludedFromSummaries
Value: True
See also
Special elements and helper elements in metadata