Extra Discrete Distributions
AdditionalDistributions.BetaNegBinomial Type
BetaNegBinomial(r,α,β)A Beta Negative Binomial is the compound distribution of the NegativeBinomial distribution where the probability of success p is distributed according to the Beta. It has three parameters: r, the number of successes number of successes until the experiment is stopped and two shape parameters
BetaNegBinomial() # equivalent to BetaNegBinomial(1, 1, 1)
BetaNegBinomial(r) # equivalent to BetaNegBinomial(r, 1, 1)
BetaNegBinomial(r, α) # equivalent to BetaNegBinomial(r, α, α)
params(d) # Get the parameters, i.e. (r , α, β)
succprob(d) # Get the number of successes, i.e. rExternal links
sourceAdditionalDistributions.Borel Type
Borel(a)A Borel distribution is a discrete probability distribution often used in branching processes and queueing theory. The probability mass function (PMF) of the Borel distribution is given by:
Borel() # equivalent to Borel(0)
params(d) # Get the parameters, i.e. aExternal link:
sourceAdditionalDistributions.Conway Type
Conway(λ, ν)A Conway–Maxwell–Poisson distribution, often used to model overdispersed and underdispersed count data, is defined by the following probability mass function (PMF):
where:
is a normalization constant that ensures the sum of probabilities equals 1.
Conway() # equivalent to Conway(1, 1)
Conway(λ) # equivalent to Conway(λ, 1)
Conway(λ, ν) # equivalent to Conway(λ, ν)
params(d) # Get the parameters, i.e. (λ, ν)External link:
sourceAdditionalDistributions.Delaporte Type
Delaporte(λ,α,β)A Delaporte distribution is a discrete probability distribution that can be viewed as a compound distribution. It combines a Poisson distribution (with mean λ) and a Gamma distribution (with shape parameters α and β). The probability mass function (PMF) of the Delaporte distribution is given by:
Delaporte() # equivalent to Delaporte(1, 1, 1)
Delaporte(λ) # equivalent to Delaporte(λ, 1, 1)
Delaporte(λ, α) # equivalent to Delaporte(r, α, α)
params(d) # Get the parameters, i.e. (λ, α, β)External link:
sourceAdditionalDistributions.FlorySchulz Type
FlorySchulz(a)A Flory-Schulz distribution, commonly used in polymer chemistry to describe the distribution of chain lengths, is defined by the following probability mass function (PMF):
where:
FlorySchulz() # equivalent to FlorySchulz(0.5)
params(d) # Get the parameters, i.e. aExternal link:
sourceAdditionalDistributions.GaussKuzmin Type
GaussKuzmin()A Gauss-Kuzmin distribution is a discrete probability distribution that arises as the limiting distribution of the coefficients in the continued fraction expansion of a random variable uniformly distributed on (0, 1). The probability mass function (PMF) of the Gauss-Kuzmin distribution is given by:
where:
GaussKuzmin() # equivalent to GaussKuzmin()
params(d) # Get the parameters, i.e. noneExternal link:
sourceAdditionalDistributions.Logarithmic Type
Logarithmic(a)A Logarithmic distribution, also known as the log-series distribution, is defined by the following probability mass function (PMF):
where:
Logarithmic() # equivalent to Logarithmic(0.5)
params(d) # Get the parameters, i.e. aExternal link:
sourceAdditionalDistributions.Rademacher Type
Rademacher()A Rademacher distribution is a discrete probability distribution where a random variate
Rademacher() # Rademacher distributionExternal link:
sourceAdditionalDistributions.Yule Type
Yule(a)The Yule distribution is a discrete probability distribution defined by the following probability mass function (PMF):
where:
is a beta function
Yule() # equivalent to Yule(1)
params(d) # Get the parameters, i.e. aExternal link
sourceAdditionalDistributions.Zeta Type
Zeta(s)The Zeta distribution is a discrete probability distribution defined by the following probability mass function (PMF):
Where
Zeta() # equivalent to Zeta(1)
params(d) # Get the parameters, i.e. sExternal link:
*Zeta Distribution on Wikipedia
sourceAdditionalDistributions.ZIB Type
ZIB(n, θ, p)The Zero-Inflated Binomial (ZIB) distribution is a discrete probability distribution that extends the binomial distribution by incorporating an excess of zero counts. The probability mass function (PMF) is defined as:
ZIB() # equivalent to ZIB(1, 0.5, 0.5)
ZIB(n) # equivalent to ZIB(n, 0.5, 0.5)
ZIB(n, θ) # equivalent to ZIB(n, θ, 0.5)
params(d) # Get the parameters, i.e. (n, θ, p)AdditionalDistributions.ZINB Type
ZINB(n, θ, p)The Zero-Inflated Negative Binomial (ZINB) distribution is a discrete probability distribution that combines the negative binomial distribution with an excess of zeros. The probability mass function (PMF) is defined as:
ZINB() # equivalent to ZINB(1, 0.5, 0.5)
ZINB(r) # equivalent to ZINB(r, 0.5, 0.5)
ZINB(r, θ) # equivalent to ZINB(r, θ, 0.5)
params(d) # Get the parameters, i.e. (r, θ, p)AdditionalDistributions.ZIP Type
ZIP(λ, p)The Zero-Inflated Poisson (ZIP) distribution is a discrete probability distribution that models a scenario where there are more zeros in the data than would be expected from a standard Poisson distribution. It is defined by the following probability mass function (PMF):
julia ZIP() # equivalent to ZIP(1, 0.5) ZIP(λ) # equivalent to ZIP(λ, 0.5)
params(d) # Get the parameters, i.e. (λ, p) ```
External link:
*Zero Inflated Poisson (ZIP) distribution on Wikipedia
sourceAdditionalDistributions.Zipf Type
Zipf(N, s)A Zipf distribution ...
Where
Zipf() # equivalent to BetaNegBinomial(1, 1)
Zipf(N) # equivalent to BetaNegBinomial(N, 1)
params(d) # Get the parameters, i.e. (N, s)External link:
*Zipf distribution on Wikipedia
source