The unit Pareto Distribution
Density function, distribution function, quantile function, random generation.
dupareto(x, log = FALSE) pupareto(q, lower.tail=TRUE, log.p = FALSE) qupareto(p, lower.tail=TRUE, log.p = FALSE) rupareto(n)
x, q
: vector of quantiles.p
: vector of probabilities.n
: number of observations. If length(n) > 1
, the length is taken to be the number required.log, log.p
: logical; if TRUE, probabilities p are given as log(p).lower.tail
: logical; if TRUE (default), probabilities are , otherwise, .The extended Pareto distribution is defined by the following density and distribution function
for all .
dupareto
gives the density, pupareto
gives the distribution function, qupareto
gives the quantile function, and rupareto
generates random deviates.
The length of the result is determined by n
for rupareto
, 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.
Johnson, N.L., Kotz, S. and Balakrishnan, N. (2000), Continuous Univariate Distributions, Volume 1, Second Edition, John Wiley and Sons.
Christophe Dutang
##### # (1) density function x <- seq(0, 5, length=24) cbind(x, dupareto(x)) ##### # (2) distribution function cbind(x, pupareto(x))
Useful links