ProbabilityDistribution
A distribution given directly by its density , over (continuous) or (discrete, step size 1).
ProbabilityDistribution(pdf, {x, min, max})continuous, density pdf(x) over [min, max].ProbabilityDistribution(pdf, {x, min, max, 1})discrete, mass pdf(x) over {min, ..., max} — step size pinned to 1.Typed signatures
| Type | Package | Applies |
|---|---|---|
(any, list<any>) -> distribution | statistics | always |
Details
- is used AS WRITTEN, not renormalized — same as Wolfram's own
ProbabilityDistribution, which does not renormalize itspdfargument either; it is the caller's responsibility that it already integrates/sums to 1. - (substitution) inside , outside.
- // go through compute-engine's own native
Integrate(continuous) orSum(discrete): exact whenever those resolve to a closed form, and left UNEVALUATED (not approximated) when they don't — numeric approximation still reaches them throughN, same as everywhere else in this package. - An arbitrary discrete step size (other than 1) is out of scope for this head.
Examples
About
| Examples | 8 |
|---|
See also: HistogramDistribution, PDF, CDF, Mean