number of observations. If length(n) > 1, the length
is taken to be the number required.
shape
shape parameter.
xmin
lower bound parameter.
log, log.p
logical; if TRUE, probabilities p are given as log(p).
lower.tail
logical; if TRUE (default), probabilities are
\(P[X \le x]\), otherwise, \(P[X > x]\).
Value
dfrechet, dufrechet give the density,
pfrechet, pufrechet give the distribution function,
qfrechet, qufrechet give the quantile function, and
rfrechet, rufrechet generate random deviates.
The length of the result is determined by n for
rfrechet, rufrechet, and is the maximum of the lengths of the
numerical parameters for the other functions.
The numerical parameters other than n are recycled to the
length of the result. Only the first elements of the logical
parameters are used.
Details
The Frechet distribution is defined by the following density
$$
f(x) = shape * (x - xmin)^{(-shape-1)} * exp(-(x - xmin)^{(-shape)})
$$
for all \(x>xmin\).
The unit Frechet distribution corresponds to xmin=0 and
shape=1.
References
Kotz, S. and Nadarajah, S. (2000),
Extreme Value Distributions: Theory and Applications,
Imperial College Press.
Beirlant, J., Goegebeur, Y., Teugels, J., Segers (2004),
Statistics of Extremes: Theory and Applications,
John Wiley and Sons.