| Pareto-class {RobExtremes} | R Documentation |
Pareto distribution
Description
[borrowed from actuar]:
The (Single-parameter) Pareto distribution with parameter shape
= \alpha has density:
f(x) = \frac{\alpha \theta^\alpha}{x^{\alpha + 1}}
for x > \theta, \alpha > 0 and \theta >
0.
Although there appears to be two parameters, only shape is a true
parameter. The value of min = \theta must be set in
advance.
Objects from the Class
Objects can be created by calls of the form new("Pareto", shape, Min).
More frequently they are created via the generating function
Pareto.
Slots
imgObject of class
"Reals".paramObject of class
"ParetoParameter".rrpareto1ddpareto1pppareto1qqpareto1gaps(numeric) matrix or
NULL.withArithlogical: used internally to issue warnings as to interpretation of arithmetics
.withSimlogical: used internally to issue warnings as to accuracy
.logExactlogical: used internally to flag the case where there are explicit formulae for the log version of density, cdf, and quantile function
.lowerExactlogical: used internally to flag the case where there are explicit formulae for the lower tail version of cdf and quantile function
Extends
Class "AbscontDistribution", directly.
Class "UnivariateDistribution", by class "AbscontDistribution".
Class "Distribution", by class "AbscontDistribution".
Methods
- initialize
signature(.Object = "Pareto"): initialize method.- shape
signature(object = "Pareto"): wrapped access method for slotshapeof slotparam.- Min
signature(x = "Pareto"): wrapped access method for slotMinof slotparam.- scale
signature(x = "Pareto"): wrapped access method for slotMinof slotparam.- shape<-
signature(object = "Pareto"): wrapped replace method for slotshapeof slotparam.- Min<-
signature(x = "Pareto"): wrapped replace method for slotMinof slotparam.- E
signature(object = "Pareto", fun = "missing", cond = "missing"): exact evaluation using explicit expressions.- var
signature(signature(x = "Pareto"): exact evaluation using explicit expressions.- median
signature(signature(x = "Pareto"): exact evaluation using explicit expressions.- IQR
signature(signature(x = "Pareto"): exact evaluation using explicit expressions.- skewness
signature(signature(x = "Pareto"): exact evaluation using explicit expressions.- kurtosis
signature(signature(x = "Pareto"): exact evaluation using explicit expressions.- *
signature(e1 = "Pareto", e2 = "numeric"): exact method for this transformation — stays within this class ife2>0.- liesInSupport
signature(object = "Pareto", x = "numeric"): checks ifxlies in the support of the respective distribution.
Note
This class is based on the code provided by the package actuar by Vincent Goulet and Mathieu Pigeon.
Author(s)
Nataliya Horbenko nhorbenko@gmail.com
References
Johnson et al. (1995) Continuous Univariate Distributions. Vol. 2. 2nd ed.
New York: Wiley.
Klugman, S. A., Panjer, H. H. and Willmot, G. E. (2004),
Loss Models, From Data to Decisions, Second Edition, Wiley.
See Also
dpareto1, AbscontDistribution-class
Examples
(P1 <- new("Pareto", shape = 1, Min = 2))
plot(P1)
shape(P1)
Min(P1)
shape(P1) <- 4
Min(P1) <- 2
plot(P1)