number of observations. If length(n) > 1, the length
is taken to be the number required.
shape
shape parameter.
scale, kappa
scale parameters.
log, log.p
logical; if TRUE, probabilities p are given as log(p).
lower.tail
logical; if TRUE (default), probabilities are
P[X ≤ x], otherwise, P[X > x].
Details
The Tsallis distribution is defined by the following density
f(x) = 1/κ(1-(1-q)x/κ)^{1/(1-q)}
for all x.
It is convenient to introduce a re-parameterization
shape = -1/(1-q), scale = shape*κ
which makes the relationship to the Pareto clearer, and eases estimation.
If we have both shape/scale and q/kappa parameters, the latter over-ride.
Value
dtsal gives the density,
ptsal gives the distribution function,
qtsal gives the quantile function, and
rtsal generates random deviates.
tsal.mean computes the expected value.
The length of the result is determined by n for
rtsal, and is the maximum of the lengths of the
numerical parameters for the other functions.
Author(s)
Cosma Shalizi (original R code),
Christophe Dutang (R packaging)