Data Analysis
Compute conversion-rate or mean differences, 95%/99% confidence intervals, two-sided p-values (Z-test for proportions, Welch t for continuous metrics), lift, sample size for 80%/90% power, recommended experiment days, plus sequential-testing and Bonferroni multiple-comparison warnings.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/ab-test-significance-calculator' \
-H 'Content-Type: application/json' \
-d '{"testType":"proportion","cSuccess":1200,"cVisitors":20000,"tSuccess":1320,"tVisitors":20000,"cMean":42.5,"cSd":12,"cN":500,"tMean":45.8,"tSd":12.5,"tN":500,"alpha":"0.05","power":"0.8","baselineCr":6,"mdeLift":5,"dailyVisitors":4000,"split":"50","comparisons":1,"decimalPlaces":2}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/ab-test-significance-calculator| Name | Type | Required | Description |
|---|---|---|---|
| testType | select | No | — |
| cSuccess | number | No | — |
| cVisitors | number | No | — |
| tSuccess | number | No | — |
| tVisitors | number | No | — |
| cMean |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-ab-test-significance-calculator": {
"name": "ab-test-significance-calculator",
"description": "Compute conversion-rate or mean differences, 95%/99% confidence intervals, two-sided p-values (Z-test for proportions, Welch t for continuous metrics), lift, sample size for 80%/90% power, recommended experiment days, plus sequential-testing and Bonferroni multiple-comparison warnings.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ab-test-significance-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ab-test-significance-calculator",
"arguments": {
"testType": "proportion",
"cSuccess": 1200,
"cVisitors": 20000,
"tSuccess": 1320,
"tVisitors": 20000,
"cMean": 42.5,
"cSd": 12,
"cN": 500,
"tMean": 45.8,
"tSd": 12.5,
"tN": 500,
"alpha": "0.05",
"power": "0.8",
"baselineCr": 6,
"mdeLift": 5,
"dailyVisitors": 4000,
"split": "50",
"comparisons": 1,
"decimalPlaces": 2
}
}
}| number |
| No |
| — |
| cSd | number | No | — |
| cN | number | No | — |
| tMean | number | No | — |
| tSd | number | No | — |
| tN | number | No | — |
| alpha | select | No | — |
| power | select | No | — |
| baselineCr | number | No | — |
| mdeLift | number | No | — |
| dailyVisitors | number | No | — |
| split | select | No | — |
| comparisons | number | No | — |
| decimalPlaces | number | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Questions or issues? Contact [email protected]