calculate_correlation
Calculate Pearson or Spearman correlation between two comma-separated datasets to measure the strength and direction of their linear or monotonic relationship.
Instructions
Calculate Pearson or Spearman correlation between two datasets.
Parameters:
method — 'pearson' (default) or 'spearman'.
x — Comma-separated X values.
y — Comma-separated Y values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| method | No | pearson |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |