spss_compute
Create or overwrite an SPSS variable using numeric expressions, enabling computed metrics such as BMI from existing data.
Instructions
Create a new variable or overwrite an existing one with a computed expression. expression: any SPSS numeric expression, e.g. 'weight/(height**2)' or 'MEAN(q1,q2,q3)'. Requires IBM SPSS Statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| expression | Yes | ||
| output_path | No | ||
| target_variable | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |