STATISTICS Subcommand (CODEBOOK command)
The optional STATISTICS
subcommand
allows you to control the summary statistics that are included in
the output, or suppress the display of summary statistics entirely.
- By default, all summary statistics are included.
- If you include the
STATISTICS
subcommand, it should be followed by one or more of the available keywords.
The available options are:
COUNT. Number of cases in each category. This applies to nominal and ordinal variables, multiple response sets, and labeled values of scale variables.
PERCENT. Percent of cases in each category. This applies to nominal and ordinal variables, multiple response sets, and labeled values of scale variables. The denominator is the total number of cases, including cases with missing values for the variable. If filtering is in effect, it is the total number of unfiltered cases. For multiple response sets, percentages can sum to more than 100%.
MEAN. Mean. This applies to scale variables only.
STDDEV. Standard deviation. This applies to scale variables only.
QUARTILES. 25th, 50th (median), and 75th percentiles. This applies to scale variables only.
NONE. Do not include any summary statistics. If specified, this can be the only keyword included on the STATISTICS
subcommand.
Example
CODEBOOK
/STATISTICS COUNT MEAN.