Spol: Survival function of Zipf-polylog distribution

View source: R/RcppExports.R

SpolR Documentation

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, xmax = 100000L)

Arguments

x

Vector of positive integers

alpha

Real number greater than 1

theta

Real number in (0, 1]

xmax

Scalar (default 100000), positive integer limit for computing the normalising constant

Value

A numeric vector of the same length as x

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.

Examples

Spol(c(1,2,3,4,5), 1.2, 0.5)

crandep documentation built on Nov. 22, 2023, 1:08 a.m.