Probabilities::PowerCDFInv Function

Overload List

#SignatureDescription
1double PowerCDFInv(double p, double alpha, double beta);Power distribution point percent function (PPF).
2void PowerCDFInv(TDenseMtxVec *P, double alpha, double beta, TDenseMtxVec *Res);Power distribution PPF (vectorized).

Overload 1: double PowerCDFInv(double p, double alpha, double beta);

Power distribution point percent function (PPF).

#NameTypeDescription
1pdoubleProbability, real value on closed interval [0,1].
2alphadoubleDistribution shape parameter, real positive value.
3betadoubleDistribution scale parameter, positive real value.

Returns: the Power distribution point percent function (PPF) for probability p using the parameters alpha and beta. p must lie in [0,1] and alpha, beta must be positive, otherwise the result is NAN.

Remarks:

The inverse power-function cumulative distribution function (quantile) is

CDF^(-1)(p| alpha,beta)=1/beta exp((ln p)/alpha)=(p^(1/alpha))/beta

Domain: probability p in [0,1], alpha > 0, beta > 0; p = 0 maps to 0. For p < 0, p > 1, or non-positive alpha or beta the result is NAN.

See Also: Probabilities::PowerPDF, Probabilities::PowerCDF
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler

Overload 2: void PowerCDFInv(TDenseMtxVec *P, double alpha, double beta, TDenseMtxVec *Res);

Power distribution PPF (vectorized).

#NameTypeDescription
1PTDenseMtxVec *Defines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2alphadoubleDistribution shape parameter, real positive value..
3betadoubleDistribution scale parameter, positive real number.
4ResTDenseMtxVec *After calculation stores the PPF calculated from P, alpha and beta. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of P.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler