# F_Dist

Advanced Analysis Library Only

AnalysisLibErrType F_Dist (double f, int nDegreesOfFreedom, int mDegreesOfFreedom, double *probabilityF);

## Purpose

Calculates the one-sided probability:

p = prob(F f)

where F is a random variable from the F-distribution with the specified degrees of freedom

### Example

double x, p;
int n, m;
x = -123.456;
n = 6;
m = 7;
F_Dist (x, n, m, &p);
/* Now p = 0 because F-distributed variables are non-negative. */

## Parameters

Input
Name | Type | Description
f | double-precision | The point from which the probability is computed. Range: –∞ < f < ∞
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
probabilityF | double-precision | Calculated probability (0 p < 1).

## Return Value

Name | Type | Description
status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants.