discreteProbabilityDistribution f
To construct a discrete probability distribution, provide the probability mass function and, if different than the default of \([0, \infty\]), the support.
|
|
Non-integers and values outside the support are automatically sent to 0.
|
|
The cumulative distribution, quantile, and random generation functions are set to defaults based on the probability mass function.
|
|
|
However, if possible, it is good to provide these directly to improve performance. A description may also be provided.
|
The object discreteProbabilityDistribution is a method function with options.