Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double StudentCDFInv(double p, int Nu); | Student's t distribution inverse CDF (quantile / point percent function, PPF). |
| 2 | void StudentCDFInv(TDenseMtxVec *P, int Nu, TDenseMtxVec *Res); | Student(T) distribution PPF (vectorized). |
Overload 1: double StudentCDFInv(double p, int Nu);
Student's t distribution inverse CDF (quantile / point percent function, PPF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | p | double | Probability, real value on the closed interval [0,1]. |
| 2 | Nu | int | Degrees of freedom, integer >= 1. |
Returns: the value x with StudentCDF(x,Nu)=p with Nu degrees of freedom. Returns NAN when Nu < 1, p < 0 or p > 1; returns -INF at p=0 and +INF at p=1.
Remarks:
Computes the inverse of the Student's t CDF (the quantile function)
inverse CDF(p| nu) = F^(-1)(p| nu ) , p(x)=CDF(x|nu)
via the beta quantile (and tan(pi(p-1/2)) for nu=1). The quantile is symmetric: F^(-1)(p)=-F^(-1)(1-p). Domain: p in [0,1], integer nu >= 1. Behaviour: returns -inf at p=0 and +inf at p=1; for nu < 1 or p not in [0,1] returns NAN.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void StudentCDFInv(TDenseMtxVec *P, int Nu, TDenseMtxVec *Res);
Student(T) distribution PPF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | P | TDenseMtxVec * | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 2 | Nu | int | Defines distribution degrees of freedom, positive integer. |
| 3 | Res | TDenseMtxVec * | After calculation stores the PPF calculated from P and Nz. 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