statistics
Compute descriptive statistics, Pearson correlation, linear regression, confidence intervals, and independent t-tests from your data.
Instructions
Compute descriptive statistics, Pearson correlation, linear regression, a Student-t confidence interval for a mean, or an independent Welch t-test. Provide data_y for paired correlation/regression or the second t-test sample.
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": {
"operation": "<operation>",
"data": "<data>"
},
"name": "statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| data_y | No | ||
| operation | Yes | ||
| precision | No | ||
| confidence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Output unit, when dimensionful. | |
| exact | No | Exact symbolic result when available. | |
| result | Yes | Primary result; strings preserve mathematical precision. | |
| details | No | ||
| warnings | No | ||
| operation | Yes | Operation actually performed. | |
| approximate | No | Numerical approximation at the requested precision. | |
| normalized_input | No | Canonical input used by the computation engine. |