zipfpeVariance {zipfextR}R Documentation

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})

Details

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

Value

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

See Also

zipfpeMoments, zipfpeMean.

Examples

zipfpeVariance(3.5, 1.3)

[Package zipfextR version 1.0.2 Index]