run_correlation
Compute Pearson or Spearman correlation between two numeric columns to mathematically verify relationships before plotting scatterplots.
Instructions
Computes statistical correlation (pearson, spearman) between two numeric columns. Use this to mathematically verify relationships before plotting scatterplots.
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": {
"data_file_path": "<data_file_path>",
"x_column": "<x_column>",
"y_column": "<y_column>"
},
"name": "run_correlation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | pearson | |
| x_column | Yes | ||
| y_column | Yes | ||
| data_file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |