double fratiov(double p, double v1, double v2);
Returns the critical point of the F-ratio random variable distribution function with v1 degrees of freedom numerator and v2 degrees of freedom denomenator associatied with probability p.
Parameters:
p | Cummulative probability for the critical point. |
---|---|
v1 | Numerator degrees of freedom. |
v2 | Denominator degrees of freedom. |
Returns:
x such that P(X ≤ x | v1, v2) = p
Errors:
NUMERICS_ERROR
is raised if v1 ≤ 0, v2 ≤ 0, p ≤ 0, or p ≥
Usage:
double x = fratiov(.5, 1.5, 2.75)
Header:
#include "normdist.h"