ParetoDistribution
class ParetoDistribution(val shape: Double = 1.0, val scale: Double = 1.0) : ContinuousDistribution(source)
The Pareto Type I distribution, defined by its shape (α) and scale (xm) parameters.
The Pareto distribution is a heavy-tailed, right-skewed continuous distribution originally used to model the distribution of wealth. It is widely used in actuarial science, reliability engineering, and modeling phenomena that follow power laws. The distribution has support on [scale, +∞).
Example:
val dist = ParetoDistribution(shape = 2.0, scale = 1.0)
dist.pdf(1.0) // 2.0 (peak density at the scale)
dist.cdf(2.0) // 0.75
dist.quantile(0.5) // 1.4142... (√2)Content copied to clipboard