spss_correlations
Compute a Pearson or Spearman correlation matrix for variables in an SPSS data file. Use this to assess relationships between numeric variables.
Instructions
Run SPSS CORRELATIONS to compute Pearson or Spearman correlation matrix. Requires IBM SPSS Statistics to be installed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"variables": "<variables>"
},
"name": "spss_correlations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | pearson | |
| file_path | Yes | ||
| variables | Yes | ||
| two_tailed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |