{"uid":"cap_ED_vW-gnDxIEXfAvppwmD","slug":"measurement-uncertainty-binomial-confidence-intervals-c78e7b0b","name":"Measurement Uncertainty – Binomial Confidence Intervals","description":"For agents reviewing shot-count results: return probabilities and binomial confidence intervals with the interval method and independence assumptions. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/compute/quantum/measurement-uncertainty?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"counts":{"type":"array","maxItems":32,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012002","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.012002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OQ2MgbVhj_WnmueI_hedT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes probabilities and binomial confidence intervals for shot-count arrays, returning uncertainty metrics with configurable interval method and independence assumptions.","exampleAgentPrompt":"Can you compute the measurement uncertainty and binomial confidence intervals for these public shot-count results: [142, 87, 203, 56]?","exampleUseCases":[{"title":"A/B test result uncertainty analysis","prompt":"I ran an A/B test and got these shot counts for each variant: [320, 280, 415, 190] — can you compute the binomial confidence intervals and probability estimates so I understand the measurement uncertainty in the results? The data is public."},{"title":"Clinical trial count validation","prompt":"We have observed event counts from a synthetic trial dataset: [44, 61, 38, 55, 70] — please calculate the binomial confidence intervals and measurement uncertainty for these counts so we can report the statistical bounds."},{"title":"Survey response uncertainty quantification","prompt":"Here are response counts from a public survey across 5 questions: [512, 489, 601, 445, 533] — I need the probability estimates and confidence intervals to understand how uncertain these shot-count results are."}],"resultDescription":"Returns computed probabilities and binomial confidence intervals for each element in the submitted counts array, including interval bounds and uncertainty metrics derived from the specified independence assumptions and interval method. Results are retained for 24 hours; minimal receipt metadata is retained for 90 days.","failureModes":["Array exceeds 32 items (maxItems constraint violated)","Empty array submitted (minItems of 1 not met)","Invalid dataClass value not in enum ['public','synthetic']","Non-integer or negative values in counts array","Payment not included or insufficient (x402 payment required)","Network or provider timeout returning 5xx error"],"whenToPreferThis":"Choose this endpoint when you need fast, per-call statistical computation of binomial confidence intervals and probabilities for shot-count arrays (up to 32 elements) with explicit uncertainty quantification. It is appropriate when your data is classified as either public or synthetic and you need bounded uncertainty metrics rather than raw summary statistics. Prefer this over generic statistics APIs when you specifically need binomial interval methods with independence assumptions applied to count data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T00:38:44.707Z","isFirstParty":false,"canonicalSlug":"measurement-uncertainty-binomial-confidence-intervals-c78e7b0b"}