The OpenD Programming Language

paretoCCDF

Computes the pareto complementary cumulative distribution function (CCDF).

@safe pure nothrow @nogc
T
paretoCCDF
(
T
)
(
const T x
,
const T xMin
,
const T alpha
)
if (
isFloatingPoint!T
)

Parameters

x T

value to evaluate CCDF

xMin T

scale parameter

alpha T

shape parameter

Examples

import mir.test: shouldApprox;

1.0.paretoCCDF(1, 3).shouldApprox == 1;
2.0.paretoCCDF(1, 3).shouldApprox == 0.125;
3.0.paretoCCDF(2, 4).shouldApprox == 0.1975309;

See Also

Meta