pareto2 | R Documentation |
Density, distribution function, and quantile function for Pareto (type 2) distribution.
dpareto2(x, shape = 1, scale = 1, log = FALSE)
ppareto2(q, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)
qpareto2(p, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)
rpareto2(n, shape = 1, scale = 1)
x, q |
A numeric vector of quantiles. |
shape |
A numeric value of shape parameter. |
scale |
A numeric value of scale parameter. |
log, log.p |
A logical; if TRUE, the probability p is given as log(p). |
lower.tail |
A logical; if TRUE, the probability is P[X <= x], otherwise, P[X > x]. |
p |
A numeric vector of probabilities. |
The Pareto type 2 distribution has the cumulative distribution function F(q) = 1 - (scale / (q + scale))^shape
'dpareto2' gives the desity, 'ppareto2' gives the distribution, 'qpareto2' gives the quantile function and 'rpareto2' generate samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.