Uniform Discrete |
The discrete uniform distribution is a probability distribution whereby a finite number of equally spaced values are equally likely to be observed; every one of n values has equal probability 1/n. Another way of saying "discrete uniform distribution" would be "a known, finite number of equally spaced outcomes equally likely to happen."
This topic contains the following sections:
Constructor | Description | Performance |
---|---|---|
set inclusive bounds | Creates new instance of discrete uniform distribution with user specified parameters. | |
default bounds | Creates new instance of discrete univariate uniform distribution with discrete settings [Int32.MinValue, Int32.MaxValue - 1]. |
Method | Description | Performance |
---|---|---|
sample | Generate random variable sample. Fill in array with random variable series in place: Static method which generates new sample of uniform discrete distribution variate with specified bounds: | |
pmf | Probability mass function. Static probability mass function. | |
cdf | Cumulative distribution function. Static cumulative distribution function. | |
inverse cdf | Inverse cumulative distribution function. Is useful for quantile calculation. Function will return value of random variable such that likelihood for this random variable to occur less than or equal to returned value equal to specified pvalue parameter. |
Property | Description | Performance |
---|---|---|
left bound | Left bound of distribution interval. | |
right bound | Right bound of distribution interval. | |
mean | Mean of the distribution. | |
median | Median of distribution. | |
kurtosis | Excess Kurtosis of distribution. | |
skewness | Skewness of distribution. | |
entropy | Entropy of distribution. | |
variance | Variance of the distribution. |