Learn R Programming

zipfextR (version 1.0.2)

zipfpeVariance: Variance of the Zipf-PE distribution.

Description

Computes the variance of the Zipf-PE distribution for given values of \(\alpha\) and \(\beta\).

Usage

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

Arguments

alpha

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

beta

Value of the \(\beta\) parameter (\(\beta \in (-\infty, +\infty)\)).

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

zipfpeMoments, zipfpeMean.

Examples

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

Run the code above in your browser using DataLab