Click or drag to resize

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

Constructor

Description

Performance

set inclusive bounds

Creates new instance of discrete uniform distribution with user specified parameters.

methodUniformDiscrete(Int32, Int32)

default bounds

Creates new instance of discrete univariate uniform distribution with discrete settings [Int32.MinValue, Int32.MaxValue - 1].

methodUniformDiscrete

Methods

Method

Description

Performance

sample

Generate random variable sample.

methodSample

Fill in array with random variable series in place:

methodSample(Int32)

Static method which generates new sample of uniform discrete distribution variate with specified bounds:

StaticSample(Int32, Int32)

pmf

Probability mass function.

DUniform Discrete Pmf

methodPmf(Int32)

Static probability mass function.

StaticPmf(Int32, Int32, Int32)

cdf

Cumulative distribution function.

DUniform Discrete Cdf

methodCdf(Int32)

Static cumulative distribution function.

StaticCdf(Int32, Int32, Int32)

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.

StaticInverseCdf(Double, Int32, Int32)

Properties

Property

Description

Performance

left bound

Left bound of distribution interval.

PropertyLeftBound

right bound

Right bound of distribution interval.

PropertyRightBound

mean

Mean of the distribution.

DUniform Discrete Mean

PropertyMean

median

Median of distribution.

DUniform Discrete Mean

PropertyMedian

kurtosis

Excess Kurtosis of distribution.

DUniform Discrete Kurtosis

PropertyKurtosis

skewness

Skewness of distribution.

DUniform Discrete Skewness

PropertySkewness

entropy

Entropy of distribution.

DUniform Discrete Entropy

PropertyEntropy

variance

Variance of the distribution.

DUniform Discrete Variance

PropertyVariance