The OpenD Programming Language

betaProportionInvCDF

Computes the beta proportion inverse cumulative distribution function (InvCDF).

@safe pure nothrow @nogc
T
betaProportionInvCDF
(
T
)
(
const T p
,
const T mu
,
const T kappa
)
if (
isFloatingPoint!T
)

Parameters

p T

value to evaluate InvCDF

mu T

shape parameter #1

kappa T

shape parameter #2

Examples

import mir.math.common: approxEqual;

assert(0.5.betaProportionInvCDF(0.5, 2).approxEqual(0.5));
assert(0.9375.betaProportionInvCDF((1.0 / 3), 3).approxEqual(0.75));
assert(0.8588867.betaProportionInvCDF((1.0 / 9), 4.5).approxEqual(0.25));

See Also

Beta Proportion Distribution, $(DISTREF beta, betaInvCDF)

Meta