spss_if_transform
Conditionally assign values to a target variable when a logical condition is met in IBM SPSS Statistics.
Instructions
Conditionally assign a value: IF (condition) target = expression. condition: SPSS logical expression, e.g. 'age >= 30 and gender = 1'. Requires IBM SPSS Statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | ||
| file_path | Yes | ||
| expression | Yes | ||
| output_path | No | ||
| target_variable | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |