Codebook

This feature requires the Statistics Base option.

Codebook reports the dictionary information -- such as variable names, variable labels, value labels, missing values -- and summary statistics for all or specified variables and multiple response sets in the active dataset. For nominal and ordinal variables and multiple response sets, summary statistics include counts and percents. For scale variables, summary statistics include mean, standard deviation, and quartiles.

Note: Codebook ignores split file status. This includes split-file groups created for multiple imputation of missing values (available in the Missing Values add-on option). For more information on split-file processing, see Split file.   For more information on multiple imputation of missing values, see Multiple Imputation.

To Obtain a Codebook

This feature requires the Statistics Base option.

  1. From the menus choose:

    Analyze > Reports > Codebook

  2. Click the Variables tab.
  3. Select one or more variables and/or multiple response sets.

Optionally, you can:

  • Control the variable information that is displayed.
  • Control the statistics that are displayed (or exclude all summary statistics).
  • Control the order in which variables and multiple response sets are displayed.
  • Change the measurement level for any variable in the source list in order to change the summary statistics displayed. See the topic Codebook Statistics Tab for more information.

This dialog pastes CODEBOOK command syntax.

Changing Measurement Level

You can temporarily change the measurement level for variables. (You cannot change the measurement level for multiple response sets. They are always treated as nominal.)

  1. Right-click a variable in the source list.
  2. Select a measurement level from the pop-up menu.

This changes the measurement level temporarily. In practical terms, this is only useful for numeric variables. The measurement level for string variables is restricted to nominal or ordinal, which are both treated the same by the Codebook procedure.

To permanently change the measurement level for a variable, see Variable Measurement Level.