Ab Test
ab_testRun a two-proportion A/B significance test with a plain-language verdict. FREE.
Typical input {"conversions_a": 120, "visitors_a": 2400, "conversions_b": 156, "visitors_b": 2380} returns {"rate_a_pct": 5.0, "rate_b_pct": 6.55, "relative_lift_pct": 31.1, "z_score": ..., "p_value": ..., "significant_at_95": true, "verdict": "B beats A — statistically significant"}.
Use when exactly two variants each have a trial count and a conversion count. Not for continuous outcomes such as revenue per user, and not for three or more variants. Errors: on invalid, missing, or malformed input this tool never raises a protocol error — it returns {"error": ""} (for example {"error": "need visitors > 0 and 0 <= conversions <= visitors"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visitors_a | Yes | Visitors in variant A; must be at least 1. | |
| visitors_b | Yes | Visitors in variant B; must be at least 1. | |
| conversions_a | Yes | Conversions in variant A; 0 or more, at most visitors_a. | |
| conversions_b | Yes | Conversions in variant B; 0 or more, at most visitors_b. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||