Compute control chart limits and violations
statistics_control-chartControl limits and Western Electric or Nelson rule violations for I-MR, X-bar R, X-bar S, p, np, c and u charts from caller-supplied measurements or counts, with optional fixed Phase II limits. Price $0.04 USDC. POST /api/v1/statistics/control-chart. An unpaid call returns the x402 payment terms and does not run.
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": {
"chart": "<chart>"
},
"name": "statistics_control-chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | size, integer, from 1 to 9007199254740991. Optional. | |
| chart | Yes | chart, string, one of imr, xbar_r, xbar_s, p, np, c. Required. | |
| phase | No | phase, string, one of I, II. Required. | I |
| rules | No | rules, array. Required. | |
| sizes | No | sizes, array. Optional. | |
| counts | No | counts, array. Optional. | |
| limits | No | limits, object. Optional. | |
| values | No | values, array. Optional. | |
| subgroups | No | subgroups, array. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | n. Number. | |
| lcl | No | lcl. Number. | |
| ucl | No | ucl. Number. | |
| chart | No | chart. String. | |
| phase | No | phase. String. | |
| center | No | center. Number. | |
| points | No | points. Array. | |
| sources | No | sources. Array. | |
| secondary | No | secondary. Object. | |
| limitations | No | limitations. Array. | |
| sigmaWithin | No | sigmaWithin. Number. | |
| subgroupSize | No | subgroupSize. Number. |