Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void FPDF(TDenseMtxVec X, Int32 Nu1, Int32 Nu2, TDenseMtxVec Res) | Fisher(F) PDF (vectorized). |
| 2 | Double FPDF(Double x, Int32 Nu1, Int32 Nu2) | F (Fisher-Snedecor) probability density function (PDF). |
Overload 1: void FPDF(TDenseMtxVec X, Int32 Nu1, Int32 Nu2, TDenseMtxVec Res)
Fisher(F) PDF (vectorized).
| # | Name | Description |
|---|---|---|
| 1 | X | Defines distribution domain, real vector or matrix with positive real values or zeros. |
| 2 | Nu1 | Defines distribution degrees of freedom. Nu1 must be a positive integer. |
| 3 | Nu2 | Defines distribution degrees of freedom. Nu2 must be a positive integer. |
| 4 | Res | After calculation stores the PDF calculated from X, Nu1 and Nu2. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X. |
Result: stored in self (calling object)
Overload 2: Double FPDF(Double x, Int32 Nu1, Int32 Nu2)
F (Fisher-Snedecor) probability density function (PDF).
| # | Name | Description |
|---|---|---|
| 1 | x | Distribution domain, real value >= 0. |
| 2 | Nu1 | Numerator degrees of freedom, integer > 0. |
| 3 | Nu2 | Denominator degrees of freedom, integer > 0. |
Returns: Double - the F probability density function (PDF) at x for degrees of freedom Nu1 and Nu2. Returns NAN when Nu1 <= 0, Nu2 <= 0 or x < 0.
Computes the F PDF
PDF(x|nu _1 , nu _2 )= 1/(B(nu_1/2,nu_2/2)) ((nu _1)/(nu _2))^(nu _1 /2)(x^((nu _1 -2)/2))/([ 1+ (nu _1)/(nu _2)x ]^((nu _1 + nu _2)/2))
where nu_1 (Nu1), nu_2 (Nu2) are the degrees of freedom and B is the Dew.Math.Units.Probabilities.Beta function. An F variable is the ratio of two independent chi-squared variables each divided by its degrees of freedom. Domain: x >= 0, integer nu_1,nu_2 > 0. If either parameter is <= 0 or x < 0 the result is NAN. A scalar form (this one) and a vectorized Dew.Math.TDenseMtxVec overload are provided.