Click or drag to resize

Uniform

The continuous uniform distribution or rectangular distribution is a family of probability distributions such that for each member of the family, all intervals of the same length on the distribution's support are equally probable.

The support is defined by the two parameters, a and b, which are its minimum and maximum values. The distribution is often abbreviated U(a,b). It is the maximum entropy probability distribution for a random variate X under no constraint other than that it is contained in the distribution's support.

This topic contains the following sections:

Constructor

Constructor

Description

Performance

set bounds

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

methodUniform(Double, Double)

Methods

Method

Description

Performance

sample

Generate random variable sample.

methodSample

Fill in array with random variable series in place:

methodSample(Double)

Static method which generates new sample of Uniform distribution variate with specified parameters:

StaticSample(Double, Double)

pdf

Probability density function.

DUniform Pdf

methodPdf(Double)

Static probability density function.

StaticPdf(Double, Double, Double)

cdf

Cumulative distribution function.

DUniform Cdf

methodCdf(Double)

Static cumulative distribution function.

StaticCdf(Double, Double, Double)

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.

methodInverseCdf(Double)

StaticInverseCdf(Double, Double, Double)

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 Mean

PropertyMean

median

Median of the distribution.

DUniform Mean

PropertyMedian

mode

Mode of distribution.

DUniform Mode

PropertyMode

kurtosis

Excess Kurtosis of distribution.

DUniform Kurtosis

PropertyKurtosis

skewness

Skewness of distribution.

DUniform Skewness

PropertySkewness

entropy

Entropy of distribution.

DUniform Entropy

PropertyEntropy

variance

Variance of the distribution.

DUniform Variance

PropertyVariance