Value Attributes

From Displayr
Jump to: navigation, search

Value Attributes is a set of metadata relating to individual variables. The Value Attributes are modified by either changing Variable Set Structure, or, by clicking on a Variable or Variable Set in the Data Tree and selecting one of the buttons in Manipulate Data > Data Values:

  • Labels. This is used to change the name displayed for each category.
  • Select Categories. This is used when defining which categories are combined in a Binary - Multi or Binary - Grid Variable Set.
  • Recode Values. This is used to change the values of a variable used when numeric summaries, such as means and standard deviations, are computed.
  • Missing Values. Deals with how specific categories in the data are included or excluded from calculations.
  • Delete Data. Removes, or restores, rows from the Data Set.
  • Revert. This resets data to the form it had when it was initially imported or created.

Value Attributes can also be modified by selecting the Variable or Variable Set in the Data Tree and selecting the Value attributes button in the Object Inspector.

Editing value attributes with another program

It is also possible to edit value attributes using a spreadsheet editor such as Microsoft Excel. This is particularly helpful if you have a lot of things to change.

  1. In Manipulate Data > Data Values select Labels, Select Categories, Recode Values or Missing Values.
  2. Press Export and copy the value attributes into a spreadsheet.
  3. After editing the value attributes, press Import and paste the value attributes table from a spreadsheet into the text box. Note that the value attributes should be in a tab-separated-values format (this will typically be done automatically by the spreadsheet editor).
  4. Press OK twice to apply the changes

Inconsistent Value Attributes

When the value attributes of multiple Variables do not agree with one another (e.g. in a Variable Set), they are inconsistent. Inconsistent Value Attributes are displayed with a red background in the Value Attributes Dialog, or as a checkbox which is neither checked nor unchecked. When the source labels of a value are inconsistent, hovering the mouse over the label field shows a message stating "Source labels vary across variables" instead of the source label.