Probabilities::StudentCDFInv Function

Overload List

#SignatureDescription
1double StudentCDFInv(double p, int Nu);Student's t distribution inverse CDF (quantile / point percent function, PPF).
2void 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).

#NameTypeDescription
1pdoubleProbability, real value on the closed interval [0,1].
2NuintDegrees 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.

See Also: Probabilities::StudentPDF, Probabilities::StudentCDF
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).

#NameTypeDescription
1PTDenseMtxVec *Defines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2NuintDefines distribution degrees of freedom, positive integer.
3ResTDenseMtxVec *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