InstanceVariable
CDIFDataDescription::Classes::InstanceVariable
Definition
Documentation
Original
Reference
cdi:InstanceVariable
Definition
Definition
Use of a represented variable within a data set.
Examples
1. Gender: Dan Gillman has gender <m, male>, Arofan Gregory has gender <m, male>, etc. 2. Number of employees: Microsoft has 90,000 employees; IBM has 433,000 employees, etc. 3. Endowment: Johns Hopkins has endowment of <3, $1,000,000 and above>, Yale has endowment of <3, $1,000,000 and above>, etc. 4. A tornado near Winterset, Iowa, had a peak wind speed of 170 mph. Two instance variables of a person's height reference the same represented variable. This indicates that they are intended to: be measured with the same unit of measurement, have the same intended data type, have the same substantive value domain, use a sentinel value domain drawn from the same set of sentinel value domains, have the same sentinel (missing value) concepts, and draw their population from the same universe. In other words, the two instance variables should be comparable.
Explanatory notes
The instance variable class inherits all of the properties and relationships of the represented variable class and, in turn, the conceptual variable class. This means that an instance variable can be completely populated without the need to create an associated represented variable or conceptual variable. If, however, a user wishes to indicate that a particular instance variable is patterned after a particular represented variable or a particular conceptual variable that may be indicated by including a relationship to the represented variable and/or conceptual variable. Including these references is an important method of indicating that multiple instance variables have the same representation, measure the same concept, and are drawn from the same universe. If two instance variables of a person's height reference the same represented variable. This indicates that they are intended to: be measured with the same unit of measurement, have the same intended data type, have the same substantive value domain, use a sentinel value domain drawn from the same set of sentinel value domains, have the same sentinel (missing value) concepts, and draw their population from the same universe. In other words, the two instance variables should be comparable. The instance variable describes actual instances of data that have been collected.
CDIF
Definition
CDIF Instance Variable
Scope
A cdi:InstanceVariable as referenced by schema:variableMeasured. Carries the variable's identification, physical data type, value domains, units, function, source, and concept-or-term references.
Diagram
Inheritance
No generalization relationships.
Attributes
| Name | Type | Multiplicity | Description |
|---|---|---|---|
| identifier | XsdAnyUri | [1] | DocumentationOriginalReferenceschema:identifier DefinitionThe identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details. ScopeDomain: Thing (https://schema.org/Thing). Range: PropertyValue (https://schema.org/PropertyValue), Text (https://schema.org/Text), URL (https://schema.org/URL). CDIFDefinitionIdentifier for this enumerated (categorical) domain. Scope@id - URI for the variable. |
| name | string | [0..1] | DocumentationOriginalReferenceschema:name DefinitionThe name of the item. ScopeDomain: Thing (https://schema.org/Thing). Range: Text (https://schema.org/Text). CDIFDefinitionstring label associated with the variable in the dataset serialization Scopeschema:name - label for the variable. |
| description | string | [0..1] | DocumentationOriginalReferenceschema:description DefinitionA description of the item. ScopeDomain: Thing (https://schema.org/Thing). Range: Text (https://schema.org/Text), TextObject (https://schema.org/TextObject). CDIFDefinitionA formal description of the set of values in human-readable language. Scopeschema:description - free-text description. |
| alternateName | string | [0..*] | DocumentationOriginalReferenceschema:alternateName DefinitionAn alias for the item. ScopeDomain: Thing (https://schema.org/Thing). Range: Text (https://schema.org/Text). CDIFDefinitionschema:alternateName - additional name(s). |
| physicalDataType | string | [1] | DocumentationOriginalReferencecdi:physicalDataType CDIFDefinitionidentifier or name for the data type concept. Scopecdif:physicalDataType - physical representation type. Required at Data Description level. |
| minValue | string | [0..1] | DocumentationOriginalReferenceschema:minValue DefinitionThe lower value of some characteristic or property. ScopeDomain: MonetaryAmount (https://schema.org/MonetaryAmount), PropertyValue (https://schema.org/PropertyValue), PropertyValueSpecification (https://schema.org/PropertyValueSpecification), QuantitativeValue (https://schema.org/QuantitativeValue). Range: Number (https://schema.org/Number). CDIFDefinitionminimum numeric value in the dataset Scopeschema:minValue - lower bound. |
| maxValue | string | [0..1] | DocumentationOriginalReferenceschema:maxValue DefinitionThe upper value of some characteristic or property. ScopeDomain: MonetaryAmount (https://schema.org/MonetaryAmount), PropertyValue (https://schema.org/PropertyValue), PropertyValueSpecification (https://schema.org/PropertyValueSpecification), QuantitativeValue (https://schema.org/QuantitativeValue). Range: Number (https://schema.org/Number). CDIFDefinitionmaximum numeric value in the dataset Scopeschema:maxValue - upper bound. |
| unitCode | string | [0..1] | DocumentationOriginalReferenceschema:unitCode DefinitionThe unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon. ScopeDomain: PropertyValue (https://schema.org/PropertyValue), QuantitativeValue (https://schema.org/QuantitativeValue), TypeAndQuantityNode (https://schema.org/TypeAndQuantityNode), UnitPriceSpecification (https://schema.org/UnitPriceSpecification). Range: Text (https://schema.org/Text), URL (https://schema.org/URL). CDIFDefinitionURI or code identifying the unit of measure Scopeschema:unitCode - URL/code identifying the unit of measure. |
| unitText | string | [0..1] | DocumentationOriginalReferenceschema:unitText DefinitionA string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for <a href='unitCode'>unitCode</a>. ScopeDomain: PropertyValue (https://schema.org/PropertyValue), QuantitativeValue (https://schema.org/QuantitativeValue), TypeAndQuantityNode (https://schema.org/TypeAndQuantityNode), UnitPriceSpecification (https://schema.org/UnitPriceSpecification). Range: Text (https://schema.org/Text). CDIFDefinitionunit of measurement as text Scopeschema:unitText - text label for the unit of measure. |
| platformType | string | [0..*] | DocumentationOriginalReferencecdi:platformType CDIFDefinitionThe application or technical system context in which the variable has been realized - typically a statistical processing package or processing environment (InstanceVariable.platformType). Scopecdi:platformType - the platform/system the variable was realized on. |
| simpleUnitOfMeasure | string | [0..1] | DocumentationOriginalReferencecdif:simpleUnitOfMeasure CDIFDefinitionThe unit in which the data values are measured (kg, pound, euro), expressed as a simple string, in cases where no additional information is available (in the legacy system) or needed (as in the case of broad agreement within the community of use [i.e., ISO country codes, currencies, etc. in SDMX]) Scopecdif:simpleUnitOfMeasure - plain-string unit-of-measure shorthand. |
| measurementTechnique | string | [0..*] | DocumentationOriginalReferenceschema:measurementTechnique DefinitionA technique, method or technology used in an [[Observation]], [[StatisticalVariable]] or [[Dataset]] (or [[DataDownload]], [[DataCatalog]]), corresponding to the method used for measuring the corresponding variable(s) (for datasets, described using [[variableMeasured]]; for [[Observation]], a [[StatisticalVariable]]). Often but not necessarily each [[variableMeasured]] will have an explicit representation as (or mapping to) an property such as those defined in Schema.org, or other RDF vocabularies and "knowledge graphs". In that case the subproperty of [[variableMeasured]] called [[measuredProperty]] is applicable. The [[measurementTechnique]] property helps when extra clarification is needed about how a [[measuredProperty]] was measured. This is oriented towards scientific and scholarly dataset publication but may have broader applicability; it is not intended as a full representation of measurement, but can often serve as a high level summary for dataset discovery. For example, if [[variableMeasured]] is: molecule concentration, [[measurementTechnique]] could be: "mass spectrometry" or "nmr spectroscopy" or "colorimetry" or "immunofluorescence". If the [[variableMeasured]] is "depression rating", the [[measurementTechnique]] could be "Zung Scale" or "HAM-D" or "Beck Depression Inventory". If there are several [[variableMeasured]] properties recorded for some given data object, use a [[PropertyValue]] for each [[variableMeasured]] and attach the corresponding [[measurementTechnique]]. The value can also be from an enumeration, organized as a [[MeasurementMethodEnum]]. ScopeDomain: DataCatalog (https://schema.org/DataCatalog), DataDownload (https://schema.org/DataDownload), Dataset (https://schema.org/Dataset), Observation (https://schema.org/Observation), PropertyValue (https://schema.org/PropertyValue), StatisticalVariable (https://schema.org/StatisticalVariable). Range: DefinedTerm (https://schema.org/DefinedTerm), MeasurementMethodEnum (https://schema.org/MeasurementMethodEnum), Text (https://schema.org/Text), URL (https://schema.org/URL). CDIFDefinitionText description or URI specifying how values for the variable were obtained. Scopeschema:measurementTechnique - measurement technique used for this variable. |
Associations
| Role | Target | Multiplicity | Kind |
|---|---|---|---|
| variableMeasured | ← Dataset | [1..*] | composition |
| takesSubstantiveValuesFrom | → SubstantiveValueDomain | [0..1] | association |
| takesSentinelValuesFrom | → SentinelValueDomain | [0..*] | association |
| uses | → CdifConceptOrTerm | [0..*] | association |
| hasIntendedDataType | → DefinedTerm | [0..1] | association |
| describedUnitOfMeasure | → CdifConceptOrTerm | [0..1] | association |
| function | → CdifConceptOrTerm | [0..*] | association |
| qualifies | → InstanceVariable | [0..*] | association |
| isDescribedBy | → StatisticsCollection | [0..*] | association |
| source | → DefinedTerm | [0..*] | association |
| measurementTechnique | → DefinedTerm | [0..*] | association |
| formats | ← AbstractMapping | [1] | association |
| formats | ← PhysicalMapping | [1] | association |
| formats | ← TextMapping | [1] | association |
| formats | ← LocatorMapping | [1] | association |
| indexes | ← ComponentPosition | [1] | association |
| appliesTo | ← Statistics | [0..*] | association |
| hasWeight | ← Statistics | [0..1] | association |
| indexedBy | ← StatisticsCollection | [0..*] | association |