complexType "VariableStatisticsType"
Namespace:
Content:
complex, 6 attributes, 19 elements
Defined:
Includes:
definitions of 8 elements
Used:
XML Representation Summary
<...
   
 = 
("Add" | "Update" | "Delete")
 = 
(xs:string | xs:string)
 = 
("Agency" | "Maintainable") : "Agency"
 = 
xs:boolean
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
 = 
"true"
   
>
   
Content: 
</...>
Content Model Elements (19):
FilteredCategoryStatistics, MissingValuesReference, StandardWeightReference, SummaryStatistic, TotalResponses, UnfilteredCategoryStatistics, r:Agency, r:BasedOnObject, r:ID, r:MaintainableObject, r:URN, r:UserAttributePair, r:UserID, r:VariableReference, r:Version, r:VersionRationale, r:VersionResponsibility, r:VersionResponsibilityReference, r:WeightVariableReference
All Direct / Indirect Based Elements (1):
VariableStatistics
Known Usage Locations
Annotation
Contains summary and category level statistics for the referenced variable. Includes information on the total number of responses, the weights in calculating the statistics, variable level summary statistics, and category statistics. The category statistics may be provided as unfiltered values or filtered through a single variable. For example the category statistics for Sex filtered by the variable Country for a multi-national data file. Note that if no weighting factor is identified, all of the statistics provided are unweighted.
Type Definition Detail
Type Derivation Tree
r:AbstractIdentifiableType (extension)
      r:VersionableType (extension)
          VariableStatisticsType
XML Source (w/o annotations (9); see within schema source)
<xs:complexType name="VariableStatisticsType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element ref="r:VariableReference"/>
<xs:element minOccurs="0" name="TotalResponses" type="xs:integer"/>
<xs:choice minOccurs="0">
<xs:element ref="StandardWeightReference"/>
<xs:element ref="r:WeightVariableReference"/>
</xs:choice>
<xs:element minOccurs="0" ref="MissingValuesReference"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SummaryStatistic"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="UnfilteredCategoryStatistics"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="FilteredCategoryStatistics"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 8/19)
FilteredCategoryStatistics
Type:
Includes category-level statistic for the referenced variable using another variable to filter the categories through. For example, the Eurobarometer may filter its category statistics by country as represented in a variable "CountryCode".
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="FilteredCategoryStatistics"/>

MissingValuesReference
Type:
r:ReferenceType, complex content
Indicates the missing values that were excluded from the statistic by referencing the ManagedMissingValuesRepresentation used by the Variable.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="MissingValuesReference"/>

r:VariableReference
Type:
r:ReferenceType, complex content
Reference to the variable to which the statistics apply.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="r:VariableReference"/>

r:WeightVariableReference
Type:
r:ReferenceType, complex content
Reference to a variable to use for weight in calculating the statistic.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="r:WeightVariableReference"/>

StandardWeightReference
Type:
r:ReferenceType, complex content
Reference to the StandardWeight value provided in Weighting.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="StandardWeightReference"/>

SummaryStatistic
Type:
SummaryStatisticType, complex content
A summary statistic for the referenced variable.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SummaryStatistic"/>

TotalResponses
Type:
xs:integer, predefined, simple content
The total number of responses to this variable. This element is especially useful if the number of responses does not match added case counts. It may also be used to sum the frequencies for variable categories.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="TotalResponses" type="xs:integer"/>

UnfilteredCategoryStatistics
Type:
The unfiltered values of any number of statistics by category value representing the full response distribution of the variable.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="UnfilteredCategoryStatistics"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set