set_measurement
Define a variable's measurement level as auto, continuous, categorical, or ordinal so STATISTICA treats it correctly as a factor or covariate in analyses.
Instructions
Set the measurement level of a variable (auto/continuous/categorical/ordinal). STATISTICA uses it to treat the variable as a factor or a covariate in analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the source file. | |
| save | No | Optional destination path to persist the result as .sta. | |
| type | Yes | Measurement level. | |
| sheet | No | ||
| attach | No | Attach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed). | |
| variable | Yes | Variable name or 1-based index. |