Spol: Survival function of Zipf-polylog distribution
Description
Spol returns the survival function at x for the Zipf-polylog distribution with parameters (alpha, theta). The distribution is reduced to the discrete power law when theta = 1.
Usage
Spol(x, alpha, theta, x_max = 100000L)
Value
A numeric vector of the same length as x
Arguments
x
Vector of positive integers
alpha
Real number greater than 1
theta
Real number in (0, 1]
x_max
Scalar (default 100000), positive integer limit for computing the normalising constant
See Also
dpol for the corresponding probability mass function, Smix2 and Smix3 for the survival functions of the 2-component and 3-component discrete extreme value mixture distributions, respectively.