# Saylor Innovations A/B Test Significance Calculator

> Saylor Innovations A/B Test Significance Calculator is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Calculates A/B test statistical significance including lift, z-score, p-value, confidence interval, winner declaration, and required sample size per variant

## Facts

- Endpoint: GET https://saylorinnovations.com/api/math/ab-test?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-a-b-test-significance-calculator-30aa4224
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9xDVM8nzEN5fVzRo38MSU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-a-b-test-significance-calculator-30aa4224
```

Example prompt: Can you check if my A/B test is statistically significant? Variant A had 4200 visitors and 189 conversions, and Variant B had 4150 visitors and 237 conversions.

## When to prefer this

Choose this endpoint when you need a quick, hosted statistical significance calculation for a two-variant (A/B) conversion experiment without running your own stats library. Ideal for agents that need to interpret experiment results on the fly, report significance to stakeholders, or determine required sample sizes before launching a test. Best when inputs are simple visitor/conversion counts for two variants.

## Known failure modes

- Missing required query parameters (a_visitors, a_conversions, b_visitors, b_conversions) returns validation error
- Non-numeric or zero visitor counts may cause division errors or unexpected results
- Extremely small sample sizes may produce unreliable statistical outputs
- Payment failure (402) if USDC balance is insufficient

## How this service works

A/B test significance from visitors and conversions - lift, z-score, p-value, confidence interval, winner and the sample size needed per variant

## Output

Returns a JSON object with variant_a and variant_b objects (each containing visitors, conversions, and conversion_rate_percent), z_score, p_value, significant flag, winner (null if not significant), alpha threshold, lift, confidence interval, a note with context for interpreting the result, and actionable advice text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "a_visitors",
      "a_conversions",
      "b_visitors",
      "b_conversions"
     ],
     "properties": {
      "a_visitors": {
       "type": "string",
       "description": "Visitors in variant A"
      },
      "b_visitors": {
       "type": "string",
       "description": "Visitors in variant B"
      },
      "a_conversions": {
       "type": "string",
       "description": "Conversions in A"
      },
      "b_conversions": {
       "type": "string",
       "description": "Conversions in B"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "variant_a",
      "variant_b",
      "p_value",
      "significant"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "alpha": {
       "type": [
        "number",
        "null"
       ],
       "description": "Significance threshold used"
      },
      "advice": {
       "type": "string",
       "description": "The advice text"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "winner": {
       "type": "string",
       "description": "Better variant when significant, otherwise null"
      },
      "p_value": {
       "type": "number",
       "description": "P value"
      },
      "z_score": {
       "type": "number",
       "description": "Z score"
      },
      "variant_a": {
       "type": "object",
       "properties": {
        "visitors": {
         "type": [
          "number",
          "null"
         ],
         "description": "Visitors in variant A"
        },
        "conversions": {
         "type": [
          "number",
          "null"
         ],
         "description": "Conversions in variant A"
        },
        "conversion_rate_percent": {
         "type":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-a-b-test-significance-calculator-30aa4224/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
