{
  "tool_id": "ab_test_significance",
  "slug": "ab-test-significance-calculator",
  "path": "/ab-test-significance-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aibizhub.io/ab-test-significance-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aibizhub.io/engines/ab-test-significance-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aibizhub.io/methodology/ab-test-significance-calculator/",
  "sample_input": {
    "tool": "ab_test_significance",
    "visitors_a": 5000,
    "conversions_a": 250,
    "visitors_b": 5000,
    "conversions_b": 285,
    "confidence_level": 95
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "visitors_a": {
        "type": "number"
      },
      "conversions_a": {
        "type": "number"
      },
      "visitors_b": {
        "type": "number"
      },
      "conversions_b": {
        "type": "number"
      },
      "confidence_level": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "visitors_a",
      "conversions_a",
      "visitors_b",
      "conversions_b",
      "confidence_level"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "rateA": {
        "type": "number"
      },
      "rateB": {
        "type": "number"
      },
      "relativeLift": {
        "type": "number"
      },
      "zScore": {
        "type": "number"
      },
      "pValue": {
        "type": "number"
      },
      "conclusion": {
        "type": "string"
      },
      "confidenceLevel": {
        "type": "number"
      },
      "requiredSampleSize": {
        "type": "number"
      },
      "powerMessage": {
        "type": "string"
      }
    }
  }
}
