correlation
Calculate the Pearson correlation coefficient to measure linear relationship strength between two datasets, ranging from -1 to 1.
Instructions
Calculate the Pearson correlation coefficient between two datasets (ranges from -1 to 1) (Domain: statistics, Category: general)
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": {
"xs": "<xs>",
"ys": "<ys>"
},
"name": "correlation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xs | Yes | ||
| ys | Yes |