rpareto2 {agop} | R Documentation |
Pareto Type-II (Lomax) Distribution
Description
Density, cumulative distribution function,
quantile function, and random generation for the
Pareto Type-II (Lomax)
distribution with shape
parameter and scale parameter
.
[TO DO: rewrite in C, add NA handling]
Usage
rpareto2(n, k = 1, s = 1)
ppareto2(q, k = 1, s = 1, lower.tail = TRUE)
qpareto2(p, k = 1, s = 1, lower.tail = TRUE)
dpareto2(x, k = 1, s = 1)
Arguments
n |
integer; number of observations |
k |
vector of shape parameters, |
s |
vector of scale parameters, |
lower.tail |
logical; if |
p |
vector of probabilities |
x , q |
vector of quantiles |
Details
If ,
then
.
The c.d.f. for
is given by
and the density by
Value
numeric vector;
dpareto2
gives the density,
ppareto2
gives the cumulative distribution function,
qpareto2
calculates the quantile function,
and rpareto2
generates random deviates.
See Also
Other distributions:
rdpareto2()
Other Pareto2:
pareto2_estimate_mle()
,
pareto2_estimate_mmse()
,
pareto2_test_ad()
,
pareto2_test_f()