{"uid":"cap_SoP5SrSfgXo0h2LsXUjJE","slug":"statistical-tests-multiple-comparison-p-value-adjustment-c081b13e","name":"Statistical Tests – Multiple Comparison P-Value Adjustment","description":"Adjust p-values for multiple testing (Bonferroni, Sidak, Holm, Benjamini-Hochberg) and see which tests survive.","url":"https://stats-tests.x402tookit.com/multiple-comparisons?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"rawPValues":{"type":["array","null"],"items":{"type":"number"}},"significantCounts":{"type":["null","object"],"properties":{"raw":{"type":["null","number"]},"holm":{"type":["null","number"]},"sidak":{"type":["null","number"]},"bonferroni":{"type":["null","number"]},"benjaminiHochberg":{"type":["null","number"]}}},"significantIndexes":{"type":["null","object"],"properties":{"holm":{"type":["array","null"],"items":{"type":"number"}},"benjaminiHochberg":{"type":["array","null"],"items":{"type":"number"}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TM0I0W7SBBomnXQSj-MtM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Genomics differential expression correction","prompt":"I tested 20 genes for differential expression and got these p-values: 0.001, 0.02, 0.03, 0.04, 0.05, 0.08, 0.001, 0.003, 0.6, 0.7, 0.15, 0.02, 0.04, 0.3, 0.001, 0.5, 0.09, 0.01, 0.2, 0.04 — please apply all four multiple testing corrections at alpha 0.05 and tell me which genes remain significant."},{"title":"A/B test battery significance check","prompt":"We ran 8 simultaneous A/B tests on our website and got these p-values: 0.048, 0.032, 0.12, 0.001, 0.07, 0.015, 0.09, 0.042 — can you apply Bonferroni, Holm, and Benjamini-Hochberg corrections at alpha 0.05 and show me which experiments hold up?"},{"title":"Clinical trial secondary endpoints","prompt":"Our clinical trial had 10 secondary endpoints with p-values: 0.004, 0.021, 0.035, 0.048, 0.07, 0.11, 0.002, 0.18, 0.009, 0.055 — adjust them for multiple comparisons using all available methods at a 0.05 significance level and summarise which are still significant."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:42.262Z","isFirstParty":false,"canonicalSlug":"statistical-tests-multiple-comparison-p-value-adjustment-c081b13e"}