Pareto functions in the Stochastic DuckDB extension
Function category
Pareto
21 functionsPareto distribution — power-law tail with scale and shape. Wealth, file sizes, internet traffic; the 80/20 rule.
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_cdf(1.0, 3.0, 1.5);
Output
| dist_pareto_cdf(1.0, 3.0, 1.5) |
|---|
| 0.7037037037037037 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_cdf_complement(1.0, 3.0, 1.5);
Output
| dist_pareto_cdf_complement(1.0, 3.0, 1.5) |
|---|
| 0.2962962962962962 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_chf(1.0, 3.0, 1.5);
Output
| dist_pareto_chf(1.0, 3.0, 1.5) |
|---|
| 1.2163953243244934 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_hazard(1.0, 3.0, 1.5);
Output
| dist_pareto_hazard(1.0, 3.0, 1.5) |
|---|
| 2.0000000000000004 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_kurtosis(1.0, 5.0);
Output
| dist_pareto_kurtosis(1.0, 5.0) |
|---|
| 73.8 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_kurtosis_excess(1.0, 5.0);
Output
| dist_pareto_kurtosis_excess(1.0, 5.0) |
|---|
| 70.8 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_log_cdf(1.0, 3.0, 1.5);
Output
| dist_pareto_log_cdf(1.0, 3.0, 1.5) |
|---|
| -0.35139788683788853 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_log_cdf_complement(1.0, 3.0, 1.5);
Output
| dist_pareto_log_cdf_complement(1.0, 3.0, 1.5) |
|---|
| -1.2163953243244934 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_log_pdf(1.0, 3.0, 1.5);
Output
| dist_pareto_log_pdf(1.0, 3.0, 1.5) |
|---|
| -0.5232481437645479 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_mean(1.0, 3.0);
Output
| dist_pareto_mean(1.0, 3.0) |
|---|
| 1.5 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_median(1.0, 3.0);
Output
| dist_pareto_median(1.0, 3.0) |
|---|
| 1.2599210498948732 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_mode(1.0, 3.0);
Output
| dist_pareto_mode(1.0, 3.0) |
|---|
| 1.0 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
x
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_pdf(1.0, 3.0, 1.5);
Output
| dist_pareto_pdf(1.0, 3.0, 1.5) |
|---|
| 0.5925925925925926 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
p
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_quantile(1.0, 3.0, 0.95);
Output
| dist_pareto_quantile(1.0, 3.0, 0.95) |
|---|
| 2.714417616594906 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
p
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_quantile_complement(1.0, 3.0, 0.05);
Output
| dist_pareto_quantile_complement(1.0, 3.0, 0.05) |
|---|
| 2.7144176165949063 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_range(1.0, 3.0);
Output
| dist_pareto_range(1.0, 3.0) |
|---|
| [0.0, 1.7976931348623157e+308] |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_sample(1.0, 3.0);
Related functions
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_skewness(1.0, 5.0);
Output
| dist_pareto_skewness(1.0, 5.0) |
|---|
| 4.6475800154489 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_stddev(1.0, 5.0);
Output
| dist_pareto_stddev(1.0, 5.0) |
|---|
| 0.3227486121839514 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_support(1.0, 3.0);
Output
| dist_pareto_support(1.0, 3.0) |
|---|
| [1.0, 1.7976931348623157e+308] |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite
Signature
Arguments (Positional)
| Argument | Type | Mode | Description |
|---|---|---|---|
Argument
scale
|
Type
DOUBLE
|
Mode Positional | Description |
Argument
shape
|
Type
DOUBLE
|
Mode Positional | Description |
Description
Positional arguments are (scale, shape), both positive and finite. The v1.5 source fix dated October 7, 2026 corrects the older misleading [shape, minimum] parameter labels without changing the runtime order.
SELECT dist_pareto_variance(1.0, 5.0);
Output
| dist_pareto_variance(1.0, 5.0) |
|---|
| 0.10416666666666667 |
Related functions
- dist_pareto_sample() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_pdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_cdf() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_quantile() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_mean() — Positional arguments are `(scale, shape)`, both positive and finite
- dist_pareto_stddev() — Positional arguments are `(scale, shape)`, both positive and finite