Click or drag to resize

Discrete Univariate

A discrete univariate distribution is a probability distribution of a single variable characterized by a probability mass function. Thus, the distribution of a random variable X is discrete, and X is then called a discrete random variable, if

DDiscrete Univ

as u runs through the set of all possible values of X. It follows that such a random variable can assume only a finite or countably infinite number of values.

Among the most well-known discrete probability distributions that are used for statistical modeling are:

This topic contains the following sections:

Methods

An abstract class DUDistribution represents base discrete univariate distribution.

All subclasses inherit from this class the following methods:

Method

Description

Performance

sample

Generates random variable sample.

methodSample

Fills in array with random variable series.

In place:

methodSample

Returning result:

methodSample

pmf

Probability mass function.

DPmf

methodPmf(Int32)

cdf

Cumulative distribution function.

DCdf

methodCdf(Int32)

inverse cdf

Inverse cumulative distribution function.

DInv Cdf

Is useful for quantile generation. Function will return random variable value such that probability that distribution sample will get value less than or equal to returned value is equal to specified probability. Note. In case of a custom distribution inherited from DUDistribution handle special cases pvalue = 0 and pvalue = 1 separately if results Int32.MinValue and Int32.MaxValue respectively are not expected ones.

methodInverseCdf(Double)

Properties

All subclasses inherit from this class the following properties:

Property

Description

Performance

mean

Mean of the distribution.

PropertyMean

median

Median is the numerical value separating the higher half of a probability distribution, from the lower half.

PropertyMedian

mode

The value that occurs most frequently in a probability distribution.

PropertyMode

kurtosis

A measure of the "peakedness" of the probability distribution of a real-valued random variable.

DKurtosis

PropertyKurtosis

skewness

A measure of the asymmetry of the probability distribution.

DSkewness

PropertySkewness

entropy

A measure of the uncertainty associated with a random variable.

DEntropy

PropertyEntropy

variance

A measure of how far a set of numbers are spread out from each other.

DVariance

PropertyVariance

standard deviation

A measure of variability or diversity.

DStd Dev

PropertyStandardDeviation

See Also