CREATE NUMERIC TALLY command
See Crunch Automation basics for more information.
The CREATE NUMERIC TALLY command creates a new numeric variable that counts how many categories of a multiple response variable were selected for each row. All input variables must be of the multiple_response type.
To compute the tally of a subset, first create a multiple response variable containing only the items you wish to tally.
CREATE NUMERIC TALLY alias, ..., alias
AS alias, ..., alias
[TITLE "string", ..., "string"]
[DESCRIPTION "string", ..., "string" | COPY]
[NOTES "string", ..., "string" | COPY];
Example
CREATE NUMERIC TALLY watched_dramas, watched_reality
AS
num_watched_dramas, num_watched_reality
TITLE "Number of drama shows watched", "Number of reality shows watched",
DESCRIPTION COPY;