Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double BetaCDF(double x, double a, double b); | Beta distribution cumulative distribution function (CDF). |
| 2 | void BetaCDF(TDenseMtxVec *X, double A, double B, TDenseMtxVec *Res); | Beta CDF (vectorized). |
Overload 1: double BetaCDF(double x, double a, double b);
Beta distribution cumulative distribution function (CDF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | double | Function domain, real value on the closed interval [0,1]. |
| 2 | a | double | First shape parameter, real value > 0. |
| 3 | b | double | Second shape parameter, real value > 0. |
Returns: the beta cumulative distribution function (CDF) at x: the probability that an observation from a beta distribution with shape parameters a and b falls in [0,x]. Returns NAN when a <= 0 or b <= 0.
Remarks:
Computes the beta CDF, the regularized incomplete beta function I_x(a,b):
CDF(x|a,b)=1/B(a,b)integral _0 ^x t^(a-1)(1-t)^(b-1) dt = I_x(a,b)
where is the Probabilities::Beta function. Domain: x in [0,1], a > 0, b > 0; the result lies in , is monotone non-decreasing, equals 0 for x <= 0 and 1 for x >= 1. If a <= 0 or b <= 0 the result is NAN.
See Also: Probabilities::BetaPDF, Probabilities::BetaCDFInv
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void BetaCDF(TDenseMtxVec *X, double A, double B, TDenseMtxVec *Res);
Beta CDF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TDenseMtxVec * | Defines distribution domain, real vector or matrix with integer values on open interval (0,1). |
| 2 | A | double | Distribution scale parameter, real positive value. |
| 3 | B | double | Distribution shape parameter, real positive value. |
| 4 | Res | TDenseMtxVec * | After calculation stores the CDF calculated from X, A and B. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X. |
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler