element <derivation> (global)
Namespace:
Type:
Content:
complex, 9 attributes, 3 elements
Defined:
globally in codebook.xsd; see XML source
Used:
XML Representation Summary
<derivation
   
 = 
xs:ID
 = 
xs:NMTOKEN
 = 
xs:language
 = 
("archive" | "producer") : "producer"
 = 
xs:string
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear)
 = 
xs:anyURI
 = 
xs:anyURI
 = 
xs:IDREFS
   
>
   
Content: 
</derivation>
Included in content model of elements (1):
Known Usage Locations
Annotation

Derivation

Description

Used only in the case of a derived variable, this element provides both a description of how the derivation was performed and the command used to generate the derived variable, as well as a specification of the other variables in the study used to generate the derivation. Alternatively the variables may be expressed as a range using the varRange element. Note that use of varRange is implementation dependent. Since the order of variables can change during the execution of a script, it is computationally difficult to identify which variables belong to a variable range. It has been provided to support the automated creation of derivation information. Order should be determined by the physical order expressed in location as opposed to the order expressed in the metadata document. varRange should only be used when the physical order of variables is available and machine-actionable.

Example

<derivation var="V4 V9"> <drvdesc>Taxible Income (V10) expressed as a combination of wage and salary income (V4) plus interest income (V9)</drvdesc> <drvcmd syntax="SPSS">V10=V4+V9</drvcmd> </derivation>
XML Source (w/o annotations (1); see within schema source)
<xs:element name="derivation" type="derivationType"/>

XML schema documentation generated with DocFlex/XML 1.12 using DocFlex/XML XSDDoc 2.9.0 template set