Statistics and regression
buscalc_statisticsSummarize 1–1000 numerical observations or fit unweighted least-squares y on x from 2–100 paired rows. Returns named descriptive results or slope, intercept, correlation, R squared and a prediction. No causal inference or time-series forecast. Inputs are structured JSON arrays, not executable expressions. Put tool fields inside inputs. Supply units or modelVersion only when listed in inputSchema. Follow its required fields and exact choices. Do not pass the REST calculator field inside MCP arguments.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"inputs": {
"mode": "describe",
"values": [
1,
2,
3
]
}
},
"name": "buscalc_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| modelVersion | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| inputs | Yes | ||
| receipt | Yes | ||
| results | Yes | ||
| sourceURL | Yes | ||
| calculator | Yes | ||
| modelVersion | Yes |