{"uid":"cap_BU04YGIuVAXIM4wKpIrmd","slug":"saylor-innovations-data-desk-probability-distributions-ead85f25","name":"Saylor Innovations Data Desk – Probability Distributions","description":"Binomial, Poisson and normal distribution probabilities - exact, at most, at least, ranges, z-scores and quantiles with mean and standard deviation","url":"https://saylorinnovations.com/api/math/probability?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":["dist","n","p","k"],"properties":{"k":{"type":"string","description":"number of successes or events"},"n":{"type":"string","description":"binomial trials"},"p":{"type":"string","description":"binomial success probability (or quantile probability for normal)"},"dist":{"type":"string","description":"binomial, poisson or normal"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["distribution","mean"],"properties":{"k":{"type":["number","null"],"description":"Value the probabilities refer to"},"n":{"type":["number","null"],"description":"Number of trials (binomial)"},"p":{"type":["number","null"],"description":"Success probability (binomial)"},"sd":{"type":["number","null"],"description":"Standard deviation"},"mean":{"type":"number","description":"Mean of the distribution"},"mode":{"type":["number","null"],"description":"Mode used"},"note":{"type":"string","description":"Caveat or context for reading the result"},"source":{"type":"string","description":"Data source the values come from"},"variance":{"type":["number","null"],"description":"Variance of the distribution"},"p_at_most_k":{"type":["number","null"],"description":"P at most k"},"p_exactly_k":{"type":["number","null"],"description":"P exactly k"},"distribution":{"type":"string","description":"Distribution used: binomial, poisson or normal"},"p_at_least_k":{"type":["number","null"],"description":"P at least k"},"p_more_than_k":{"type":["number","null"],"description":"P more than k"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w-BgonJPePZxYJ8Xvqc-V","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes binomial, Poisson, and normal distribution probabilities including exact, cumulative, range, z-score, and quantile calculations given distribution parameters","exampleAgentPrompt":"What's the probability of getting exactly 3 heads in 10 coin flips, where each flip has a 0.5 chance of heads? Use a binomial distribution and give me the exact, at-most, and at-least probabilities.","exampleUseCases":[{"title":"Quality control defect rate check","prompt":"In a batch of 50 manufactured parts where each part has a 4% defect probability, what's the probability that exactly 2 parts are defective, and what's the chance of getting 2 or fewer defective parts? Use a binomial distribution."},{"title":"Call center arrival modeling","prompt":"Our call center receives an average of 8 calls per hour. Using a Poisson distribution with mean 8, what's the probability of receiving exactly 10 calls in an hour, and at least 10 calls?"},{"title":"Exam score threshold analysis","prompt":"Student exam scores follow a normal distribution with a mean of 72 and standard deviation of 9. What's the probability that a randomly selected student scored above 85? Give me P(X >= 85) for a normal distribution."}],"resultDescription":"Returns a JSON object with the distribution name, mean, variance, standard deviation, mode, and four cumulative/exact probability values: P(exactly k), P(at most k), P(at least k), P(more than k). Also includes the input k and n values, a source label, and an explanatory note for interpreting the results.","failureModes":["Missing required query parameters (dist, n, p, k) returns an error","Invalid distribution type string (not 'binomial', 'poisson', or 'normal') causes a failure","Out-of-range probability value for p (not between 0 and 1) may produce errors","Non-integer or negative k or n values may cause computation errors","Network or payment (x402) failures result in no response"],"whenToPreferThis":"Choose this endpoint when you need precise statistical probability calculations for binomial, Poisson, or normal distributions — including cumulative (CDF), exact (PMF/PDF), and tail probabilities — without needing to run local math libraries. Ideal for agents performing quality control analysis, risk assessment, hypothesis testing setup, or educational statistics tasks that require on-demand, accurate probability values at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:58:40.716Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-probability-distributions-ead85f25"}