SPSS Compute

The COMPUTE command assigns a value to a variable.


Usage

compute foo = 1.
compute bar = ''.

If a string literal or string expression differs in length compared to the target variable, it is truncated or padded with space characters as needed.


Data Model

The COMPUTE command is queued as a pending transformation.


See also

PSPP manual for COMPUTE


CategoryRicottone

SPSS/Compute (last edited 2023-06-13 02:21:31 by DominicRicottone)