double fratiop(double x, double v1, double v2);
Returns the value of the F-ratio random variable distribution function with v1 degrees of freedom numerator and v2 degrees of freedom denomenator at the value f.
Parameters:
x | Critical point. |
---|---|
v1 | Numerator degrees of freedom. |
v2 | Denominator degrees of freedom. |
Returns:
P(X ≤ x | v1, v2)
Errors:
NUMERICS_ERROR
is raised if v1 ≤ 0 or v2 ≤ 0
Usage:
double p = fratiop(.5, 1.5, 2.75)
Header:
#include "normdist.h"