{"uid":"cap_rNs7inRHhv_5veEdMr7he","slug":"statistical-distribution-calculator-pdf-cdf-quantile-6ad1dbf3","name":"Statistical Distribution Calculator (PDF, CDF, Quantile)","description":"Probability density or mass, cumulative probability and quantiles for normal, binomial, Poisson and Student t distributions.","url":"https://math-stats.x402tookit.com/distribution?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"],"properties":{"n":{"type":"number","description":"Binomial trials"},"p":{"type":"number","description":"Probability for a quantile (normal and t only), 0 to 1"},"x":{"type":"number","description":"Value (k for binomial and poisson)"},"df":{"type":"number","description":"t degrees of freedom"},"sd":{"type":"number","description":"Normal standard deviation (default 1)"},"dist":{"type":"string","description":"normal, binomial, poisson or t"},"mean":{"type":"number","description":"Normal mean (default 0)"},"prob":{"type":"number","description":"Binomial success probability"},"lambda":{"type":"number","description":"Poisson rate"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"x":{"type":["null","number"]},"cdf":{"type":["null","number"]},"pdf":{"type":["null","number"]},"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"zScore":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"survival":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"parameters":{"type":["null","object"],"properties":{"sd":{"type":["null","number"]},"mean":{"type":["null","number"]}}},"distribution":{"type":["null","string"]},"twoSidedTailProbability":{"type":["null","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_EmQK38EsLYVDlKuTw9Iw3","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":"Computes probability density/mass, cumulative probability, survival probability, and quantiles for normal, binomial, Poisson, and Student t distributions.","exampleAgentPrompt":"What's the cumulative probability and survival probability for a normal distribution with mean 0 and standard deviation 1 at x = 1.96, and also give me the two-sided tail probability?","exampleUseCases":[{"title":"Check statistical significance of a z-score","prompt":"I got a z-score of 2.33 from my experiment — what's the two-sided tail probability under the standard normal distribution? Is it below 0.05?"},{"title":"Binomial quality control threshold","prompt":"In a batch of 50 items where each has a 10% defect rate, what's the probability of getting exactly 8 or fewer defects? Use a binomial distribution with n=50 and p=0.1."},{"title":"Student t critical value for small sample","prompt":"What's the 97.5th percentile quantile of a t distribution with 15 degrees of freedom? I need the critical value for a two-sided 95% confidence interval."}],"resultDescription":"Returns a JSON object containing the input x value, PDF (probability density or mass), CDF (cumulative probability), survival probability (1 - CDF), z-score (for normal), two-sided tail probability, distribution name, parameters used, and a plain-English summary. Some fields may be null depending on the distribution and query type.","failureModes":["Missing required 'dist' parameter returns an error","Specifying 'binomial' without both 'n' and 'prob' causes a validation failure","Specifying 't' without 'df' causes a missing-parameter error","Requesting a quantile (using 'p') on binomial or Poisson (unsupported) may return null or error","Providing out-of-range values (e.g., p outside [0,1], negative lambda) returns an error","Omitting both 'x' and 'p' when one is required results in incomplete or null output"],"whenToPreferThis":"Choose this endpoint when you need precise statistical distribution values — PDF, CDF, quantile, or survival probability — for normal, binomial, Poisson, or Student t distributions without setting up a local math library. Ideal for hypothesis testing support, confidence interval critical values, or computing tail probabilities in automated statistical workflows. Prefer over general-purpose code execution when a lightweight, pay-per-call API call is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:14:27.277Z","isFirstParty":false,"canonicalSlug":"statistical-distribution-calculator-pdf-cdf-quantile-6ad1dbf3"}