Click or drag to resize

Geometric

Discrete univariate (shifted) geometric distribution is the probability distribution of the number X of Bernoulli trials needed to get one success, supported on the set { 1, 2, 3, ...}.

It’s the probability that the first occurrence of success require k number of independent trials, each with success probability p. If the probability of success on each trial is p, then the probability that the k'th trial (out of k trials) is the first success is

DGeometric

for k = 1, 2, 3, ....

This topic contains the following sections:

Constructor

Constructor

Description

Performance

set success probability

Creates new instance of Geometric with user specified success probability.

methodGeometric(Double)

Methods

Method

Description

Performance

pmf

Probability mass function.

DGeometric Pmf

methodPmf(Int32)

Static probability mass function.

StaticPmf(Int32, Double)

cdf

Cumulative distribution function.

DGeometric Cdf

methodCdf(Int32)

Static cumulative distribution function.

StaticCdf(Int32, 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.

StaticInverseCdf(Double, Double)

Properties

Property

Description

Performance

success probability

Success probability in each trial p.

PropertySuccessProbability

mean

Mean of the distribution.

DGeom Mean

PropertyMean

median

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

DGeom Median

PropertyMedian

mode

Mode of distribution.

DGeom Mode

PropertyMode

kurtosis

Excess Kurtosis of distribution.

DGeom Kurtosis

PropertyKurtosis

skewness

Skewness of distribution.

DGeom Skewness

PropertySkewness

entropy

Entropy of the distribution.

DGeom Entropy

PropertyEntropy

variance

Variance of the distribution.

DGeom Variance

PropertyVariance