Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double PowerCDFInv(double p, double alpha, double beta); | Power distribution point percent function (PPF). |
| 2 | void 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).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | p | double | Probability, real value on closed interval [0,1]. |
| 2 | alpha | double | Distribution shape parameter, real positive value. |
| 3 | beta | double | Distribution 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).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | P | TDenseMtxVec * | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 2 | alpha | double | Distribution shape parameter, real positive value.. |
| 3 | beta | double | Distribution scale parameter, positive real number. |
| 4 | Res | TDenseMtxVec * | 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