The OpenD Programming Language

betaProportionCCDF

Computes the beta proportion complementary cumulative distribution function (CCDF).

@safe pure nothrow @nogc
T
betaProportionCCDF
(
T
)
(
const T x
,
const T mu
,
const T kappa
)
if (
isFloatingPoint!T
)

Parameters

x T

value to evaluate CCDF

mu T

shape parameter #1

kappa T

shape parameter #2

Examples

import mir.math.common: approxEqual;

assert(0.5.betaProportionCCDF(0.5, 2).approxEqual(0.5));
assert(0.75.betaProportionCCDF((1.0 / 3), 3).approxEqual(0.0625));
assert(0.25.betaProportionCCDF((1.0 / 9), 4.5).approxEqual(0.1411133));

See Also

Beta Proportion Distribution, $(DISTREF beta, betaCDF)

Meta