Learn R Programming

zipfextR (version 1.0.2)

moezipfVariance: Variance of the MOEZipf distribution.

Description

Computes the variance of the MOEZipf distribution for given values of \(\alpha\) and \(\beta\).

Usage

moezipfVariance(alpha, beta, tolerance = 10^(-4))

Arguments

alpha

Value of the \(\alpha\) parameter (\(\alpha > 3\)).

beta

Value of the \(\beta\) parameter (\(\beta > 0\)).

tolerance

Tolerance used in the calculations. (default = \(10^{-4}\))

Value

A positive real value corresponding to the variance of the distribution.

Details

The variance of the distribution only exists for \(\alpha\) strictly greater than 3.

See Also

moezipfMoments, moezipfMean.

Examples

Run this code
# NOT RUN {
moezipfVariance(3.5, 1.3)
# }

Run the code above in your browser using DataLab