Advanced Analysis Library Only
AnalysisLibErrType InvF_Dist (double probabilityF, int nDegreesOfFreedom, int mDegreesOfFreedom, double *f);
Calculates f, given a probability (0
p < 1), such that:
prob(F < f) = p
where F is a random variable from an F-distribution with the specified degrees of freedom.
![]() |
Note When p = 0, f = 0. |
double p, f;
n, m;
p = 0.635;
n = 2;
m = 4;
InvF_Dist (p, n, m, &f);
| Input | ||
| Name | Type | Description |
| probabilityF | double-precision | Input probability value (0 p < 1). |
| nDegreesOfFreedom | integer | The first degree of freedom for the F-distribution. |
| mDegreesOfFreedom | integer | The second degree of freedom for the F-distribution. |
| Output | ||
| Name | Type | Description |
| f | double-precision | The unique number f such that prob(F < f) = p, where F is a random variable from an F-distribution with the specified degrees of freedom. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |