Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Statscraft 0.7.0, release v0.7.0

COUNT

Count, per case, how many variables hold one of the listed values.

Syntax

COUNT target = varlist (values) [varlist (values) ...] [/ target = ...].
values: values, low THRU high (with LOWEST or HIGHEST), MISSING, SYSMIS.
A value or range counts user-missing values too; a string variable takes quoted values only.

Example

COUNT channels = q5_1 TO q5_5 (1) / unanswered = q1 q2 (MISSING).

statscraft help COUNT prints the same text in the terminal. All commands