Compute sequential testing boundaries or an always-valid p-value
experimentation_sequential-testLan-DeMets group-sequential boundaries (O'Brien-Fleming or Pocock spending) for planned looks with a stop/continue decision, or an always-valid mSPRT p-value for continuous monitoring. Price $0.04 USDC. POST /api/v1/experimentation/sequential-test. 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": {
"mode": "<mode>"
},
"name": "experimentation_sequential-test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | mode, string, one of group_sequential, msprt. Required. | |
| tau2 | No | tau2, number. Optional. | |
| alpha | No | alpha, number. Required. | |
| estimate | No | estimate, number. Optional. | |
| spending | No | spending, string, one of obrien_fleming, pocock. Required. | obrien_fleming |
| variance | No | variance, number. Optional. | |
| observedZ | No | observedZ, array. Optional. | |
| informationFractions | No | informationFractions, array. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | No | sources. Array. | |
| decision | No | decision. Object. | |
| spending | No | spending. String. | |
| boundaries | No | boundaries. Array. | |
| limitations | No | limitations. Array. | |
| cumulativeAlpha | No | cumulativeAlpha. Array. |