# Statistical Tests – Multiple Comparison P-Value Adjustment

> Statistical Tests – Multiple Comparison P-Value Adjustment is a paid API for AI agents from stats-tests.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Adjusts a list of raw p-values for multiple testing using Bonferroni, Sidak, Holm, and Benjamini-Hochberg methods and reports which hypotheses survive each correction.

## Facts

- Endpoint: GET https://stats-tests.x402tookit.com/multiple-comparisons?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/statistical-tests-multiple-comparison-p-value-adjustment-c081b13e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SoP5SrSfgXo0h2LsXUjJE

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 statistical-tests-multiple-comparison-p-value-adjustment-c081b13e
```

Example prompt: I ran 12 statistical tests and got these p-values: 0.001, 0.03, 0.045, 0.12, 0.004, 0.22, 0.009, 0.051, 0.18, 0.002, 0.08, 0.035 — can you adjust them for multiple comparisons using Bonferroni, Sidak, Holm, and Benjamini-Hochberg, at alpha 0.05, and tell me which ones survive each correction?

## When to prefer this

Choose this endpoint when you need to apply multiple testing corrections to a list of pre-computed p-values across several well-known methods simultaneously. It is ideal for researchers, data scientists, and analysts who have already run their individual tests and need a quick, authoritative correction step before reporting results. It covers all four major correction methods in a single call, making it more efficient than applying them one at a time.

## Known failure modes

- Fewer than 2 or more than 200 p-values supplied — validation error
- P-values outside the [0,1] range — invalid input error
- Non-numeric values in the pvalues query string — parse error
- Missing required pvalues parameter — 400 bad request
- Payment failure via x402 — 402 Payment Required

## How this service works

Adjust p-values for multiple testing (Bonferroni, Sidak, Holm, Benjamini-Hochberg) and see which tests survive.

## Output

Returns raw p-values, all four sets of adjusted p-values (Bonferroni, Sidak, Holm, Benjamini-Hochberg), the count and indexes of significant results under each method, a summary verdict, and a disclaimer. Also includes the alpha used, the number of tests, and optional reason annotations.

## 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": [
      "pvalues"
     ],
     "properties": {
      "alpha": {
       "type": "number",
       "description": "Significance or false-discovery level (default 0.05)"
      },
      "pvalues": {
       "type": "string",
       "description": "Raw p-values separated by commas, 2 to 200"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "alpha": {
       "type": [
        "null",
        "number"
       ]
      },
      "tests": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "adjusted": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "holm": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": "number"
         }
        },
        "sidak": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": "number"
         }
        },
        "bonferroni": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": "number"
         }
        },
        "benjaminiHochberg": {
         "type": [
          "array",
          "null"
         ],
         "items": {
          "type": "number"
         }
        }
       }
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/statistical-tests-multiple-comparison-p-value-adjustment-c081b13e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stats-tests.x402tookit.com](https://www.zero.xyz/host/stats-tests.x402tookit.com/llms.txt)
