zipfpolylogMean {zipfextR}R Documentation

Expected value of the ZipfPolylog distribution.

Description

Computes the expected value of the ZipfPolylog distribution for given values of parameters α\alpha and β\beta.

Usage

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

Arguments

alpha

Value of the α\alpha parameter (α>2\alpha > 2).

beta

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

tolerance

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

Value

A positive real value corresponding to the mean value of the ZipfPolylog distribution.

Examples

zipfpolylogMean(0.5, 0.8)
zipfpolylogMean(2.5, 0.8, 10^(-3))

[Package zipfextR version 1.0.2 Index]